TL;DR
This paper investigates whether excelling at math reasoning in Large Language Models (LLMs) translates to broader capabilities. Surprisingly, they find that while Reinforcement Learning (RL) fine-tuning on math data leads to good generalization across various tasks, Supervised Fine-Tuning (SFT) often results in "catastrophic forgetting" of non-math skills. This suggests a need to re-evaluate standard SFT-based post-training methods for advancing LLM reasoning.
What Problem Does This Paper Address?
The field of LLMs has seen remarkable progress in math reasoning capabilities, with models achieving human-level performance on benchmarks like MATH and AIME. However, this success raises a crucial question: does this specialized math proficiency indicate a general improvement in problem-solving abilities, or is it merely a result of overfitting to math-specific data? The authors aim to understand if these math reasoning gains transfer to other domains, such as scientific QA, coding, and general instruction following, and what factors influence this transferability.
Methods
The researchers employed a multi-pronged approach:
- Large-scale Audit: They evaluated over 20 existing open-weight reasoning-tuned LLMs on a diverse set of tasks (math, scientific QA, agent planning, coding, instruction-following).
- Controlled Study: To isolate the impact of fine-tuning methods, they conducted experiments on the Qwen3-14B model using math-only data. They compared two primary fine-tuning paradigms:
- Supervised Fine-Tuning (SFT): Models were trained on teacher-generated chain-of-thought traces.
- Reinforcement Learning (RL): Models were trained using answer correctness as a reward signal.
- Diagnostic Tools: To understand the underlying mechanisms of transferability, they used:
- Principal Component Analysis (PCA) on latent representations: This helps visualize how the model's internal feature geometry changes after fine-tuning.
- KL-divergence on token distributions: This quantifies the shift in the model's output probabilities for tokens.
Datasets
- Training Data:
- A curated set of 47K high-quality mathematics problems (from DeepScaler and SimpleRL datasets).
- For controlled experiments, math-only data was used.
- For some models, a larger dataset from General-Reasoner (covering reasoning and non-reasoning tasks) was also used.
- Evaluation Benchmarks:
- Math Reasoning: MATH500, AIME24, AIME25, OlympiadBench.
- Other Reasoning: LiveCodeBench, GPQA-Diamond, ACPBench, HeadQA.
- Non-Reasoning: CoQA, IFEval, HaluEval, MC-TACO.
Key Insights and Ideas
- The "Math is Not Enough" Phenomenon: The most striking finding is that excelling at math reasoning does not automatically translate to broad LLM capabilities. Many models that perform well on math benchmarks struggle to transfer these gains to other domains.
- RL vs. SFT: A Tale of Two Paradigms: Reinforcement Learning (RL) fine-tuning on math data leads to surprisingly good generalization across both reasoning and non-reasoning tasks. In contrast, Supervised Fine-Tuning (SFT) on math data often causes models to "forget" their general capabilities, leading to performance degradation on non-math tasks.
- Latent Space Stability is Key: PCA analysis reveals that SFT induces significant "drift" in the model's internal representations, especially for non-reasoning inputs. RL, however, preserves the geometry of internal features and maintains more stable latent representations, which is crucial for cross-domain transfer.
- Token Distribution Shifts: KL divergence and token rank analyses show that RL selectively adjusts a small set of task-relevant tokens, while SFT often shifts numerous irrelevant tokens, leading to overthinking or misdirection.
Key Results
- Transferability Index: The authors introduce a "Transferability Index" to quantify how well reasoning models transfer their capabilities. RL-tuned models consistently show higher positive indices for both other-reasoning and non-reasoning tasks compared to SFT models, which often exhibit negative indices for non-reasoning tasks.
- Controlled Study Performance: In the controlled study with Qwen3-14B, RL-tuned models showed significant gains on math reasoning while also preserving or improving performance on other reasoning and non-reasoning tasks. SFT-tuned models, however, showed limited transfer and sometimes performance degradation on non-math tasks. For instance, UniReason-Qwen3-14B (RL) achieved better generalization across tasks than its SFT counterpart.
- PCA Shift Magnitudes: Table 2 shows that RL models consistently exhibit lower mean PCA shift magnitudes across math, other-reasoning, and non-reasoning tasks compared to SFT models. For example, UniReason-Qwen3-14B (RL) had a mean PCA shift of 8.5 for math, while UniReason-Qwen3-14B-think (SFT) had 19.2.
Limitations and Future Work
- Model Size and Architecture: While the study highlights the importance of the fine-tuning paradigm, the authors acknowledge that model size and architecture also play a role in transferability. Larger models generally show reduced PCA shifts, indicating more stable latent representations.
- Tailoring RL Strategies: The authors suggest that RL strategies might need to be tailored to specific model architectures and pre-training data, as seen in the comparison between Qwen and Llama models.
- Future Directions: The authors propose extending their work by:
- Exploring hybrid fine-tuning recipes to optimize the trade-off between reasoning and non-reasoning tasks.
- Developing adaptive regularization strategies for different model sizes and architectures.
- Creating more comprehensive evaluation tools for multi-modal, long-context, and interactive generation settings.
Summary updated