TL;DR
On-policy self-distillation (OPSD) is a powerful tool for boosting LLM reasoning, but it is notoriously brittle and difficult to stabilize. This paper reveals that vanilla OPSD is actually a special case ($\beta=1$) of a broader family of KL-regularized policy optimization objectives. By making $\beta$ a controllable parameter ($\beta$-OPSD), the authors smoothly transition the model from its initial state to the teacher's guidance via efficient token-level logit mixing, paired with a return-to-go credit assignment strategy that stabilizes training and significantly boosts downstream math reasoning performance.
What Problem Does This Paper Address?
On-policy self-distillation (OPSD) trains a student model on its own generated trajectories while a teacher model—equipped with privileged information like ground-truth solutions—provides token-level supervision. While promising, OPSD is highly sensitive and requires intense engineering effort to work reliably.
The authors identify two core structural flaws in vanilla OPSD:
- Abrupt Transitions: Standard OPSD forces the student model to directly match the privileged teacher from day one. It lacks a mechanism to control how aggressively the student drifts from its initial policy, leading to optimization instability.
- Myopic Updates: Standard token-local OPSD updates are short-sighted. They evaluate token mismatches instantaneously, completely ignoring how an error in an early token cascades to alter future prefixes and future target mismatches.
Methods
The authors introduce $\beta$-OPSD, a generalized framework that bridges the gap between policy optimization and self-distillation.
1. The Policy Optimization View
By framing the OPSD reward as the log-ratio between the teacher and a reference policy, the authors prove that vanilla OPSD is simply the $\beta=1$ instance of a broader KL-regularized reinforcement learning family. Here, $\beta$ acts as a controllable regularization parameter that anchors the student to a safe reference policy.
2. Closed-Form Target via Logit Interpolation
Directly optimizing this sequence-level RL objective would require expensive rollouts and high-variance advantage estimations. Instead, the authors derive the exact closed-form optimal policy ($\pi_\beta^*$) and find it is a geometric interpolation between the reference policy and the teacher. They implement this cheaply at the token level by linearly mixing the logits of the reference model and the privileged teacher: $$\tilde{z}_t = \left(1 - \frac{1}{\beta_k}\right)z_{\text{ref},t} + \frac{1}{\beta_k}z_{T,t}$$ By scheduling $\frac{1}{\beta_k}$ from conservative values (closer to the student) to higher values (closer to the teacher), they create a smooth distributional curriculum.
3. Return-to-Go Credit Assignment
To fix the myopic gradient problem, the authors use a policy-gradient derivation to replace local token weights with a look-ahead return-to-go weight. This propagates future target mismatches back to earlier tokens, ensuring that early mistakes that derail a reasoning chain are penalized appropriately.
Datasets
- Training: The mathematical reasoning subset of the OpenThoughts dataset. The student model generates solutions conditioned only on the problem prompt, while the teacher model has access to the prompt and the ground-truth solution as privileged context.
- Evaluation: Competition-level mathematical reasoning benchmarks including AIME 2024, AIME 2025, and HMMT 2025.
- Models Tested: The instruct-tuned Qwen3 family (1.7B, 4B, and 8B parameters).
Key Insights and Ideas
- OPSD is Hidden RL: Showing that teacher-matching distillation is mathematically equivalent to a KL-regularized RL objective provides a principled continuum for trading off policy improvement against stability.
- Distillation as a Cheap RL Solver: Rather than deploying heavy RL machinery (like PPO or GRPO), $\beta$-OPSD uses the closed-form solution of an RL problem to define a distillation target. In short: inexpensive distillation approximates the solution of expensive policy optimization.
- Tracking the Evolving Student: Ablation studies revealed that the best reference anchor for the interpolation is a dynamic student model (a stop-gradient copy of the current model) combined with a fixed teacher, rather than keeping both endpoints static.
Key Results
$\beta$-OPSD consistently outperformed vanilla OPSD, Supervised Fine-Tuning (SFT), and GRPO baselines across multiple model scales:
- Qwen3-1.7B: Achieved massive gains over vanilla OPSD, improving
avg@12accuracy by 9.16 percentage points on AIME 2024, 5.27 on AIME 2025, and 2.78 on HMMT 2025. - Scale Resilience: The benefits held true as models scaled up. On Qwen3-4B and Qwen3-8B, $\beta$-OPSD improved the overall average benchmark performance by 1.76 and 1.66 percentage points, respectively, achieving the highest overall average among all post-training methods tested.
- Component Validation: Controlled ablations isolated the effects of both core contributions. Replacing the fixed teacher with the scheduled $\beta$-OPSD target alone improved performance significantly, and adding the return-to-go gradient provided another distinct boost.
Limitations and Future Work
- Linear Schedules Only: The authors restricted their practical implementation to a bounded linear schedule for the teacher weight ($\beta$). They note that non-linear, piecewise, or performance-adaptive schedules might yield even better results.
- Hyperparameter Tuning: How the optimal schedule shifts based on model scale, training budget, and task distribution remains an open question.
- Domain Specificity: The empirical validation was focused entirely on competition-level mathematics. Testing $\beta$-OPSD on code generation, instruction following, or general alignment tasks is left for future exploration.
Summary updated