Explanations of Large Language Models Explain Language Representations in the Brain

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rahimi, Maryam, Yaghoobzadeh, Yadollah, Daliri, Mohammad Reza
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917976476745728
author Rahimi, Maryam
Yaghoobzadeh, Yadollah
Daliri, Mohammad Reza
author_facet Rahimi, Maryam
Yaghoobzadeh, Yadollah
Daliri, Mohammad Reza
contents Large language models (LLMs) not only exhibit human-like performance but also share computational principles with the brain's language processing mechanisms. While prior research has focused on mapping LLMs' internal representations to neural activity, we propose a novel approach using explainable AI (XAI) to strengthen this link. Applying attribution methods, we quantify the influence of preceding words on LLMs' next-word predictions and use these explanations to predict fMRI data from participants listening to narratives. We find that attribution methods robustly predict brain activity across the language network, revealing a hierarchical pattern: explanations from early layers align with the brain's initial language processing stages, while later layers correspond to more advanced stages. Additionally, layers with greater influence on next-word prediction$\unicode{x2014}$reflected in higher attribution scores$\unicode{x2014}$demonstrate stronger brain alignment. These results underscore XAI's potential for exploring the neural basis of language and suggest brain alignment for assessing the biological plausibility of explanation methods.
format Preprint
id arxiv_https___arxiv_org_abs_2502_14671
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Explanations of Large Language Models Explain Language Representations in the Brain
Rahimi, Maryam
Yaghoobzadeh, Yadollah
Daliri, Mohammad Reza
Computation and Language
Artificial Intelligence
Neurons and Cognition
Large language models (LLMs) not only exhibit human-like performance but also share computational principles with the brain's language processing mechanisms. While prior research has focused on mapping LLMs' internal representations to neural activity, we propose a novel approach using explainable AI (XAI) to strengthen this link. Applying attribution methods, we quantify the influence of preceding words on LLMs' next-word predictions and use these explanations to predict fMRI data from participants listening to narratives. We find that attribution methods robustly predict brain activity across the language network, revealing a hierarchical pattern: explanations from early layers align with the brain's initial language processing stages, while later layers correspond to more advanced stages. Additionally, layers with greater influence on next-word prediction$\unicode{x2014}$reflected in higher attribution scores$\unicode{x2014}$demonstrate stronger brain alignment. These results underscore XAI's potential for exploring the neural basis of language and suggest brain alignment for assessing the biological plausibility of explanation methods.
title Explanations of Large Language Models Explain Language Representations in the Brain
topic Computation and Language
Artificial Intelligence
Neurons and Cognition
url https://arxiv.org/abs/2502.14671