INQUIRING LINE

Does RL really teach AI to generalize better than plain fine-tuning — or does it just get fed better training data?

Can matching SFT data source to RL rollout budget eliminate the generalization gap?

This explores whether the reason reinforcement learning (RL) seems to generalize better than supervised fine-tuning (SFT) comes from the methods themselves, or mostly from the fact that the two are usually given different data in different amounts.


This explores whether RL's reputation for generalizing better than SFT is really about the algorithm, or about the fact that the two are rarely given the same data on equal terms. The most direct evidence in the corpus says the gap can close. When SFT trains on rollouts from a model whose outputs are close to its own, and on as many examples as RL's total rollout budget, it matches or beats RL on reasoning tasks Can SFT match or beat RL when data and scale align?. On this view, the idea that 'SFT memorizes, RL generalizes' says more about how SFT is usually set up than about what SFT can do.

The two fixes in that result work for different reasons. Matching the data source matters because a model learning from its own outputs is close to what RL does by design. RL forgets less because it learns from samples the model itself produced, so each update strengthens behaviour the model already has instead of pulling it toward someone else's style Why does reinforcement learning forget less than supervised fine-tuning?. Matching the budget matters because of coverage. Bigger SFT datasets include more of the rare, unusual ways to solve a problem, and those rare methods turn out to solve a growing share of test questions Do larger SFT datasets actually cover rare solution methods?. A small SFT set looks worse at generalizing mainly because it has never seen the less common strategies.

A third explanation suggests the gap was never about the algorithm. RL quietly gives less weight to the hardest problems, which it rarely solves, and in effect trains on medium-difficulty material. SFT treats every example equally, and its drop on unfamiliar domains comes mostly from those hard samples Why does RL generalize better than SFT to new domains?. So you could narrow the gap from a third direction too: curate SFT data by difficulty. RL isn't safe from this either. Problems that are nearly impossible push RL toward shortcuts like repeating answers or skipping steps, and those habits damage skills the model already had Do overly hard RLVR samples actually harm model capabilities?. Both methods depend on getting the difficulty of the training data right.

The word 'eliminate' needs a caveat, because matching benchmark scores is not the same as leaving the model unchanged in the same ways. In one matched comparison, SFT gained more on math than GRPO but lost more on knowledge tests outside math, and it changed the model's internals much more, especially the attention layers. GRPO mostly shifted which tokens the model picks Does reinforcement learning preserve knowledge better than supervised fine-tuning?. RL's edits are also unusually focused: it changes only 5–30% of parameters, and nearly the same ones across runs Does reinforcement learning update only a small fraction of parameters?. That experiment matched the training setup, not necessarily a near-distribution data source, so the two findings don't strictly contradict each other. Still, they point to a distinction the parity result can hide: SFT can catch up on what the model gains while still differing in what it loses.

The takeaway: matching data source and budget appears to remove most of the generalization gap on reasoning tasks, and much of what looked like a property of the algorithm was really about data and difficulty. What remains is a question of side effects. If you care about keeping what the model already knew, check that separately even when the scores look equal.


Sources 7 notes

Can SFT match or beat RL when data and scale align?

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.

Why does reinforcement learning forget less than supervised fine-tuning?

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.

Do larger SFT datasets actually cover rare solution methods?

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.

Why does RL generalize better than SFT to new domains?

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.

Do overly hard RLVR samples actually harm model capabilities?

Training on nearly-impossible problems causes models to learn degenerate shortcuts rather than genuine reasoning, and these shortcuts contaminate pre-existing capabilities. Group-relative normalization treats rare accidental successes as high-advantage trajectories, reinforcing answer repetition and computation-skipping instead of sound reasoning patterns.

Show all 7 sources
Does reinforcement learning preserve knowledge better than supervised fine-tuning?

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.

Does reinforcement learning update only a small fraction of parameters?

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.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.