arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.03185

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

Han Cui, Jianhao Yan, Yun Luo, Hongbo Zhang, Zhizhang Fu, Yue Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Han Cui ∗^{*}

Zhejiang University

Westlake University

cuihan@westlake.edu.cn

Jianhao Yan ∗^{*}

Westlake University

Hongbo Zhang

Zhejiang University

Westlake University

Yun Luo ∗^{*}

Westlake University

Zhizhang Fu

Westlake University

Yue Zhang †^{\dagger}

Westlake University

zhangyue@westlake.edu.cn

: https://github.com/HancCui/opd_hacking

: https://hanccui.github.io/opd_hacking

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.

Figure

Accurate

Teacher

Preference

[Correct: 771 tokens]

"Jen has exactly 2 of the chosen 4 numbers:... So the number of ways is 115 ... P (grand prize | prize) = 1/115... 116."

Figure

Biased

Teacher

Preference

[Incorrect: 7311 tokens]

"17,499,840... Wait, this is... Let's go back... But this is not correct... Wait, for the last, ... Wait, this is not correct."

Figure 1: OPD amplifies what the student already samples. The teacher scores student-generated trajectories rather than supplying training trajectories of its own; the examples illustrate how its preferences can amplify either coherent or degenerate student behavior.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

1 Introduction

On-policy distillation (OPD) has become an important approach for developing frontier language models and has been adopted in large-scale post-training pipelines [DeepSeek-AI et al., 2026, Kimi Team et al., 2026, Xiao et al., 2026, Yang et al., 2025, Zeng et al., 2026]. At each iteration, the current student samples its own responses, and the teacher supervises it through token-level KL divergence at student-generated prefixes [Agarwal et al., 2024, Gu et al., 2024]. While prior work has demonstrated the potential of OPD to improve student performance, recent studies have reported unstable training and degenerate behaviors, including excessive response length and repetition [Li et al., 2026, Zhu et al., 2026]. It remains unclear what OPD actually learns during training, and why this learning process can sometimes lead to collapse.

In this paper, we view OPD from an RL perspective, in which the teacher implicitly rewards the student's own responses. We investigate OPD on mathematical tasks using different types of teachers, including RL-trained reasoning models and larger general-purpose models. Our experiments show that OPD does not directly extend the student's capability. Instead, it changes the relative probability of responses the student already produces according to the teacher's preferences. When these preferences align with response quality, this reweighting can improve sampling efficiency; when they do not, it can lead to reward hacking, with the student increasingly producing responses that receive high implicit rewards despite poor quality. We substantiate this view through three findings.

First, we show that successful OPD reinforces correct responses the student can already generate. We compare the initial and trained students across sampling budgets, combining pass@k evaluation with additional sampling and manual audits. Although OPD substantially improves single-sample accuracy(pass@1), the gains progressively diminish as the sampling budget increases. At the same time, we find no expansion of the observed solvable set: problems solved after OPD can also be solved by the initial student given sufficient sampling. Together, these results suggest that OPD makes existing capabilities easier to elicit rather than expanding the student model's problem-solving capabilities.

In contrast, we find that the observed OPD collapse reflects reward hacking: training reinforces poor-quality responses favored by the teacher. We compare a successful OPD run with a reproduction of the collapsed setting reported by Li et al. [2026]. Despite their sharply different outcomes, both runs converge normally and concentrate on responses with low negative log-likelihood under the initial student, suggesting that collapse is not simply a failure of optimization or convergence. In the collapsed run, the student produces increasingly overlong and repetitive responses. At the same time, its response distribution shifts markedly toward responses preferred by the teacher over those the teacher disfavors, indicating that the student is fitting the teacher's preference signal increasingly well. The student thus learns the teacher's preferences even as its generation quality deteriorates.

Building on this diagnosis, we mitigate OPD collapse with a standard remedy for reward hacking: limiting the reinforcement of pathological responses. Before training, higher implicit rewards favor correct and concise responses in the successful setting, but overlong and repetitive responses in the collapsed setting, with both types of behavior later amplified during training. Notably, the teacher itself rarely generates such pathological responses, showing that generation quality does not reliably reflect feedback quality on student rollouts. Keeping the teacher fixed, masking rollouts that reach the generation limit mitigates degeneration and improves average evaluation accuracy by 3.08 percentage points, and SFT warmup provides a complementary solution by improving the quality of the student's initial rollout distribution. Together, these results show that collapse can be mitigated by controlling which student rollouts are available for reinforcement.

Our contributions are summarized as follows:

• We interpret OPD as an RL-like process with the teacher acting as an implicit reward model, linking its performance gains to improved sampling efficiency.

• We identify reward hacking in the observed collapse: the student fits the teacher’s preferences increasingly well even as its generation quality deteriorates.

• We trace the collapse to a biased teacher reward signal. Limiting the reinforcement of this biased signal through masking, or reducing exposure to pathological rollouts through SFT warmup, mitigates collapse.

Westlake NLP

Table 1: OPD settings used in our analysis. Each setting is named after its teacher.

TeacherStudent initializationTraining data
JustRL-1.5BDeepSeek-R1-Distill-Qwen-1.5BDeepMath-103K (≥ 6)
DeepScaleR-1.5B-PreviewDeepSeek-R1-Distill-Qwen-1.5BDeepMath-103K (≥ 6)
Qwen3-4BQwen3-1.7B-BaseOpenThoughts3

References (65)