Gains and Collapse in On-Policy Distillation:A Reinforcement Learning Perspective
cs.AI, cs.CL
Submitted: 2026-10-02
Updated: 2026-10-02
Code: https://github.com/HancCui/opd_hacking
Project page: https://hanccui.github.io/opd_hacking
License: http://creativecommons.org/licenses/by/4.0/
The gist: On-policy distillation (OPD) has become an important approach to language model post-training.
Terminology
Abstract
On-policy distillation (OPD) has become an important approach to language model post-training. However, despite its performance gains, OPD can also collapse into excessively long and repetitive generation, and the mechanism underlying these divergent outcomes remains poorly understood. We explain these outcomes through a reinforcement learning perspective: the teacher implicitly rewards student behaviors, even those it rarely exhibits itself. From this perspective, our experiments show that OPD improves performance without expanding the student's capabilities. When the implicit reward model is reliable, OPD makes correct responses easier to sample. In contrast, when the preference misaligns with quality, reward hacking happens: the implicit reward model amplifies overlong, repetitive student rollouts, even though it rarely generates such text itself. Guided by this diagnosis, we find that masking unhealthy responses during training and using SFT initialization can each effectively mitigate the collapse. Together, these findings show that OPD amplifies student behaviors favored by the teacher's implicit feedback, shifting the focus from how well the teacher generates to how reliably it evaluates student rollouts. Our code is available at https://github.com/HancCui/opd hacking.
Sources
- On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes
- Evaluating Large Language Models Trained on Code
- DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
- Revisiting On-Policy Distillation: Empirical Failure Modes and Simple Fixes
- MiniLLM: On-Policy Distillation of Large Language Models
- OpenThoughts: Data Recipes for Reasoning Models
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- JustRL: Scaling a 1.5B LLM with a Simple RL Recipe
- Self-Distillation Zero: Self-Revision Turns Binary Rewards into Dense Supervision
- On-Policy Delta Distillation
- Distilling the Knowledge in a Neural Network
- Trajectory-Refined Distillation
- Kimi K3: Open Frontier Intelligence
- RRM: Robust Reward Model Training Mitigates Reward Hacking
- Understanding R1-Zero-Like Training: A Critical Perspective
- Demystifying OPD: Length Inflation and Stabilization Strategies for Large Language Models
- Orca 2: Teaching Small Language Models How to Reason
- Orca: Progressive Learning from Complex Explanation Traces of GPT-4
- Demystifying On-Policy Distillation: Roles, Pathologies, and Regulations
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems