Why does RL generalize better than SFT to new domains?
Explores whether RL's out-of-distribution advantage over supervised fine-tuning stems from algorithmic differences or from implicit sample filtering. Understanding this mechanism could guide better training choices for robust vision-language models.
A systematic study of Vision-Language Model post-training finds that Reinforcement Learning's well-documented out-of-distribution advantage over Supervised Fine-Tuning is "data-centric" rather than algorithmic: RL implicitly filters which training samples it learns from. The authors classify each training prompt by how a VLM's G=8 sampled responses score — "Easy, if all G responses are correct; Hard, if all G responses are incorrect; Medium-difficulty, if the responses contain a mixture." Training SFT models on difficulty-stratified subsets shows "training on hard samples improves ID performance but leads to severe OOD degradation, whereas training on medium-difficulty data achieves a more balanced and robust performance." Even a small hard-data share is damaging: "a modest 5% inclusion of hard samples causes significant degradation, reducing accuracy by 3.74% on ImageNet-R and 2.51% on ImageNet-A relative to SFT-EM," which the authors note "is not a threshold effect."
The mechanism the paper gives is the RL advantage term itself. For easy and hard instances, every sampled response receives the same (maximal or minimal) reward, so "the rewards are uniform across all generated responses," producing "a relative advantage Ak = 0 for every response" and "negligible gradient updates." Medium-difficulty instances mix correct and incorrect responses, "producing meaningful advantage estimates and gradients," so RL training is "dominated by these medium-difficulty examples." SFT has no equivalent filter: it applies uniform loss across every example, and the authors' gradient-norm analysis on Qwen2.5-VL-7B finds "hard data produce significantly larger gradient norms throughout training," which "dominate the optimization trajectory" and "encourage overfitting to noisy or ambiguous patterns."
This gives a different answer than Does the choice of RL algorithm actually matter for reasoning?, which locates RL's behavior in the pretrained prior rather than in which training examples get weight — the two accounts could both hold if the prior determines which samples land in the medium-difficulty band. It also offers a structural reason for a case Can step-wise expert rewards help small models learn hard reasoning? treats as a gap to patch: this paper's "hard" category (all rollouts wrong) is exactly where RL's advantage collapses to zero, so SRL's step-wise expert reward is one way to recover signal from the instances RL itself discards. And it adds a causal story to Does supervised fine-tuning actually improve reasoning quality?: SFT's degradation there may trace to the same hard-sample gradient dominance identified here, rather than to SFT as a paradigm per se.
The excerpt does not test whether this difficulty-filtering account generalizes beyond VLMs on classification/grounding/reasoning benchmarks (ImageNet-R/A, RefCOCO, MMK12) to language-only RLVR, nor does it report results past 7B-parameter models or beyond LoRA fine-tuning for most experiments — the authors flag model scale and fine-tuning method as limitations. If the mechanism holds more broadly, it implies the actionable lever for generalization is not the RL/SFT choice itself but data difficulty composition, which the source develops directly into Can filtering hard examples match what reinforcement learning does?.
Inquiring lines that read this note 42
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.
Can AI systems formally evaluate design quality and taste? How important is reward engineering relative to pretraining for reasoning?- Why does geometric reward alone drive most of the accuracy gain over supervised learning?
- How do training distributions surface as structural rather than content errors?
- Does difficulty curation help full-parameter fine-tuning as much as LoRA adaptation?
- What filtering criteria reduced 50,000 webpages to 10,000 training pairs?
- Can approximately on-policy resampling be combined with other continual learning mechanisms?
- Why does KL regularization matter less than commonly assumed?
- Does KL regularization from the base model explain reduced forgetting in RL?
- What counts as hard or medium-difficulty examples in vision-language model training?
- Does this difficulty-filtering mechanism generalize beyond vision tasks to language models?
- What frequency threshold determines if a rare method generalizes out of distribution?
- Can data filtering fix SFT's tendency to learn formatting without physical feasibility?
- Does hard-sample gradient dominance explain SFT's reasoning quality degradation?
- Can reward design alone explain generalization gaps between RL and supervised training?
- Can token-level reweighting within SFT itself close the chart-to-code plateau?
- Does SFT's knowledge loss depend on the amount of training data used?
- Why does SFT cause larger parameter updates in attention mechanisms than GRPO?
- 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?
- 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?
- Why does supervised fine-tuning make larger mid-layer parameter updates than reinforcement learning?
- Why does on-policy sampling reduce forgetting better than off-policy supervised fine-tuning?
- How much does the RL stage improve over supervised fine-tuning alone?
- Does the pretrained model prior determine which samples become medium-difficulty?
- Why do smaller models learn to avoid marginalization instead of improving it?
- How much of ReTool's efficiency gain comes from cold-start data versus RL training?
- Which components of the RL recipe drive its generalization advantage over SFT?
- Can professional design workflows integrate vector generation from pretrained vision-language models?
- What makes code-matching training brittle compared to image-matching training?
- How much does ChartSimRL improve performance over supervised training alone?
- Does preference-aware training outperform distribution-matching objectives for spatial tasks?
- Does preference-tuning in generative models systematically reduce distribution coverage?
- How do visual rewards compare to text-token RL for perception tasks?
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
-
Why does decoupled training beat joint optimization for search decisions?
This explores whether splitting problem-solving and search-decision training into separate stages, combined with reinforcement learning, produces better out-of-distribution generalization than end-to-end training or supervised learning on fixed labels.
another OOD-generalization comparison finding RL-style training beats SFT on fixed labels, consistent with this paper's difficulty-filtering account
-
Can step-wise expert rewards help small models learn hard reasoning?
When small models fail on hard multi-step problems, can training them to match expert reasoning steps rather than final answers provide useful learning signals? This explores whether intermediate-step alignment might overcome the limitations of both supervised fine-tuning and outcome-based reinforcement learning.
targets exactly the "hard" (all-rollouts-wrong) case this paper shows contributes zero RL gradient
-
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.
reports an SFT quality cost this paper's gradient-norm analysis offers a mechanism for
-
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.
locates RL's behavior in the pretrained prior rather than per-sample reward variance, a competing explanation
-
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.
the method this paper builds from the same diagnosis
-
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.
Contradicts: matching SFT's data source and rollout budget to RL closes the gap, so RL's OOD edge isn't intrinsic to hard-sample filtering
-
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.
Evidence for: under matched conditions GRPO has little OOD loss while SFT degrades more on knowledge benchmarks, supporting RL's better OOD generalization
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- 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
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
- Mechanistically Interpreting the Role of Sample Difficulty in RLVR for LLMs
- Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting
- Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them
- Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretraining
- Generalization of RLVR Using Causal Reasoning as a Testbed
Original note title
RL outperforms SFT on OOD generalization by implicitly filtering to medium-difficulty samples — hard data alone drives most of the degradation