Why does teaching an AI by direct example reshape its attention more drastically than rewarding good answers does?
Why does SFT cause larger parameter updates in attention mechanisms than GRPO?
This explores why supervised fine-tuning (SFT) seems to change a model's attention layers more heavily than GRPO-style reinforcement learning does, and what that difference says about how each method reshapes a model.
This explores why supervised fine-tuning (SFT) seems to rewrite a model's attention layers more than GRPO-style reinforcement learning does. First, a limit of the collection: none of these notes measures where in the network each method's parameter changes land. So the corpus can't confirm the layer-level claim. What it can explain is why SFT behaves like a heavier, blunter update than RL. That is the most likely reason the difference shows up in attention.
The clearest clue is about which training examples dominate. Why does RL generalize better than SFT to new domains? argues that RL's advantage isn't a smarter algorithm. RL quietly down-weights the hardest examples. In SFT, those hard examples produce oversized gradients that swamp everything else. They alone account for most of SFT's drop in performance on new domains. GRPO rewards a response relative to the model's other attempts at the same prompt, so examples the model can't solve at all give almost no signal. SFT forces the model to reproduce every target answer, including ones far from what it would naturally write. Large forced changes need large parameter updates. Attention is where a model decides which parts of the context to rely on, so it is a natural place for those changes to pile up.
The same pattern appears from the reasoning side. Does supervised fine-tuning actually improve reasoning quality? finds that SFT raises final-answer accuracy while making the reasoning nearly 39% less informative. Models learn pattern-matching shortcuts. A shortcut like this often amounts to learning to attend to surface cues in the prompt rather than working through it. That is a change in attention behavior, not in stored knowledge. Do larger SFT datasets actually cover rare solution methods? adds that SFT's weakness is partly a coverage problem. With too few examples of rare solution methods, the model overfits to the common ones.
The attention-architecture notes help explain why attention is so easy to disturb. Do hidden massive activations act as attention bias terms? shows that attention depends on a few huge, fixed activations that act as anchors, concentrating attention onto specific tokens. Does transformer attention architecture inherently favor repeated content? shows that attention already over-weights repeated and prominent content. A finely balanced mechanism like this can shift a lot under the strong, uniform pressure of SFT. RL's gentler, self-relative signal leaves it mostly alone.
The takeaway you might not have expected: the SFT-versus-RL debate may be less about which algorithm is smarter and more about how hard each one pushes the model. SFT pulls the model toward someone else's answers. RL mostly sharpens choices the model already makes. If you want to verify the attention-layer claim itself, look outside this collection for parameter-change analyses. Nothing here measures it directly.
Sources 5 notes
RL achieves better OOD generalization not through algorithmic superiority but by implicitly down-weighting hard samples that drive gradient dominance and overfitting in SFT. Hard samples alone account for most of SFT's OOD degradation.
SFT improves final-answer accuracy but reduces reasoning informativeness by 38.9% on average. Models reach correct answers through pattern-matching shortcuts rather than genuine inferential reasoning, becoming less auditable despite higher accuracy scores.
The paper shows that as SFT datasets scale, they represent more rare solution methods from the long-tailed distribution of strategies. These tail methods appear more often in evaluation and solve more questions as dataset size grows, suggesting coverage rather than bias is the limiting factor.
A very small number of input-agnostic activations with values up to 100,000× larger than others act as indispensable implicit bias terms and concentrate attention probability onto specific tokens. This phenomenon appears across model sizes and Vision Transformers.
Transformer soft attention systematically over-weights repeated and context-prominent tokens regardless of relevance, creating a positive feedback loop that amplifies opinions and framing before RLHF acts. System 2 Attention—regenerating context to remove irrelevant material—can interrupt this mechanism.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data
- Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
- Generalization of RLVR Using Causal Reasoning as a Testbed
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
- Stop Anthropomorphizing Intermediate Tokens as Reasoning/Thinking Traces!
- Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them
- System 2 Attention (is something you might need too)
- Massive Activations in Large Language Models