TL;DR
Why do the middle layers of AI models—not the final outputs—best predict how our brains process language? This paper reveals that brain-model alignment is driven by meaning abstraction, measured by a peak in "intrinsic dimension" (feature complexity) within intermediate layers. The study demonstrates that as models learn to build rich, abstract representations of the world, they naturally converge toward the same representational geometry used by the human brain.
What Problem Does This Paper Address?
In the field of "AI-to-Brain" encoding, researchers have long observed a curious phenomenon: if you try to map the internal states of a Large Language Model (LLM) to fMRI or ECoG brain data, the intermediate layers are consistently the most "brain-like." The final layers, which are actually best at the model's training task (predicting the next word), are surprisingly less predictive of brain activity.
This raises a fundamental question: What specific property of these middle layers makes them align with the brain? Is it the predictive objective itself (the "predictive coding" hypothesis), or is it because both the brain and the AI are extracting the same abstract "meaning" from the input?
Methods
The authors investigate this by looking at the Intrinsic Dimension ($I_d$) of model representations. While a model's hidden state might have thousands of dimensions (extrinsic), the data often sits on a much lower-dimensional "manifold" (intrinsic).
Key techniques included:
- GRIDE Estimator: A state-of-the-art tool used to calculate the nonlinear intrinsic dimension of representations across different layers.
- Encoding Models: Linear regressions mapping model activations to brain responses (fMRI and ECoG) while subjects listened to podcasts.
- Layerwise Probing: Using "SentEval" and acoustic/semantic tasks to determine what kind of information (surface-level vs. abstract) is stored in each layer.
- Braintuning: A causal experiment where they finetuned a speech model (WavLM) directly to predict brain activity, then measured how its internal $I_d$ and semantic content changed.
- Random Baselines: Using Random Fourier Features (RFF) to see if high dimensionality alone is enough to predict the brain (spoiler: it isn't).
Datasets
- Brain Data:
- fMRI: The LeBel et al. (2023) dataset (3 subjects, ~20 hours of podcast listening each).
- ECoG: The Zada et al. (2025) "Podcast" dataset (9 subjects, 30 minutes of intracranial recordings).
- AI Models:
- LLMs: OPT (125m to 13b) and Pythia (160m to 6.9b).
- Speech Models: WavLM and Whisper.
- Training/Probing Data: The Pile (text), LibriSpeech (audio), and SentEval (linguistic tasks).
Key Insights and Ideas
- The "Two-Phase" Model: LLMs seem to operate in two stages. First, they build up abstract linguistic features (where $I_d$ and brain alignment peak). Second, they "compress" or refine these features to specifically serve the next-token prediction task (where $I_d$ and brain alignment drop).
- $I_d$ as a Proxy for Abstraction: The peak in intrinsic dimension marks the point where the model has constructed its most complex, higher-order features. This peak correlates almost perfectly with the peak in brain predictivity.
- Abstraction > Prediction: The researchers found that next-token "surprisal" (how well a layer predicts the next word) is a poor explanation for layerwise brain alignment compared to $I_d$.
- Causal Link: When a model is "braintuned" to better match human neural responses, it doesn't just get better at the mapping; its internal representations actually become more semantically rich and increase in intrinsic dimensionality.
Key Results
- Strong Correlation: A layer’s intrinsic dimension strongly predicts its ability to explain fMRI signals ($\rho = 0.76$) and ECoG signals ($\rho = 0.43$).
- Peak Alignment: For almost every model tested, the layer with the highest $I_d$ was within 0–5 layers of the layer that best predicted the brain.
- Training Dynamics: During LLM pre-training (using Pythia checkpoints), the $I_d$ peak and brain alignment emerge and grow in tandem as the model gains linguistic competence.
- Dimension is Necessary but Not Sufficient: High-dimensional random features (RFF) failed to predict the brain well. This proves that it’s not just "having many dimensions" that matters, but the learned abstract structure within those dimensions.
Limitations and Future Work
- Coarseness of $I_d$: Intrinsic dimension is a "coarse-grained" metric. It tells you how many degrees of freedom exist in the data, but not what those degrees of freedom represent (e.g., is it syntax, semantics, or something else?).
- Interpretability Gap: While the paper links $I_d$ to abstraction, it doesn't provide a detailed account of which specific linguistic features are being encoded at the $I_d$ peak.
- Future Directions: The authors suggest that finding an explicit description of these "degrees of freedom" is the next big step in understanding why AI and brains converge on the same solutions for language.
Summary updated