TL;DR
This paper introduces GIFT, a novel initialization strategy for Large Reasoning Models (LRMs) that bridges the gap between Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL). By treating SFT as a finite-temperature Gibbs distribution instead of a rigid, zero-temperature imitation, GIFT preserves crucial prior knowledge and exploration capabilities, leading to significantly improved performance in reasoning tasks.
What Problem Does This Paper Address?
The standard post-training pipeline for Large Reasoning Models (LRMs) involves two stages: Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL). SFT trains models to mimic expert demonstrations by minimizing cross-entropy loss. However, this process often leads to "distributional collapse," where the model's output distribution becomes overly deterministic and narrow, effectively suppressing the exploration space needed for the subsequent RL stage. RL, on the other hand, requires a diverse and exploratory policy to discover optimal reasoning paths. This inherent mismatch between the rigid supervision of SFT and the exploratory nature of RL creates a bottleneck, limiting the overall performance of LRMs. The paper aims to reconcile these two stages by proposing a principled initialization method that bridges this optimization gap.
Methods
The core of the proposed method, GIFT (Gibbs Initialization with Finite Temperature), is to reformulate the SFT objective. Instead of treating SFT as a zero-temperature limit that forces the model to perfectly imitate expert tokens (leading to distributional collapse), GIFT views SFT as a finite-temperature Gibbs distribution. This approach incorporates expert supervision as a "finite-temperature energy potential," which acts as a continuous re-weighting of the base model's distribution rather than a destructive overwrite.
The paper derives this approach from an "idealized global objective" for post-training, which aims to maximize expected rewards while staying anchored to the base model's knowledge. The closed-form solution to this idealized objective is a Gibbs distribution. GIFT then derives a principled initial policy for the RL stage by aligning the standard SFT output with this Gibbs distribution, effectively introducing a finite inverse temperature parameter ($\beta$). This parameter controls the trade-off between exploiting expert data and preserving the exploratory priors of the base model. The implementation involves a token-level approximation of this target distribution for efficient training.
Datasets
- DeepMath-103k: A large-scale, decontaminated mathematical reasoning dataset used for training and evaluating the models.
- Evaluation Benchmarks:
- Mathematical Reasoning: GSM8K, Math500, AIME24, AIME25.
- Code Reasoning: HumanEval-plus, MBPP-plus.
- Out-of-Distribution (OOD) Benchmarks: GPQA, MMLU-Pro, MMLU-Redux, ARC-Challenge.
- Open-ended Generation: MT-Bench.
Key Insights and Ideas
- SFT as a "Zero-Temperature" Limit: Standard SFT, by minimizing cross-entropy, effectively forces the model into a degenerate zero-temperature state, leading to a rigid, deterministic output distribution that stifles exploration.
- GIFT as a "Finite-Temperature" Bridge: GIFT reinterprets SFT as a finite-temperature Gibbs distribution, allowing it to incorporate expert supervision as a soft constraint that preserves the base model's prior knowledge and encourages a more diverse output.
- Reconciling Objectives: The key insight is that SFT should not be treated as a separate, disjoint task but as an explicit, mathematically aligned initialization for RL within a unified post-training framework.
- Inverse Temperature ($\beta$) as a Trade-off Regulator: The finite inverse temperature parameter in GIFT is crucial for balancing the exploitation of expert data with the preservation of exploration potential, directly addressing the alignment-exploration trade-off.
- Preserving Generalization: By avoiding distributional collapse, GIFT helps models retain their general knowledge and capabilities, leading to better performance on out-of-distribution tasks.
Key Results
- Reasoning Performance: GIFT significantly outperforms standard SFT and other competitive baselines on various reasoning benchmarks. For example, on Qwen2.5-7B, GIFT achieved an average pass@1 of 59.55%, a 4.49% improvement over standard SFT. On the challenging AIME benchmark, GIFT showed a nearly 10% gain over standard SFT.
- OOD Generalization: GIFT demonstrates robust generalization capabilities, mitigating the catastrophic forgetting often seen with standard SFT variants.
- Exploration Potential: GIFT shows superior pass@k scaling compared to standard SFT, indicating a more diverse output distribution and better exploration capabilities, especially at higher k values.
- Geometric and Distributional Consistency: GIFT maintains better geometric consistency (cosine similarity, L2 distance) and distributional consistency (KL divergence, token overlap) throughout the post-training process, suggesting a more stable and coherent optimization trajectory.
- Open-ended Generation: On MT-Bench, GIFT achieved the highest overall scores, demonstrating its ability to maintain generalizability in unconstrained conversational settings.
Limitations and Future Work
- Computational Requirements: Evaluating GIFT's scaling properties on massive-scale LLMs is currently limited by substantial computational resources.
- Benchmark Specificity: The current empirical validation primarily focuses on standard benchmarks within specific linguistic boundaries.
- Future Work: Extending the policy optimization approach to highly specialized domains or comprehensive multilingual settings is suggested as a natural avenue for future research.
Summary updated