Gains and Collapse in On-Policy Distillation:A Reinforcement Learning Perspective

Hugging Face Daily Papers Papers

Summary

This paper analyzes on-policy distillation (OPD) for language model post-training through a reinforcement learning lens, explaining why OPD both improves performance and can collapse into repetitive generation. It finds that masking unhealthy responses during training and SFT initialization can mitigate collapse, shifting focus from teacher generation quality to its ability to evaluate student rollouts.

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.
Original Article
View Cached Full Text

Cached at: 10/08/26, 12:13 PM

Paper page - Gains and Collapse in On-Policy Distillation:A Reinforcement Learning Perspective

Source: https://huggingface.co/papers/2610.03185

Abstract

On-policydistillation(OPD)hasbecomeanimportantapproachtolanguagemodelpost-training.However,despiteitsperformancegains,OPDcanalsocollapseintoexcessivelylongandrepetitivegeneration,andthemechanismunderlyingthesedivergentoutcomesremainspoorlyunderstood.Weexplaintheseoutcomesthroughareinforcementlearningperspective:theteacherimplicitlyrewardsstudentbehaviors,eventhoseitrarelyexhibitsitself.Fromthisperspective,ourexperimentsshowthatOPDimprovesperformancewithoutexpandingthestudent’scapabilities.Whentheimplicitrewardmodelisreliable,OPDmakescorrectresponseseasiertosample.Incontrast,whenthepreferencemisalignswithquality,rewardhackinghappens:theimplicitrewardmodelamplifiesoverlong,repetitivestudentrollouts,eventhoughitrarelygeneratessuchtextitself.Guidedbythisdiagnosis,wefindthatmaskingunhealthyresponsesduringtrainingandusingSFTinitializationcaneacheffectivelymitigatethecollapse.Together,thesefindingsshowthatOPDamplifiesstudentbehaviorsfavoredbytheteacher’simplicitfeedback,shiftingthefocusfromhowwelltheteachergeneratestohowreliablyitevaluatesstudentrollouts.Ourcodeisavailableathttps://github.com/HancCui/opd_hacking.

View arXiv pageView PDFProject pageGitHub2Add to collection

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2610.03185 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2610.03185 in a dataset README.md to link it from this page.

Spaces citing this paper1

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

The Many Faces of On-Policy Distillation: Pitfalls, Mechanisms, and Fixes

Hugging Face Daily Papers

This paper presents a comprehensive empirical study on on-policy distillation for large language models, identifying failure mechanisms like distribution mismatch and optimization instability, and proposing fixes such as stop-gradient objectives and RLVR-adapted teachers.

Understanding Off- vs On-Policy Distillation: A Tale of Distinct Training Objectives

arXiv cs.LG

This UCLA paper theoretically analyzes on-policy distillation (OPD) versus off-policy/SFT-style distillation, showing how forward and reverse KL objectives aggregate multiple teachers into arithmetic vs geometric mixtures, establishing logarithmic regret bounds, and explaining both the benefits and fragility of OPD (e.g., sensitivity to low-probability teachers and incorrect-prefix bias).

Learning to Foresee: Unveiling the Unlocking Efficiency of On-Policy Distillation

arXiv cs.CL

This paper investigates the parameter-level mechanisms behind the efficiency of On-Policy Distillation (OPD) for large language models, attributing it to early 'foresight' in module allocation and update direction. It proposes EffOPD, a plug-and-play method that accelerates OPD training by 3x without compromising final performance.