This paper presents a fascinating bridge between neuroscience and AI, applying techniques used to study the human brain to understand the internal "reorganization" of Large Language Models (LLMs) as they learn to reason.
TL;DR
Researchers adapted "cortical gradient analysis"—a tool for mapping human brain organization—to identify specific, localized regions in LLMs that change most during reasoning training. By "grafting" weights from these identified regions into other models, they successfully boosted mathematical reasoning performance while preserving the models' original capabilities.
What Problem Does This Paper Address?
As LLMs are fine-tuned for complex tasks like mathematical reasoning, their internal representations change. However, we lack clear ways to visualize or localize these functional shifts. Standard metrics, like measuring how much individual weights change (parameter distance), often fail to capture the functional reorganization of the model.
In humans, brain development involves functional systems becoming more distinct and organized along "cortical gradients." The authors asked: Do LLMs undergo a similar regional reorganization when they get "smarter" at reasoning? If so, can we find these "reasoning regions" and use them to improve other models?
Methods
The authors adapted cortical gradient analysis to the architecture of transformer-based LLMs. The process, illustrated in the figure below, mirrors how neuroscientists analyze fMRI data:
- Activation Sampling: They recorded internal activations from 11 different sites within every layer of the model (e.g., attention outputs, feed-forward blocks) while the model processed text.
- Representational Similarity: They used Centered Kernel Alignment (CKA) to measure how similar the representations are between any two sites in the model, creating a "connectivity matrix" analogous to brain functional connectivity.
- Diffusion-Map Embedding: This mathematical technique reduces the complex connectivity matrix into a "principal gradient"—a single axis that describes how representations relate to one another across the entire depth of the model.
- Weight Grafting: After identifying a "reasoning-related region" (a span of layers showing the most displacement in the gradient after training), they performed "surgery." They took the weights from this span in a reasoning-trained "donor" model and inserted them into an instruction-tuned "host" model of the same architecture.
Datasets
The study evaluated models across several challenging benchmarks:
- Mathematical Reasoning: MATH-87 (a subset of MATH-500), AIME 2024, and AIME 2025.
- Factual Recall: TriviaQA.
- Language Modeling: Wikipedia passages (to measure perplexity).
- Medical Knowledge: MedQA-USMLE (used to test if the method generalizes to other specialized domains).
The researchers tested these methods across six model pairs from three major families: Ministral (3B, 8B, 14B), Qwen (7B, 14B), and Llama (8B).
Key Insights and Ideas
- Reasoning is Localized: Reasoning training doesn't change the whole model equally. It creates "displacement peaks" in the representational gradient, typically concentrated within a contiguous span of 15–35% of the model's layers.
- Function $\neq$ Parameter Change: Crucially, the layers that changed the most functionally (according to the gradient analysis) were not the layers where the raw weights changed the most. This suggests that small weight changes in the right places can lead to massive functional shifts.
- The "Grafting" Success: Weights from these reasoning-related regions are highly transferable. Grafting them into a new host improved reasoning more effectively than grafting weights from any other part of the model.
- Low Interference: These grafts are "surgical." They improve reasoning while "breaking" fewer of the host's existing correct answers compared to grafting from non-reasoning regions.
- Early Emergence: By analyzing the OLMo model's training trajectory, the authors found that these reasoning regions take shape very early in the training process, tracking the initial surge in performance.
Key Results
The quantitative gains from these "zero-training" grafts were significant:
- Accuracy Boost: On average, grafting the identified reasoning spans improved accuracy by 3.2 percentage points (pp) on MATH-87, 4.2 pp on AIME 2024, and 5.1 pp on AIME 2025.
- High Retention: Region grafts retained 91.9% of the problems the host model could already solve, compared to only 82.2% for grafts from other areas.
- Generalization to Medicine: The method successfully identified a transferable span in a medical model (UltraMedical), which, when grafted into a standard Llama host, boosted medical exam (MedQA) accuracy by 6.4 pp.
Limitations and Future Work
While promising, the authors note several limitations:
- Input Sensitivity: The "reasoning region" identified can shift depending on the input data used for the analysis (e.g., using math problems vs. Wikipedia text).
- Model Capability: The analysis is most informative when the input tasks are within the model's general capability range; it may be less reliable for tasks that are far too difficult for the model.
- Scope: The study focused primarily on mathematics and medicine. It remains to be seen if similar "transferable spans" exist for other complex traits like coding or creative writing.
- Mechanism: While we can now locate these regions, the exact "how" of their interaction with the rest of the network during a computation remains an open question for future research.
Summary updated