[Paper Review] Neural Language Models are not Born Equal to Fit Brain Data, but Training Helps
This study investigates how neural language model (NLM) architecture, training, perplexity, and training data impact the ability to predict fMRI brain activity during audiobook listening. It finds that while untrained LSTMs outperform transformers due to lower context sensitivity, training universally improves brain score across architectures—especially for transformers—while perplexity is a poor predictor of brain fit, and off-the-shelf models trained on limited data lack statistical power to detect brain activations.
Neural Language Models (NLMs) have made tremendous advances during the last years, achieving impressive performance on various linguistic tasks. Capitalizing on this, studies in neuroscience have started to use NLMs to study neural activity in the human brain during language processing. However, many questions remain unanswered regarding which factors determine the ability of a neural language model to capture brain activity (aka its 'brain score'). Here, we make first steps in this direction and examine the impact of test loss, training corpus and model architecture (comparing GloVe, LSTM, GPT-2 and BERT), on the prediction of functional Magnetic Resonance Imaging timecourses of participants listening to an audiobook. We find that (1) untrained versions of each model already explain significant amount of signal in the brain by capturing similarity in brain responses across identical words, with the untrained LSTM outperforming the transformerbased models, being less impacted by the effect of context; (2) that training NLP models improves brain scores in the same brain regions irrespective of the model's architecture; (3) that Perplexity (test loss) is not a good predictor of brain score; (4) that training data have a strong influence on the outcome and, notably, that off-the-shelf models may lack statistical power to detect brain activations. Overall, we outline the impact of modeltraining choices, and suggest good practices for future studies aiming at explaining the human language system using neural language models.
Motivation & Objective
- To investigate which factors—model architecture, training, perplexity, or training data—most influence a neural language model’s ability to predict fMRI timecourses during natural language processing.
- To assess whether untrained models already capture meaningful brain signal, particularly similarity in responses to repeated words.
- To evaluate whether perplexity (test loss) reliably predicts a model’s success in fitting brain activity.
- To determine whether off-the-shelf models, such as those trained only on Wikipedia, have sufficient statistical power to detect brain activations.
- To identify best practices for using NLMs to model human language processing in neuroimaging studies.
Proposed method
- Trained and evaluated four NLM architectures—GloVe, LSTM, GPT-2, and BERT—on fMRI data from participants listening to 'The Little Prince' audiobook.
- Compared untrained versions of each model (with random or fixed embeddings) to their fully fine-tuned counterparts to isolate the effect of training.
- Measured brain score as the correlation between model activations and fMRI timecourses across brain regions, using linear models to predict neural responses.
- Tracked perplexity and brain score across training epochs to assess their relationship during model convergence.
- Used diverse training corpora, including large-scale and Wikipedia-only datasets, to evaluate data impact on model performance.
- Performed statistical comparisons across models and training conditions to identify consistent brain regions where training improves prediction.
Experimental results
Research questions
- RQ1Do untrained neural language models already explain significant variance in fMRI brain activity, and how does performance vary across architectures?
- RQ2Does training consistently improve a model’s ability to predict brain activity, regardless of architecture?
- RQ3Is perplexity a reliable predictor of a model’s brain score across different architectures and training stages?
- RQ4How does the size and type of training corpus affect a model’s ability to fit brain data, particularly off-the-shelf models?
- RQ5Which brain regions show consistent improvements in prediction across different model types and training conditions?
Key findings
- Untrained LSTMs outperform untrained transformers and GloVe in predicting fMRI responses, likely due to lower context sensitivity and more stable word representations.
- Training significantly improves brain scores across all model architectures, with the same set of brain regions consistently showing better prediction after fine-tuning.
- Perplexity is not a reliable predictor of brain score; models with lower perplexity do not necessarily achieve higher brain scores.
- Off-the-shelf models trained only on Wikipedia lack sufficient statistical power to detect brain activations, highlighting the importance of training data quality and scale.
- The network of brain regions consistently improved by training overlaps with core language areas (IFG, STS) and the default mode network (angular gyri, dorso-mesial PFC), suggesting a role in context-dependent language processing.
- Despite starting with lower performance, transformer-based models (GPT-2, BERT) benefit more from training than LSTMs, eventually outperforming them in brain score prediction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.