TL;DR
While state-of-the-art Transformers are the gold standard for NLP, they aren't necessarily "born" more brain-like than simpler models. This study reveals that while training significantly improves a model's ability to predict human brain activity (its "brain score"), standard performance metrics like perplexity are surprisingly poor predictors of how well a model aligns with the human language system.
What Problem Does This Paper Address?
Neuroscientists increasingly use Neural Language Models (NLMs) as computational proxies to understand how the human brain processes language. By comparing internal model activations to fMRI data, researchers calculate a "brain score"—a measure of how well a model's representations match neural activity.
However, we still don't fully understand which "ingredients" make a model brain-like. Is it the specific architecture (e.g., recurrence vs. self-attention)? Is it the amount of training data? Or is it simply how well the model performs on next-word prediction? Previous studies often used small datasets or failed to control for these variables. This paper provides a rigorous, large-scale analysis to disentangle how architecture, training, and performance metrics influence a model's fit to the brain.
Methods
The researchers employed a robust encoding pipeline to compare four model families: GloVe (static embeddings), LSTMs (recurrent), GPT-2 (incremental transformer), and BERT (bidirectional transformer).
The process involved:
- Stimulus: 51 participants listened to an audiobook of The Little Prince while undergoing fMRI.
- Activation Extraction: The researchers extracted hidden states from models with 1, 2, and 4 layers.
- Temporal Alignment: Because fMRI measures blood flow (a slow signal), model activations were convolved with a Hemodynamic Response Function (HRF) to match the timing of the brain's response.
- Linear Encoding: They used Ridge regression to predict the activity of each brain voxel from the model's features, evaluating the fit using Pearson correlation ($R_{test}$).
Datasets
- Brain Data: fMRI scans from 51 participants (a significantly larger sample than previous studies) listening to The Little Prince.
- Text Corpora: Models were trained on various subsets of Project Gutenberg (ranging from 240MB to 4.8GB) and Wikipedia (425MB). This allowed the authors to test the impact of both data size and data type.
Key Insights and Ideas
- The "Untrained" Baseline: Remarkably, models with random weights already explain a significant amount of brain signal. This is likely because even random projections capture basic word identity and frequency. Interestingly, untrained LSTMs outperform untrained Transformers, possibly because Transformers' complex attention mechanisms introduce "contextual noise" before they are tuned by training.
- Training is a Universal Lifeline: Training improves brain scores across the board, and it does so in the same brain regions (like the temporo-parietal junction) regardless of the model's architecture. This suggests these regions are fundamentally involved in context-dependent computations that training helps models capture.
- The Perplexity Paradox: In NLP, perplexity (how well a model predicts the next word) is the standard yardstick for quality. However, this paper finds that perplexity does not reliably predict brain score. A model can get much better at predicting text without becoming more "brain-like" in its internal representations.
- Architecture Matters for Learning Rate: While Transformers start at a disadvantage (untrained), they benefit more from training and scaling (adding layers) than LSTMs do.
Key Results
- Training Gains: Training increased brain scores by approximately 4.5% for GPT-2 and 4.4% for BERT, compared to 3.1% for LSTMs.
- Distribution of Scores: As shown in the figure below, trained models (bottom half) clearly shift toward higher $R_{test}$ values compared to their untrained counterparts (top half).
- Dissociation from Perplexity: The study highlights the lack of a clear monotonic relationship between a model's loss and its brain score. For instance, LSTMs often had worse perplexity than GPT-2 but achieved higher brain scores on certain datasets.
Limitations and Future Work
The authors acknowledge that their analysis was limited to models with up to 4 layers due to computational costs, whereas state-of-the-art models often have dozens or hundreds of layers. Furthermore, the objective functions used to train these models (like masked language modeling) are only rough approximations of how human children actually acquire language.
Future work should investigate alternative training objectives that might align more closely with human cognition and explore whether the "perplexity gap" persists in much larger, billion-parameter models. The authors also warn that "off-the-shelf" models trained on generic data (like Wikipedia) may lack the statistical power needed for precise neuroscientific inquiries, suggesting that custom-trained models on domain-specific data are a better path forward.
Summary updated