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

Manuscript Offprint

arXiv:2610.11291

When Do We Need On-Policy Distillation? Distilling on Offline Student Rollouts Is Often Better

Siyan Zhao, Yonggan Fu, Jindong Jiang, Shih-Yang Liu, Song Bian, Byung-Kwan Lee, Sharath Turuvekere Sreenivas, Wenliang Dai, Hanrong Ye, Aditya Grover, Pavlo Molchanov

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

Siyan Zhao ∗†1^{*†1}, Yonggan Fu ∗^{*}, Jindong Jiang, Shih-Yang Liu, Song Bian, Byung-Kwan Lee, Sharath Turuvekere Sreenivas, Wenliang Dai, Hanrong Ye, Aditya Grover 1^{1}, Pavlo Molchanov

On-policy distillation (OPD) has become increasingly popular for transferring teacher capabilities to student models. In this work, we ask a critical research question: Is on-policy sampling always beneficial for distilling arbitrary teacher–student pairs? We show that a simple alternative, Semi-OPD, which distills from offline rollouts generated by the initial student, can often outperform OPD in both accuracy and training efficiency. Across 17 teacher–student pairs ranging from 1.5B to 235B parameters, Semi-OPD outperforms OPD in 14 cases, with up to +13.6% accuracy and 11.4× training speedup. We further find that the choice between OPD and Semi-OPD depends on the alignment between the initial teacher and student, quantified by an output-token overlap ratio: OPD is beneficial only when the two are highly aligned with high overlap ratios. Our deeper investigation suggests that effective distillation requires on-policyness w.r.t. both the student and the teacher. For misaligned pairs, student rollouts can become increasingly off-policy w.r.t. the teacher as context length grows, weakening the distillation signal. In contrast, Semi-OPD is often more stable, as it distills on shorter contexts while covering full trajectories and exposing the student to more teacher-preferred tokens. Beyond proposing Semi-OPD as an efficient alternative, our work motivates the community to rethink when to use OPD and to study stronger OPD variants with meaningful teacher–student pairs.

Qwen3-1.7B (non-thinking)

← Qwen3-4B-

Instruct-2507

initial top-64 overlap: 62.5%

Qwen3-4B (non-thinking)

← Qwen3-30B-A3B-

Instruct-2507

initial top-64 overlap: 62.5%

Qwen3-14B (thinking)

← Qwen3-235B-A22B-

Thinking-2507

initial top-64 overlap: 63.4%

Nemotron-Cascade-2-30B-A3B

← Nemotron-Cascade-2-

Math-Expert

initial top-64 overlap: 89.3%

Figure

Figure 1 | Accuracy & training cost of different distillation methods. Our Semi-OPD achieves much improved/comparable accuracy for teacher–student pairs with low/high overlap, respectively, while reducing training time by up to 11.4×11.4\times over OPD. Accuracy is averaged over AIME 24/25/26 and HMMT Feb 26.

1. Introduction

On-policy distillation (OPD) has emerged as an effective paradigm for transferring the capabilities of a teacher language model (LM) to a student LM [1, 2, 3, 4, 5]. It mitigates the training–inference distribution mismatch, i.e., exposure bias, in traditional knowledge distillation by providing dense token-level signals from the teacher LM on student rollouts obtained via on-policy sampling.

*Equal contribution. †Work done during internship at NVIDIA. Additional affiliations: 1^{1}UCLA. © 2026 NVIDIA. All rights reserved.

(a)

Figure

(b)

DS-R1-Distill-7B (thinking)

← Polaris-7B

(overlap 86.8%)

Figure 2 | Semi-OPD outperforms standard OPD when the initial teacher–student overlap is low. (a) Accuracy gain vs. initial top-64 overlap across 17 pairs ranging from 1.5B to 235B, spanning thinking and non-thinking modes and multiple model families, with a Pearson correlation of r = -0.73. Accuracy gain is the area between the Semi-OPD and OPD accuracy curves divided by their shared training horizon, averaged over AIME 24/25/26 and HMMT Feb 26. (b) Training curves for three pairs of increasing overlap (AIME 24/25 avg@32, mean of 3 seeds). At low overlap, Semi-OPD outperforms OPD which can even degrade; at high overlap, Semi-OPD can slightly lag behind.

Despite the promise, recent works reveal several artifacts of OPD: [6, 7, 8, 9] find that on-policy rollouts tend to grow longer and fall into self-correction loops, exhausting the generation budget without emitting an EOS token; [10, 11, 12] find that supervision on later tokens in student rollouts is often unhelpful and that truncating to a short prefix can suffice; and [13, 14] similarly finds that once the student commits to an incorrect reasoning direction, subsequent misdirected continuations elicit unreliable supervision and waste compute. These artifacts lead to our central question:

Is on-policy sampling always beneficial for distilling arbitrary teacher–student pairs?

To answer this, we propose a simple and efficient alternative called semi-on-policy distillation (Semi-OPD), where rollouts are sampled once from the initial student before any training and reused throughout distillation, thus making both rollout and teacher logit generation offline. Although the source of rollouts is fixed, the objective is identical to OPD's, and the student's log-probabilities, and hence the per-token advantage, are recomputed using the current parameters at every step. We evaluate across 17 teacher-student pairs spanning 1.5B to 235B parameters and three model families in both thinking and non-thinking modes, covering the most commonly used student–teacher pairs in the OPD literature. We find that Semi-OPD outperforms OPD on 14 of them, with up to +13.6% accuracy and 11.4× training speedup as shown in Fig. 1, and achieves comparable performance (within a 0.1%–2.6% gap) on the remaining three. This phenomenon motivates our further investigation into how to choose between Semi-OPD and OPD and why Semi-OPD is often better.

How to choose between Semi-OPD and OPD. We find that the gain of Semi-OPD over OPD is strongly correlated with the alignment between the initial teacher and student, which can be quantified by the teacher–student top-k overlap ratio over output tokens, as shown in Fig. 2a. The accuracy evolution curves in Fig. 2b further show that (1) when this overlap ratio is low, continually regenerating rollouts from the evolving student can shift training toward increasingly teacher-misaligned trajectories, making strict on-policyness counterproductive; (2) OPD is only beneficial when the teacher and student are aligned with a high overlap ratio.

Why OPD often underperforms Semi-OPD. Our empirical study suggests that effective distillation requires “on-policyness” w.r.t. both the student and the teacher, where the former mitigates exposure bias and the latter determines the effectiveness of the distillation signal. OPD improves the former but may reduce the latter. Specifically, for misaligned pairs, student rollouts from OPD can become increasingly off-policy w.r.t. the teacher as context length grows. This cannot be addressed by simple truncation, as we empirically show the importance of covering supervision signals from different reasoning stages. In contrast, Semi-OPD on initial student rollouts usually distills over shorter contexts while covering full trajectories, making it more stable. In other words, Semi-OPD trades some student on-policyness for teacher on-policyness, which is also echoed by our observation that Semi-OPD exposes the student to more tokens preferred by the teacher.

We aim to inspire the community to rethink when to use OPD and to study stronger OPD variants under meaningful settings. The key takeaways of our work are summarized below:

• OPD is only useful for aligned teacher–student pairs with high overlap in output tokens; for misaligned pairs, Semi-OPD is a better alternative in both accuracy and training efficiency.

• Effective distillation requires both the on-policyness of training rollout w.r.t. the student and closeness to the teacher; OPD prioritizes the former but may sacrifice the latter.

• Given the target domain and initial teacher–student pair, the choice between OPD and Semi-OPD should be guided by the measured overlap ratio, rather than blindly choosing OPD.

• For future research on OPD, teacher–student pairs should be carefully selected to ensure a meaningful experimental setting.

References (37)