TL;DR
This paper uncovers the internal mechanistic reasons why Reinforcement Learning (RL) mitigates catastrophic forgetting better than Supervised Fine-Tuning (SFT). By tracking attention-head circuits, the authors reveal that SFT acts as a "compressor" that aggressively disrupts existing circuits to create narrow specialist heads, whereas RL acts as a "distributed adaptor" that spreads updates uniformly and preserves the model's original computational structure.
What Problem Does This Paper Address?
When large language models (LLMs) are fine-tuned on a new downstream task, they frequently suffer from catastrophic forgetting—the degradation of previously acquired capabilities like coding, commonsense reasoning, or factuality.
Recent behavioral studies have shown that RL post-training retains prior skills better than standard SFT. This has traditionally been explained by "policy proximity," assuming that RL updates simply keep the model's output distribution closer to the base model (often measured via KL divergence). However, this surface-level explanation doesn't always hold true. This paper looks under the hood to ask a mechanistic question: Does RL's retention advantage stem from the preservation of internal computational subgraphs (circuits), even when output-space metrics fail to predict forgetting?
Methods
The authors introduce a framework called differential circuit vulnerability to measure how internal computational subgraphs degrade under different training objectives. Their methodology follows a three-phase pipeline:
- Two-Stage Adaptation: They take a pretrained model (
Qwen2.5-3B-Instruct) and adapt it to a downstream scientific QA task using either standard SFT or an RL variant called Dr.GRPO (Group Relative Policy Optimization adapted for domain-specific correctness without an explicit KL penalty). - Circuit Identification: They apply Differential Binary Masking (DBM) at the attention-head level to isolate the specific sparse circuits responsible for performing the tasks.
- Cross-Model Comparison: They perform causal interventions (necessity and sufficiency ablations) to evaluate how much of the original base circuit remains functional after SFT versus RL training.
Datasets
- Adaptation Task (Task A): SciKnowEval, a benchmark for multi-level scientific knowledge and question-answering.
- Retention Tasks (Task B): A diverse suite of standard benchmarks evaluating core capabilities:
- MMLU, HellaSwag, WinoGrande (Reasoning and Commonsense)
- TruthfulQA (Factuality)
- IFEval (Instruction Following)
- HumanEval (Coding)
Key Insights and Ideas
- SFT the "Compressor" vs. RL the "Distributed Adaptor": SFT forces the model to rely on a tight cluster of newly formed "critical specialist" heads, discarding much of the broader base circuit. Conversely, RL distributes task adaptation evenly across many components, keeping the underlying base circuit intact.
- The KL Divergence Illusion: Output-space metrics can be deceptive. The authors found that the RL model actually exhibited a larger output-space KL divergence from the base model than SFT did, yet it preserved the internal circuits and prior capabilities significantly better. Surface behavior does not reliably map to internal structural changes.
- Circuit Recovery in RL: While SFT's circuit retention degrades monotonically across training epochs, RL's circuit retention actually recovers and increases between Epoch 1 and Epoch 2. This suggests that continued RL training can actively consolidate and restore previously disrupted internal structures.
Key Results
- Higher Circuit Retention: At peak performance on the new task, RL maintained 72.5% of the base circuit heads, whereas SFT dropped to 59.0%—a substantial 13.5 percentage-point difference.
- Structural Overlap: The RL model preserved roughly 296 total heads (68% overlap with the base model), closely matching the base model's circuit size of 297. SFT collapsed the circuit down to 265 heads (52% overlap).
- Head Role Reorganization: Causal ablation tests showed that SFT creates a distinct, highly sensitive cluster of heads with high necessity and sufficiency scores. RL maintains a flatter, more distributed importance landscape that closely mirrors the original base model.
Limitations and Future Work
- Model and Task Scope: The study evaluates a single model architecture (
Qwen2.5-3B-Instruct) and focuses on a narrow scientific QA adaptation task. The generalizability of these trade-offs across other architectures (e.g., Llama, Mistral) and tasks remains to be validated. - Granularity of Circuit Analysis: The mechanistic analysis is constrained to the attention-head level. It leaves out the influence of MLP layers, residual-stream features, and fine-grained neuron-level dynamics, which are essential for a complete mechanistic picture of post-training adaptation.
Summary updated