bioRxivNeurosciencePreprint
Incorporating Context into Language Encoding Models for fMRI
Abstract
Language encoding models help explain language processing in the human brain by learning functions that predict brain responses from the language stimuli that elicited them. Current word embedding-based approaches treat each stimulus word independently and thus ignore the influence of context on language understanding. In this work, we instead build encoding models using rich contextual representations derived from an LSTM language model. Our models show a significant improvement in encoding performance relative to state-of-the-art embeddings in nearly every brain area. By varying the amount of context used in the models and providing the models with distorted context, we show that this improvement is due to a combination of better word embeddings learned by the LSTM language model and contextual information. We are also able to use our models to map context sensitivity across the cortex. These results suggest that LSTM language models learn high-level representations that are related to representations in the human brain.
Abstract summary
Claude Opus 5.5 · xhigh effort · 2 Nov 2026 · from the abstract
Encoding models using contextual representations from an LSTM language model improve human fMRI brain response prediction over non-contextual word embeddings in nearly every brain area and map cortical context sensitivity.
Current word embedding-based language encoding models for fMRI treat each stimulus word independently, ignoring how surrounding context influences language understanding. Building encoding models with contextual representations from an LSTM language model improves brain response prediction in nearly every brain area and enables mapping of context sensitivity across the cortex.
Key results
SuggestedEncoding models built with contextual representations from an LSTM language model outperform existing word embedding approaches in predicting human fMRI responses across almost every brain region, driven by both improved word embeddings and multi-word context.
Compared against non-contextual word embeddings across human brain areas and tested by varying context length and distorting context (no numeric prediction scores or subject counts are given in the abstract). · Abstract
SuggestedThe LSTM-based language encoding models enable mapping of context sensitivity across the human cortex.
Cortical mapping using the LSTM-based encoding models in human fMRI data (qualitatively reported in the abstract). · Abstract
Methods, data and reproducibility
The authors constructed language encoding models that predict human fMRI brain responses from language stimuli using contextual representations derived from an LSTM language model, varying the amount of context and providing distorted context to evaluate word-embedding and contextual contributions, and mapping context sensitivity across the cortex.
- Human fMRI brain responses elicited by language stimuli · human
- Methods & tools
- LSTM language model
- Reproducibility gaps
- No code repositories, fMRI dataset accessions, or subject sample sizes are provided in the abstract.
Limitations (1)
- The abstract does not state the number of human participants, the specific baseline word embedding models, or quantitative encoding performance gains. · noted in this summary
Read this if you build neural encoding models of human fMRI activity during natural language processing or compare language model representations to brain responses.
- Citations
- 155
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Brain embeddings with shared geometry to artificial contextual embeddings, as a code for representing language in the human brain
Ariel Goldstein, Avigail Grinstein-Dabush, … Uri Hasson·bioRxiv·Mar 1, 2022
- Attention weights accurately predict language representations in the brain
Mathis Lamarre, Catherine Chen, Fatma Deniz·Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)Peer-reviewed·Jan 1, 2022
- Evaluating scientific theories as predictive models in language neuroscience
Chandan Singh, Richard Antonello, … Alexander G. Huth·bioRxiv·Aug 12, 2025
- Low-Rank Tensor Encoding Models Decompose Natural Speech Comprehension Processes
Lane Lewis, Xaq Pitkow, Leila Wehbe·bioRxiv·Jun 2, 2025
- Interpretable multi-timescale models for predicting fMRI responses to continuous natural speech
Shailee Jain, Shivangi Mahto, … Alexander G. Huth·bioRxiv·Oct 2, 2020
- ALIGNING BRAINS INTO A SHARED SPACE IMPROVES THEIR ALIGNMENT TO LARGE LANGUAGE MODELS
Arnab Bhattacharjee, Zaid Zada, … Samuel A. Nastase·bioRxiv·Jun 4, 2024