Can SFT match or beat RL when data and scale align?
Does the apparent superiority of RL over SFT for reasoning hold up when both methods train on comparable data sources and quantities? This challenges the common assumption that RL inherently generalizes better.
This paper revisits the claim that "RL generalizes, whereas SFT memorizes," arguing the comparisons behind it were unfair to SFT because "the amount of training data for SFT is not aligned with that of RL training." Training Qwen2.5-7B (main results; Qwen3-8B-Base deferred to an appendix) on DAPO math prompts, the authors report that once SFT's training-data source and scale are matched to RL's, the generalization gap closes and can reverse: "With a carefully mixed dataset and a rollout budget matched to RL, SFT achieves promisingly better general reasoning ability than RL, undermining 'RL generalizes, SFT memorizes.'"
Two levers drive this, by the paper's own framing. First, data source: SFT trained on rollouts from "a model closer to the one being fine-tuned" (their own RL-tuned model) generalizes better than SFT trained on rollouts from a larger model (Qwen3-14B), and mixing in "an appropriate amount of more diverse data" from the stronger model improves it further — the best mix they test is roughly 70% RL-tuned-model rollouts to 30% Qwen3-14B rollouts. Second, data scale: scaling the SFT set to match RL's number of correct rollouts "greatly improves SFT generalization," and matching RL's total rollout budget (not just correct ones) brings SFT to parity; combining the matched-source mix with the matched-total-rollout budget (~138,000 prompt-rollout pairs) is what produces the better-than-RL result (Observation 3).
This directly complicates Does supervised fine-tuning actually improve reasoning quality?, which cites "SFT Memorizes, RL Generalizes" cross-domain evidence (visual reasoning) as confirmation that SFT-trained models show "sharp accuracy drops on out-of-distribution examples." This paper's response is not that the memorization pattern is wrong under matched conditions, but that the OOD gap it produces is a data artifact, not an inherent property of the SFT objective. It also complicates Does the choice of RL algorithm actually matter for reasoning?, which holds that "more SFT training before RL makes [exploration] worse" by tightening the pretrained prior — here, SFT alone, given the right data, is the one escaping a ceiling rather than tightening one. And it parallels Does teacher-refined data always improve student model performance?: both findings say that data proximity to the student's own distribution, not the data generator's raw strength, is what makes SFT data effective.
The excerpt does not establish that this result generalizes beyond math reasoning on DAPO, beyond the Qwen2.5/Qwen3 family, or beyond this specific rollout-generation setup (Qwen3-14B as the "stronger" source); the Qwen3-8B-Base replication and full general-reasoning benchmark results are deferred to appendices not included here. The theoretical backing is a training-dynamics analysis of "shallow transformers," an idealized analogue rather than a proof about the actual trained models. The implication the excerpt does support, at the strength it states: "RL generalizes, SFT memorizes" describes a common experimental setup, not a necessary property of the two training methods, and comparisons between them should control for data source and scale before attributing a generalization gap to the method itself.
Inquiring lines that read this note 16
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
How do supervised fine-tuning and reinforcement learning compare in preserving reasoning quality?- Can data filtering fix SFT's tendency to learn formatting without physical feasibility?
- How much of Fin-R1's gain comes from SFT versus the GRPO stage?
- Does hard-sample gradient dominance explain SFT's reasoning quality degradation?
- Does SFT's knowledge loss depend on the amount of training data used?
- Can matching SFT data source to RL rollout budget eliminate the generalization gap?
- Can SFT escape performance ceilings without relying on RL-style exploration?
- How do RL and SFT differ in which parameters they actually modify?
- Why does SFT induce representation drift while RL preserves general domain structure?
- Does the SFT-versus-RL split hold for reasoning tasks beyond math fine-tuning?
- Can instruction-following be recovered after math-focused SFT if using RL instead?
- How do token-level adjustments differ between RL and SFT on non-math inputs?
- How does rollout budget scaling change SFT generalization on reasoning benchmarks?
- What other interventions beyond layer freezing could prevent SFT knowledge-benchmark degradation?
- Does cold-start SFT capability differ fundamentally from RL strategy learning?
Related concepts in this collection 7
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Does supervised fine-tuning actually improve reasoning quality?
While SFT boosts final-answer accuracy, does it degrade the quality and informativeness of the reasoning steps that justify those answers? This matters for high-stakes domains requiring auditable decision-making.
that note treats the SFT-memorizes/RL-generalizes gap as confirmed cross-domain; this paper argues the gap is a data-matching artifact
-
Does the choice of RL algorithm actually matter for reasoning?
Expert Iteration, PPO, and RC-RL show similar performance on reasoning tasks. The question is whether algorithm choice drives results or whether something deeper—like the pretrained model itself—sets the real limits.
contrasts: that note says more SFT tightens the exploration ceiling, while this paper finds correctly-sourced, correctly-scaled SFT can widen generalization past RL
-
Does teacher-refined data always improve student model performance?
Explores whether higher-quality training data from teacher models uniformly benefits student models, or if compatibility with the student's current learning state matters for effective instruction.
parallel: both find data proximity to the student's own distribution, not generator strength, drives effectiveness
-
Do larger SFT datasets actually cover rare solution methods?
Exploring whether scaling up supervised fine-tuning data naturally captures rare, tail solution strategies that large language models use. This matters because it could explain why bigger datasets sometimes close performance gaps with reinforcement learning approaches.
sibling note: the mechanism this paper gives for why scale closes the gap
-
Does math fine-tuning method determine whether models forget other skills?
When models learn math through fine-tuning, do they lose their general capabilities? And does the training approach—not just the data—decide whether that loss happens?
Contradicts A: finds RL-tuned math fine-tuning transfers across domains while SFT-tuned math fine-tuning causes catastrophic forgetting, disputing that matched SFT generalizes as well
-
Can filtering hard examples match what reinforcement learning does?
Does explicitly removing difficult training data from supervised fine-tuning reproduce the generalization gains that reinforcement learning achieves implicitly? This matters because it could reveal whether RL's advantage comes from its reward signal or simply from which examples it trains on.
Evidence for A: DC-SFT, filtering hard VLM samples instead, also surpasses RL's generalization, supporting that properly configured SFT can exceed RL
-
Does reinforcement learning preserve knowledge better than supervised fine-tuning?
When trained on the same math problems with matched hyperparameters, do RL and SFT leave different traces in a model's parameters and knowledge? This matters for understanding whether training method choice affects out-of-domain capability loss.
Contradicts A: under matched conditions SFT shows larger knowledge-benchmark degradation than GRPO, disputing that SFT generalizes as well as RL
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
- On-Policy RL Meets Off-Policy Experts: Harmonizing Supervised Fine-Tuning and Reinforcement Learning via Dynamic Weighting
- Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
- Generalization of RLVR Using Causal Reasoning as a Testbed
- Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting
- Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoning
- RL Squeezes, SFT Expands: A Comparative Study of Reasoning LLMs
Original note title
matching sft data source and rollout budget to rl lets sft generalize as well as or better than rl — complicating rl generalizes sft memorizes