Executive Summary
When adapting large language models (LLMs) to new tasks via post-training, they often suffer from catastrophic forgetting—a phenomenon where acquiring new capabilities degrades existing ones. This paper systematically compares two dominant post-training paradigms: Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL). The findings demonstrate that RL is significantly better at preserving prior knowledge. The underlying reason is RL's reliance on "on-policy" data (learning from the model's own current generations), which allows it to target new tasks without disrupting the model's underlying distribution of prior skills.
The Challenge of Catastrophic Forgetting
Adapting a pre-trained model to a specific task, such as following complex instructions or solving mathematical equations, usually requires post-training. However, this adaptation frequently incurs an "alignment tax": as the model improves on the target task, its performance on general knowledge or safety benchmarks deteriorates.
While the research community has long recognized that both SFT and RL can induce forgetting, there has been a lack of systematic comparison regarding which method is more destructive and why. This paper fills that gap, challenging the conventional wisdom that SFT—which attempts to cover the entire target distribution—should be more stable than RL, which is notoriously "mode-seeking" and narrowly focused.
Experimental Setup and Methodology
The authors conducted a head-to-head comparison between Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL), specifically utilizing the Group Relative Policy Optimization (GRPO) algorithm.
To unpack the mechanics of forgetting, the study employed a two-pronged approach:
- Empirical Benchmarking: The researchers trained various models (Llama-3.2-1B, Llama-3.1-8B, Qwen-2.5-1.5B, and Qwen-2.5-7B) on specific target tasks and measured the subsequent performance drop on unrelated tasks.
- Theoretical Simulation: The LLM was modeled as a "mixture of Gaussians"—a mathematical representation of a model possessing multiple distinct skills or "modes." This simulation visualized how the model's internal probability mass shifts during training under different objectives (Forward KL for SFT versus Reverse KL for RL).
Datasets Evaluated: * Target Capabilities: Instruction Following (IFEval), General Knowledge (MMLU), and Arithmetic Reasoning (Countdown). * Non-Target Tasks (Measuring Forgetting): Harder mathematics (MATH) and Safety Benchmarks (WildJailbreak and WildGuardTest).
Key Insights: Why RL Outperforms SFT
The Multi-Modal Advantage
Conventional wisdom suggests that SFT is "mode-covering" (attempting to learn everything in the training set), which theoretically sounds optimal for preserving knowledge. However, the authors demonstrate that because LLMs are multi-modal (containing many distinct "modes" of knowledge), SFT's attempt to cover a new task actually "stretches" the model's distribution. This stretching pulls probability mass away from previously learned skills. Conversely, RL is "mode-seeking." It simply shifts one specific mode toward the new task, leaving the "old" modes of knowledge largely untouched.
On-Policy is the Secret Sauce
The robustness of RL is not derived from complex algorithmic choices like advantage estimation or KL regularization. The mechanism is much simpler: RL learns from the model's current state. By actively "doing" the task and receiving feedback on its own outputs (on-policy data), the model remains grounded in its existing capabilities.
"Approximately On-Policy" is Enough
Practitioners do not necessarily need full-blown RL to mitigate forgetting. The authors tested Iterative-SFT, where the model is fine-tuned on self-generated data at the start of each epoch. Generating a fresh batch of "self-correction" data captures most of the retention benefits of RL at a fraction of the computational complexity.
Empirical Results
- RL Consistently Beats SFT: Across all evaluated tasks and model families, RL achieved comparable or superior target task gains with drastically lower forgetting. For instance, on the Llama 3.1 8B model, SFT gained 25.2% on IFEval but suffered a severe 27.8% drop in other areas. In contrast, RL gained 18.4% on the target task while only dropping 3.4% elsewhere.
- Safety Retention: SFT proved particularly destructive to safety guardrails. RL-tuned models remained significantly more resistant to "jailbreaks" than their SFT-tuned counterparts.
- Avoiding the Learning Rate Trap: In SFT, high learning rates are often necessary to reach peak performance, but this accelerates catastrophic forgetting. RL avoids this trade-off entirely, reaching high target performance while keeping the performance drop on prior knowledge near zero.
Limitations and Future Directions
- Scale: While the study tested models up to 8 billion parameters, the dynamics of forgetting might shift in "frontier" models (70B+ parameters) where the density of knowledge is substantially higher.
- Theoretical Depth: The Gaussian mixture model provides excellent intuition, but a formal theoretical proof explaining why on-policy data prevents forgetting in high-dimensional neural networks remains an open challenge.
- Sequential Learning: The current paper focuses on learning a single new task. Future research should investigate whether RL's retention advantages hold up over a long sequence of tasks in a continual learning setting.
Summary updated