Why does an AI forget less when it learns from its own answers than when it's trained to copy a fixed set of examples?
Why does on-policy sampling reduce forgetting better than off-policy supervised fine-tuning?
This explores why fine-tuning a model on its own outputs (on-policy, as in reinforcement learning) wipes out less of what it already knew than training it to copy a fixed set of example answers (off-policy supervised fine-tuning).
This explores why training a model on its own outputs damages less of its existing knowledge than training it to imitate a fixed dataset. The corpus's clearest answer is about the shape of the update rather than the reward signal. When a model learns from samples it generated itself, each update sharpens behaviors it already produces. In the jargon, the update is "mode-seeking": it strengthens one peak of the model's existing distribution and leaves the other peaks, its other skills and knowledge, mostly alone. Supervised fine-tuning is "mode-covering": it pulls the whole distribution toward the target data, so it wears down everything at once, including things that had nothing to do with the new task Why does reinforcement learning forget less than supervised fine-tuning?.
The weights show this directly. In matched experiments on OLMo-2, GRPO mainly changed which tokens the model picks and left its overall output distribution largely in place. SFT rewired more of the model, especially the attention layers. SFT gained more on math and lost more everywhere else Does reinforcement learning preserve knowledge better than supervised fine-tuning?. A separate study found that RL touches only 5–30% of parameters. The touched set is nearly the same across random seeds, which points to a consistent internal pathway rather than random scattered edits Does reinforcement learning update only a small fraction of parameters?. One plain way to put it: RL amplifies what the model already has, and SFT overwrites it.
Here's the part you may not have expected to want. You don't need full RL to get most of this protection. Iterative-SFT regenerates the training data from the current model once per epoch instead of at every step, and it resists forgetting about as well as RL at a fraction of the compute. The benefit levels off well before you pay for fully on-policy generation Can cheaper data resampling match reinforcement learning's forgetting resistance?. So the protection comes mostly from keeping the training data close to what the model would say anyway, not from the RL machinery. A related finding gives a second, complementary explanation. RL quietly down-weights very hard examples, and those are the ones that dominate SFT's gradients and cause most of its damage outside the training domain Why does RL generalize better than SFT to new domains?.
Mode-seeking has a cost. The same tendency that protects old knowledge can also squeeze out variety. RL post-training locks onto one output format from pretraining within the first epoch and suppresses the alternatives Does RL training collapse format diversity in pretrained models?. When rewards vary little across a model's attempts at the same prompt, it can collapse into generic, one-size-fits-all templates Why do language models collapse into generic templates?. On-policy training preserves breadth of knowledge, but it can narrow the range of ways the model expresses itself.
Other work sidesteps the question by not changing the core weights at all. Some approaches freeze the main model and train a small helper alongside it Can continuous reasoning avoid forgetting in instruction-tuned models?. Others store learned skills in an external library the agent can reuse Can agents learn new skills without forgetting old ones?, or let an agent improve through episodic memory alone Can agents learn continuously from experience without updating weights?. One gap stands out: the corpus notes that at least one leading account of how fine-tuning causes misalignment hasn't been tested in on-policy settings yet. So the safety side of this story is less settled than the forgetting side Does the representational distance account work for on-policy training?.
Sources 11 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.
Across seven RL algorithms and ten LLM families, RL induces intrinsic parameter sparsity of 5–30% without explicit regularization. Critically, these sparse updates are nearly full-rank and nearly identical across random seeds, indicating structural rather than arbitrary parameter selection.
Iterative-SFT, which resamples data once per epoch rather than per training step, reaches comparable forgetting resistance to full on-policy RL while requiring substantially less computation. The benefit of on-policy data saturates before reaching maximum per-step generation cost.
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.
Show all 11 sources
Controlled experiments show RL consistently amplifies one format distribution from pretraining within the first epoch while collapsing alternatives. The winning format depends on model scale, not necessarily performance, and is largely hidden when starting from proprietary pretrained models.
When within-prompt reward variance is low, task gradients weaken and regularization dominates, pushing policies toward generic outputs. SNR-Aware Filtering—selecting high-variance prompts before updates—recovers performance across tasks and scales.
SoftCoT avoids catastrophic forgetting by keeping the main LLM frozen while delegating soft thought generation to a small auxiliary model. This architectural separation maintains pre-trained knowledge while enabling continuous reasoning.
VOYAGER demonstrates that storing executable skills in an embedding-indexed library and composing complex skills from simpler ones allows agents to learn continuously while avoiding the forgetting that occurs with weight-update-based methods. Environmental feedback refines skills while an automatic curriculum drives continual exploration.
AgentFly formalizes agent learning as a Memory-augmented MDP with three memory modules (case, subtask, tool) that enable credit assignment and policy improvement entirely through memory operations. The approach achieved 87.88% on GAIA validation without modifying LLM parameters.
The paper's emergent misalignment framework uses distance-to-centroid, which requires a fixed dataset, but leaves on-policy RL and distillation as future work despite citing reward hacking in those settings as key evidence of misalignment.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting
- Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
- Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data
- Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretraining
- Mechanistically Interpreting the Role of Sample Difficulty in RLVR for LLMs
- On-Policy RL Meets Off-Policy Experts: Harmonizing Supervised Fine-Tuning and Reinforcement Learning via Dynamic Weighting
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
- Reinforcement Learning Finetunes Small Subnetworks in Large Language Models