Can you predict in advance how much an AI will struggle on unfamiliar tasks, just by measuring how far its training pushed it?
How does KL divergence from the base model predict out-of-domain degradation?
This explores whether how far a fine-tuned model drifts from its original base model, measured by KL divergence, can tell you in advance how much it will get worse on tasks outside its training domain.
This explores whether the distance a model travels from its base model during fine-tuning, measured by KL divergence, can warn you ahead of time that it will get worse outside its training domain. The short answer is that the corpus treats drift as a useful warning sign, but not as a forecast. No note here measures KL divergence and then shows it predicting out-of-domain scores directly. What the notes do show is that low drift tends to go with keeping capabilities, and that a model can end up in the same distance range for very different reasons.
The clearest evidence that drift matters comes from continual learning. Models trained with one method stayed up to 70% closer to their base distribution than models trained with standard RL, and that closeness let them keep learning new tasks after the domain changed. The high-drift models stalled (Does staying close to the base model preserve learning ability?). That result is about losing the ability to learn, not about out-of-domain accuracy. Still, the intuition carries over: the further a model moves, the more of its general-purpose machinery it may have overwritten.
The more surprising finding is about *what* causes the drift. RL is often said to generalize better than supervised fine-tuning (SFT) because it stays closer to the base model. One study found a more specific cause. RL quietly gives less weight to very hard training examples, and in SFT those hard examples alone produce most of the out-of-domain damage (Why does RL generalize better than SFT to new domains?). RL is not safe by default, though: when its training problems are nearly impossible, the rare lucky successes get heavily rewarded, which locks in shortcuts that damage skills the model already had (Do overly hard RLVR samples actually harm model capabilities?). So the useful variable may be which data pulls the model away from its base, more than how far it moves overall. Efforts to stop degradation by freezing parts of the network, rather than controlling the data, gave mixed results: one benchmark improved and others got worse (Can freezing mid-layer parameters prevent SFT's out-of-domain degradation?).
There is also a reason to doubt that any single distance number can do the predicting. A related argument from reward hacking says a distance-based bound tells you the worst case. It does not tell you where the actual failures will land, because that depends on where the errors sit among the behaviors the model can reach (Can distance alone rank which substrates resist reward hacking?). The same logic applies here. Two models with the same KL divergence could have moved in harmless directions or in damaging ones. Models can also score perfectly on standard tests while their internal representations are broken in ways that only show up under distribution shift (Can models be smart without organized internal structure?). This is exactly the kind of damage a single summary number like KL divergence could miss.
Another point: when out-of-domain degradation happens, it may look like a cliff rather than a gradual slide. Heavily specialized models give confidently wrong answers just past their domain boundary, because specialization removed the signals they used to flag uncertainty (Why do specialized models fail outside their domain?). If that's the usual pattern, KL divergence may track rising risk without showing where the cliff starts. To answer the question properly, you would want to look at which directions the model drifted in, not just how far it went.
Sources 7 notes
FST-trained models stay up to 70% closer to their base distribution than parameter-only RL, and this reduced drift preserves the model's ability to learn subsequent tasks effectively. Parameter-only approaches stall when task domains change, while low KL drift enables sustained adaptation.
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.
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.
Direct testing of the mid-layer MLP hypothesis produced conflicting outcomes: performance improved on GPQA:Diamond but degraded on other knowledge-intensive benchmarks. Without identifying which frozen layers helped or hurt where, the experiment could not confirm whether this intervention reliably prevents out-of-domain degradation.
A distance-dependent error bound and capacity ordering are formal statements about limits, not predictions of what systems find. Where evaluator errors sit among reachable behaviors and search effectiveness determine actual exposure, which shifts as the scoring defect location changes.
Show all 7 sources
Models trained with SGD can contain all the linearly decodable features needed for a task while maintaining fundamentally broken internal organization. This makes them vulnerable to perturbation and distribution shift invisible to standard evaluation metrics.
Models optimized for single domains perform exceptionally in-domain but generate confidently incorrect responses outside their scope. This occurs because specialization removes the calibration signals needed to flag uncertainty, making the performance drop abrupt rather than gradual.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
- Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them
- Mechanistically Interpreting the Role of Sample Difficulty in RLVR for LLMs
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model 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
- Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data