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?
The paper audits over 20 open-weight reasoning-tuned models across math, scientific QA, agent planning, coding, and instruction-following benchmarks, finding "most models that succeed in math fail to transfer their gains to other domains." To isolate the cause, the authors run a controlled study, fine-tuning Qwen3-14B-Base on the same math dataset (derived from MATH and DeepScaler) two ways: SFT on teacher-generated (Qwen3-32B) chain-of-thought traces, and RL (GRPO) on answer-correctness reward alone, producing a model they call UniReason. "RL-tuned models generalize well across domains, while SFT-tuned models often forget general capabilities," despite both starting from identical math-only data. UniReason-Qwen3-14B-RL, trained on 47K math examples, achieves "the strongest balance of reasoning gains and general-domain retention among compared models."
Two diagnostics explain the split. Latent-space PCA across layers shows SFT induces "substantial representation and output drift," especially on non-reasoning inputs, while RL "preserves general-domain structure" — RL models show "the lowest PCA shift magnitudes" and "minimal and tightly clustered latent shifts" across benchmark groups, where SFT models (particularly those without explicit reasoning signals) show "more scattered shifts." Token-level KL-divergence and rank-shift analysis finds the same pattern in output space: RL selectively adjusts a small set of task-relevant tokens, while SFT perturbs many irrelevant ones.
This complicates Why do better reasoning models ignore instructions?, which found reasoning training broadly degrades instruction adherence — this paper suggests that degradation is not inherent to reasoning training itself but tied to the SFT paradigm specifically, with RL preserving the capability SFT erodes. It extends Does supervised fine-tuning actually improve reasoning quality? by locating SFT's cost in cross-domain retention rather than only in-domain reasoning quality. It also offers a different mechanism than Why does reasoning training help math but hurt medical tasks?: whole-model PCA shift and token-distribution drift, rather than layer localization, as the explanatory tool. A companion finding on which part of the RL recipe actually drives this is in Which RL components drive math reasoning transfer gains?.
The excerpt does not report the controlled study's actual benchmark accuracy numbers beyond qualitative description, nor the Transferability Index values per model, nor which of the 20+ audited models succeeded versus failed at transfer. It also does not establish whether the SFT/RL split holds for domains beyond math-sourced reasoning data. If it generalizes, the post-training paradigm — not just the training data's domain — may be the deciding factor in whether specialized fine-tuning erodes a model's general competence.
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 do better reasoning models ignore instructions?
As models develop stronger reasoning abilities through training, they appear to become worse at following specified constraints. Is this an unavoidable trade-off, and what causes it?
complicates that trade-off by showing degraded instruction-following as an SFT effect, not inherent to reasoning training, since RL preserves it
-
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.
extends by showing SFT's cost includes cross-domain retention, not only in-domain reasoning quality
-
Why does reasoning training help math but hurt medical tasks?
Explores whether reasoning and knowledge rely on different network mechanisms, and why training one might undermine the other across different domains.
offers a different mechanism (PCA shift and token drift) for the same transfer-failure phenomenon
-
Which RL components drive math reasoning transfer gains?
RL fine-tuning outperforms SFT for cross-domain transfer in math reasoning, but which components of the RL recipe—sampling distribution, credit assignment, negative gradient, or KL regularization—are actually responsible for this advantage?
the sibling note on which RL recipe component actually drives this transfer advantage
-
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.
Qualifies: matching SFT's data source and rollout budget to RL's lets SFT match or beat RL, undercutting A's RL-transfers/SFT-forgets dichotomy
-
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: a matched-setup study also finds SFT causes larger out-of-domain degradation than GRPO, replicating A's RL-transfers/SFT-forgets pattern
-
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.
Evidence for: hard-sample gradient norms are offered as the mechanism behind SFT's worse out-of-domain generalization versus RL, as A found
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting
- Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoning
- Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretraining
- LLMs can implicitly learn from mistakes in-context
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training
- Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Knowledge or Reasoning? A Close Look at How LLMs Think Across Domains
Original note title
rl-tuned math fine-tuning transfers to other domains while sft-tuned math fine-tuning causes catastrophic forgetting