Evidence from fMRI Supports a Two-Phase Abstraction Process in Language Models
Emily Cheng, Richard J. Antonello
TL;DR
The paper investigates why intermediate LLM layers best predict human brain activity and tests the hypothesis that a two-phase abstraction process underlies this brain–LM alignment. By measuring brain-model representational similarity, nonlinear intrinsic dimensionality $I_d$, and linear dimensionality $d$, and by estimating layerwise surprisal with TunedLens, the authors show that $I_d$ tracks encoding performance and that a phase transition occurs as layers transition from an abstraction (composition) phase to a prediction (extraction) phase. They demonstrate concurrent emergence of high $I_d$ and strong encoding performance during training across model families, and argue that the brain–LM correspondence is driven by abstraction properties rather than pure next-token prediction. The work has implications for improving encoding models by leveraging multi-layer spectral information and informs theories of cognitive language processing in both brains and LLMs.
Abstract
Research has repeatedly demonstrated that intermediate hidden states extracted from large language models are able to predict measured brain response to natural language stimuli. Yet, very little is known about the representation properties that enable this high prediction performance. Why is it the intermediate layers, and not the output layers, that are most capable for this unique and highly general transfer task? In this work, we show that evidence from language encoding models in fMRI supports the existence of a two-phase abstraction process within LLMs. We use manifold learning methods to show that this abstraction process naturally arises over the course of training a language model and that the first "composition" phase of this abstraction process is compressed into fewer layers as training continues. Finally, we demonstrate a strong correspondence between layerwise encoding performance and the intrinsic dimensionality of representations from LLMs. We give initial evidence that this correspondence primarily derives from the inherent compositionality of LLMs and not their next-word prediction properties.
