Fine-tuning on examples makes AI forget old skills — but is that because of how much data you use, or something else?
Does SFT's knowledge loss depend on the amount of training data used?
This explores whether the knowledge a model loses during supervised fine-tuning (SFT) grows or shrinks with how much training data you give it, or whether something other than quantity drives the loss.
This explores whether the knowledge a model loses during supervised fine-tuning gets better or worse with more training data. The short answer is that no paper in the corpus directly measures forgetting against dataset size. What the corpus does show is that the kind of data and the way SFT updates the model seem to matter more than the amount.
Start with the mechanism. RL fine-tuning forgets much less than SFT across several model families. The explanation is that RL learns from the model's own outputs, which nudges it toward answers it already favors, while SFT pulls the whole output distribution toward the training examples and wears down everything else the model knew along the way Why does reinforcement learning forget less than supervised fine-tuning?. That is a property of how SFT learns, not of how much it is fed, so more data would not obviously fix it. Matched experiments on OLMo-2 point the same way: SFT rewrites model internals, especially attention, more drastically than GRPO, and gets bigger in-domain gains with bigger out-of-domain losses Does reinforcement learning preserve knowledge better than supervised fine-tuning?.
The most surprising finding is that a small part of the data may cause most of the damage. One paper argues RL's better generalization comes mainly from quietly down-weighting very hard training examples, and that these hard samples alone account for most of SFT's out-of-domain degradation Why does RL generalize better than SFT to new domains?. If that holds, adding more data could make things worse when the new data is heavy on hard examples, and removing a slice could help more than scaling up. A related idea is distance: when expert data is far from what the model would naturally produce, training first disrupts the model, then readapts, then overfits Why does SFT-then-RL training follow a predictable three-phase pattern?.
Data scale does matter for a nearby question: generalization on reasoning tasks. When SFT trains on outputs from a model close to its own distribution and matches RL's total sampling budget, it can equal or beat RL. The usual 'SFT just memorizes' gap looks like a data artifact Can SFT match or beat RL when data and scale align?. Larger SFT datasets also cover more rare solution strategies, which closes the gap further Do larger SFT datasets actually cover rare solution methods?. Scaling has limits, though. On chart-to-code, more data doesn't help because SFT's loss weights boilerplate code the same as the few values that actually matter Why does scaling training data fail to improve SFT on chart-to-code?. Keep in mind that these results measure reasoning performance, not retained knowledge, so they don't settle the forgetting question.
If the goal is to keep what the model already knows, the corpus points to changing how you tune rather than how much data you use. Proxy-tuning leaves the base model's weights untouched and steers it at decoding time. It recovers most of the alignment benefit and beats direct fine-tuning on knowledge tasks, because direct tuning corrupts the lower layers where knowledge seems to be stored Can decoding-time tuning preserve knowledge better than weight fine-tuning?. Freezing mid-layer parameters during SFT is a cheaper idea, but so far it has given mixed results Can freezing mid-layer parameters prevent SFT's out-of-domain degradation?. The open question worth watching is whether forgetting scales with dataset size once you control for difficulty and distance from the model's own outputs. Nobody here has tested it cleanly.
Sources 9 notes
RL fine-tuning forgets significantly less than SFT across multiple LM families and tasks. The protective mechanism is on-policy sampling, which produces mode-seeking updates that preserve prior knowledge in multi-modal policies, whereas SFT's mode-covering updates erode all modes indiscriminately.
Matched-setup experiments on OLMo-2 show GRPO produces modest math gains with minimal knowledge-benchmark degradation, while SFT yields larger math gains but larger out-of-domain losses. Parameter analysis reveals SFT updates model internals more drastically, especially attention mechanisms, while GRPO shifts token selection without substantially altering the output distribution.
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.
CHORD identifies three distinct training phases: initial capability disruption from policy shift, readaptation to expert patterns, then overfitting. Dynamically weighting SFT as an auxiliary objective within on-policy RL resolves this progression and improves stability.
When SFT trains on rollouts from a model close to its own distribution and scales to match RL's total rollout budget, it reaches parity with or outperforms RL on reasoning tasks. The generalization gap attributed to SFT memorization appears to be a data artifact, not an inherent property of the approach.
Show all 9 sources
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.
SFT's per-token loss treats boilerplate code equally with rare but critical data values and styling parameters. Scaling training corpus does not overcome this structural limitation—the loss cannot differentiate token importance, only RL-based reward functions can.
Proxy-tuning closes 88-91% of the alignment gap while surpassing direct fine-tuning on knowledge tasks by leaving base model weights untouched. Direct fine-tuning corrupts knowledge storage in lower layers, whereas proxy-tuning applies distributional shifts that primarily affect reasoning and style.
Direct testing of the mid-layer MLP hypothesis produced conflicting outcomes: performance improved on GPQA:Diamond but degraded on other knowledge-intensive benchmarks. Without identifying which frozen layers helped or hurt where, the experiment could not confirm whether this intervention reliably prevents out-of-domain degradation.
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
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
- Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them
- Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting
- On-Policy RL Meets Off-Policy Experts: Harmonizing Supervised Fine-Tuning and Reinforcement Learning via Dynamic Weighting
- Generalization of RLVR Using Causal Reasoning as a Testbed
- Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoning