Large Language Models (LLMs) have proven remarkably adept at predicting human brain activity during language comprehension. However, there is a significant catch: the internal representations of LLMs are highly "entangled." Information about individual words (lexicon), sentence structure (syntax), and abstract logic (reasoning) are all mixed together within the same high-dimensional vectors.
When neuroscientists use these "raw" embeddings to model the brain, the resulting high predictive performance is often driven by "shallow" features like word identity or grammar. This creates a "shallow bias" that masks the more subtle neural signatures of high-level cognition.
In a recent study, researchers set out to answer a critical question: Can we isolate a "pure" reasoning signal from an LLM and find its specific footprint in the human brain? By developing a novel "residual disentanglement" method, the team successfully isolated abstract reasoning signals and mapped them to intracranial brain recordings, revealing that reasoning in the human brain follows a distinct temporal and spatial hierarchy.
Methodology: Isolating the Reasoning Signal
To decouple these entangled linguistic features, the authors introduced a two-step framework:
- Layer Localization via Probing: Using diagnostic "minimal-pair" tasks (e.g., comparing a grammatically correct sentence to an incorrect one), the researchers identified specific layers in the Qwen2.5-14B model where syntax, meaning, and reasoning capabilities "saturate" or peak.
- Residual Disentanglement: To isolate reasoning, they didn't just extract the output of a "reasoning layer." Instead, they used ridge regression to mathematically "regress out" the information already present in lower-level layers. For example, the pure Reasoning Embedding is calculated as the hidden state at the reasoning layer minus the portion predicted by the meaning layer.
This process resulted in four nearly orthogonal (mathematically independent) embeddings: Lexicon, Syntax, Meaning, and Reasoning. Finally, they used these "purified" embeddings as predictors in a brain encoding model to analyze high-resolution intracranial electrocorticography (ECoG) data from 9 neurosurgical patients listening to a 30-minute natural narrative podcast.
Key Findings: Achieving Orthogonality
The residual method successfully disentangled the features. The average absolute cosine similarity between the purified embeddings dropped to $\le$ 0.045, compared to ~0.75 for raw hidden states. This proves that the isolated embeddings are distinct and no longer suffer from the entanglement seen in standard LLM representations.
By mapping these purified signals to the ECoG data, the researchers uncovered several major insights into how the brain processes language:
- The Hierarchy of Emergence: LLMs develop features in a predictable order that mirrors cognitive processing: Lexicon (Layer 0) $\rightarrow$ Syntax (Layer 6) $\rightarrow$ Meaning (Layer 20) $\rightarrow$ Reasoning (Layer 30).
- Reasoning is Temporally Distinct: While syntax and lexicon signals in the brain peak almost immediately after a word is heard, the "reasoning" signature peaks significantly later, at approximately 350–400ms. This confirms that reasoning sits at the top of a temporal processing hierarchy.
- Expanded Neural Recruitment: Unlike shallow features, which are mostly confined to classical language areas (like the Inferior Frontal Gyrus), reasoning-specific signals recruited a much broader network. This included the superior frontal gyrus and even parts of the visual cortex, suggesting that reasoning involves multimodal integration and executive control.
- The Illusion of Alignment: The study reveals that standard, non-disentangled LLM embeddings can be highly misleading. Their predictive success is dominated by shallow features, which can completely obscure the contributions of deeper cognitive processes if not properly separated.
Limitations and Future Directions
While this study provides compelling neural evidence for abstract reasoning computations during language comprehension, it has limitations. ECoG provides excellent temporal resolution but limited spatial coverage, meaning some frontal regions critical for reasoning were not fully recorded. Additionally, the primary results rely on the Qwen architecture; future work should explore if these "reasoning layers" shift significantly in models like GPT-4 or Claude.
Future research could also expand the probing framework to include inductive reasoning, social reasoning, or narrative planning, and integrate fMRI data to better map the spatial distribution of these high-level computations across the entire brain. Ultimately, this residual disentanglement approach offers a robust new framework for mapping distinct cognitive functions from artificial models to the human mind.
Summary updated