INQUIRING LINE

Does fine-tuning an AI rewire its brain, while reinforcement learning just nudges which answer it picks?

How do token-level adjustments differ between RL and SFT on non-math inputs?

This explores what RL and supervised fine-tuning (SFT) each change in a model's word-by-word (token-level) predictions, and especially what those changes do to text outside the math tasks the model was trained on.


This explores what RL and supervised fine-tuning each change in a model's token-by-token predictions, and what happens on inputs outside the math they were trained on. The collection doesn't have a study that measures token-level shifts on non-math text directly. It does have a close neighbour, and it suggests a clean answer: RL mostly changes which token the model picks from options it already rates as likely, while SFT changes the model's internals.

The clearest evidence comes from a matched comparison on OLMo-2 Does reinforcement learning preserve knowledge better than supervised fine-tuning?. GRPO, a popular RL method, produced modest math gains and barely hurt the model on knowledge benchmarks. SFT produced bigger math gains but larger losses on everything else. Looking at the parameters explains why. SFT rewrote the model's internals much more heavily, especially the attention mechanism, which affects every input the model sees, math or not. GRPO mostly changed which tokens the model chose and left its overall output distribution largely intact. Put simply, RL amplifies abilities the model already has, and SFT replaces them. On non-math inputs, the parts RL didn't touch keep working.

The surprise is that this difference may not come from the algorithms themselves. One study finds that RL generalizes better partly because it quietly ignores very hard training examples. SFT does the opposite: a few hard samples dominate its gradients and cause most of its losses on unfamiliar inputs Why does RL generalize better than SFT to new domains?. An ablation points to the sampling distribution as the main reason RL transfers better. The KL penalty, usually credited with protecting general abilities, matters surprisingly little Which RL components drive math reasoning transfer gains?. And when SFT trains on outputs from a model close to its own distribution, at a scale matching RL's rollout budget, it catches up to or beats RL Can SFT match or beat RL when data and scale align?. Much of SFT's drastic rewiring seems to come from learning off-distribution text it was never likely to produce, not from SFT itself.

RL's light touch has its own failure mode. When rewards barely vary across attempts at a prompt, the learning signal fades and regularization takes over. The model then drifts into generic templates that ignore the input Why do language models collapse into generic templates?. So RL can also stop responding to what's in front of it. It just gets there by flattening its outputs rather than rewiring itself. A related thread shows that tokens in a reasoning chain differ in importance: models keep symbolic computation tokens and drop grammar and filler first Which tokens in reasoning chains actually matter most?. That hints at a question the collection leaves open. Which kinds of tokens does each method actually move, and are the ones SFT disturbs the ones that matter for ordinary language?


Sources 6 notes

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.

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.

Which RL components drive math reasoning transfer gains?

An ablation study shows sampling distribution is the dominant factor enabling RL's generalization edge, with credit assignment and negative gradient also contributing. KL regularization plays only a subtle role, challenging assumptions about how fine-tuned models preserve general capabilities.

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 do language models collapse into generic templates?

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.

Show all 6 sources
Which tokens in reasoning chains actually matter most?

Greedy likelihood-preserving pruning reveals six functional token categories; symbolic computation tokens are preferentially preserved while grammar and meta-discourse are pruned first. Student models trained on these pruned chains outperform those trained on frontier-model compression.

Papers this line draws on 8

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