TL;DR
Using mechanistic circuit analysis, this paper reveals that post-training reasoning models (via SFT, distillation, or RL) sparks the emergence of specialized attention heads rather than just tweaking weights globally. While supervised methods permanently graft on dozens of new heads, reinforcement learning (GRPO) acts as a dynamic search tool that selectively tests and prunes minimal heads according to reward signals. Crucially, controllable "think on/off" models do not rely on exclusive "thinking" heads—turning off thinking actually forces the model to recruit a noisy, compensatory sprawl of attention heads.
What Problem Does This Paper Address?
While post-training techniques—Supervised Fine-Tuning (SFT), knowledge distillation, and Reinforcement Learning with Verifiable Rewards (RLVR)—have produced powerful Large Reasoning Models (LRMs) like DeepSeek-R1 and OpenAI’s o-series, the internal mechanisms behind these improvements remain a black box. Researchers debate whether post-training instills brand-new reasoning structures or merely amplifies latent capabilities. Furthermore, reasoning models frequently suffer from "overthinking," making bizarre arithmetic slips or entering logical loops on simple problems.
This paper uses mechanistic interpretability to bridge high-level performance metrics with low-level circuit dynamics, uncovering how different post-training paradigms structurally reorganize attention heads.
Methods
The authors map computational subgraphs using Edge Attribution Patching with Integrated Gradients (EAP-IG). By comparing clean prompts (which elicit explicit <think> reasoning) against corrupted inputs, they identify edges and nodes causally responsible for task performance:
- Emergent Head Identification: Comparing post-trained computational circuits with baseline models to isolate newly activated attention heads.
- Causal Ablation & Activation Scaling: Surgically zeroing out emergent heads or multiplying their activations (by $1.3\times$ or $0.5\times$) to test their causal impact on benchmarks.
- Temporal Checkpoint Tracking: Mapping circuit changes every 100 training steps to observe how attention heads are born, retained, or pruned during SFT and RL.
- Sparse Feature Circuit Probing (SAE): An auxiliary exploration using sparse autoencoders on Llama-3.1-8B to validate component-level importance shifts across residual and attention blocks.
Datasets
The authors did not introduce new datasets, relying instead on standard training and evaluation suites:
- Training: OpenR1-Math-220k and GSM8K.
- Evaluation: AIME’24, AIME’25 (American Invitational Mathematics Examination), AMC (American Mathematics Competitions), GPQA (Graduate-Level Google-Proof Q&A), MATH-500, and TriviaQA (used as a control for general knowledge retrieval).
Key Insights and Ideas
- SFT & Distillation Add Permanently: Distillation and SFT act like additive construction. Distillation induces new heads concentrated in early-to-mid layers, while SFT populates mid-to-late layers. Once added, these heads almost never deactivate during subsequent training checkpoints.
- GRPO Acts as an Adaptive Scalpel: Group Relative Policy Optimization (GRPO) performs dynamic, reward-guided architecture search. Early heads emerge (exploration) but are pruned if task rewards dip (exploitation). GRPO activates far fewer heads than SFT, optimizing existing computational pathways rather than building extensive new machinery.
- The "Think-Off" Paradox: In Qwen3-8B, "Think-On" mode does not utilize exclusive reasoning heads; instead, it executes an optimized, streamlined sub-circuit. When thinking is turned off (
<think>\n</think>), the model compensates for the absence of Chain-of-Thought by activating an enormous, messy network of extra heads. - The Planning vs. Calculation Trade-off: Emergent reasoning heads encourage multi-step decomposition, but often at the cost of basic calculation reliability. Over-activating these heads leads models to take needlessly convoluted theoretical detours on straightforward questions.
Key Results
- Distillation Head Ablation: Ablating emergent reasoning heads in
DeepSeek-R1-Distill-Qwen-1.5Bdropped pass@1 accuracy on AIME’24 from 30.0% to 26.6% and on AIME’25 from 26.6% to 16.6%. - Pruning Think-Off Heads Improves Accuracy: Surgically ablating the redundant compensatory heads in
Qwen3-8B(Think-Off mode) improved AIME’24 performance from 30.0% to 36.6% and AIME’25 from 13.3% to 20.0%, demonstrating that these compensatory heads introduce confusion during low-sample reasoning. - SFT Circuit Brittleness: Ablating approximately 10 mid-to-late emergent heads in SFT-trained models caused benchmark accuracy across all tasks to collapse to near-zero (e.g., AIME'24 dropped from 13.3% to 0.0%).
- Head Scaling Trade-offs: Scaling up GRPO-emergent heads by $1.3\times$ boosted MATH performance (from 56.0% to 60.2%), but degraded AIME'24 performance (from 13.3% to 3.33%).
Limitations and Future Work
- Architecture Diversity: Experiments were largely centered on the Qwen family (1.5B, 7B, 8B), with only a partial re-implementation on Llama-3.2-1B-Instruct.
- Polysemanticity in Native Attention Heads: Prompt-based circuit analysis tracks whole attention heads rather than individual polysemantic features. While sparse autoencoders (SAEs) address this, the authors found training per-checkpoint SAEs computationally prohibitive.
- Future Directions: The authors advocate for head-aware training policies—such as reward shaping that penalizes head proliferation and selective parameter updates targeting high-influence reasoning heads while protecting elementary execution circuits.
Summary updated