Manuscript Offprint

arXiv:2610.19572

Divergence-Routed On-Policy Distillation for Language Models

Tiantian Peng, Guannan Lv, Hongyang Li, Qiuhe Hong, Hang Cheng, Hongjian Dou, Xiangyu Wu, Yuyang Liu

ABSTRACT

On-policy distillation (OPD) transfers knowledge from a teacher model to a student along student-generated trajectories, typically by minimizing the reverse Kullback–Leibler (RKL). However, RKL can provide weak corrective signals for teacher-supported tokens to which the student assigns very low probability. This raises two questions: which positions are most consequential for the behavioral gap between the student and teacher, and what additional supervision is needed at these positions? Through cross-sampling, we find that divergence-based routing more effectively pinpoints positions contributing to the teacher–student performance gap than entropy-based. Further analysis reveals teacher-mode undercoverage at high Jensen–Shannon (JS) divergence positions, where standard OPD increasing the large teacher–student probability gaps. Motivated by this findings, we propose Divergence-Routed On-Policy Distillation (DrOPD). DrOPD retains RKL supervision at all positions, and selectively adds forward Kullback–Leibler (FKL) at positions with the high JS divergence. Experiments across six math benchmarks show that DrOPD improves over standard OPD and entropy-based routing. DrOPD also reduces the severe under-coverage cases by 37.9% relative to OPD, supporting targeted FKL as an effective complement to OPD.

1 INTRODUCTION

On-policy distillation (OPD) provides an effective way to transfer knowledge from a stronger teacher to a student by providing supervision along student-generated trajectories (Agarwal et al., 2023; Gu et al., 2024; Lu & Lab, 2025), thereby reducing the mismatch between offline distillation supervision and the student's inference-time state distribution. Standard OPD is commonly implemented by minimizing the reverse Kullback–Leibler (RKL) (Kullback & Leibler, 1951) between the student and teacher next-token distributions at every response position. However, RKL is weighted by the student probability, and can provide weak corrective signals for teacher-supported tokens that already receive very low student probability. As a result, some teacher modes may remain under-covered despite improvements in overall alignment.

Recent work has explored selective token-level supervision, often using the student or teacher entropy to identify important positions (Jin et al., 2026; Zhang et al., 2026; Hou et al., 2026a; Xu et al., 2026; Ko et al., 2026; Liu et al., 2026). Entropy, however, measures uncertainty within a single model, but uncertainty does not necessarily indicate a consequential difference between student and teacher. For example, both models may be uncertain while assigning similar probabilities to the available candidates. This motivates two questions: which positions are most consequential for the teacher–student performance gap, and what additional supervision is needed at these positions?

We use controlled cross-sampling (Meng et al., 2026) to identify routing signals that effectively locate positions contributing to the teacher–student performance gap. The student serves as the default generation policy, while the teacher supplies tokens only at positions selected by a routing criterion. We compare Jensen–Shannon (JS) divergence (Lin, 1991), RKL, and forward Kullback–Leibler (FKL) against student entropy, teacher entropy, and random routing. The results reveal

∗^{*}Corresponding author.

that divergence-based strategies achieve similar intervention efficiency and outperform others. On AMC23, divergence-based strategies reach teacher performance with teacher intervention at fewer than 10% of generated positions. These results identify teacher–student disagreement as an effective signal for locating positions where additional guidance matters most.

We then examine the probability distributions at high-JS positions and find pronounced teacher-mode under-coverage: on the same contexts, the student assigns substantially lower probabilities than the teacher to the recorded tokens. Standard OPD training further exacerbates severe under-coverage at these positions. This behavior is consistent with the gradient structure of RKL: for a candidate with fixed positive teacher probability, the RKL logit gradient vanishes as the student probability approaches zero, whereas FKL retains a teacher-directed corrective signal. These observations motivate adding FKL supervision at high-disagreement positions to help recover teacher-supported tokens that RKL struggles to correct.

Based on this diagnosis, we propose Divergence-Routed On-Policy Distillation (DrOPD). DrOPD retains RKL supervision at all response positions and adds FKL supervision to the fraction ρ\rho of positions with the highest teacher–student JS divergence. This design preserves the standard OPD learning signal while directing complementary mode-covering supervision toward the positions identified by our diagnosis. Experiments across six mathematical reasoning benchmarks show that DrOPD improves mean Avg@8 over standard OPD by 1.84% for the 1.7B–4B student–teacher pairs. It also outperforms entropy-based routing methods, supporting disagreement as a more effective guide for allocating additional supervision. On fixed high-JS contexts, standard OPD increases the fraction of positions with severe probability gaps from 3.83% in the base student to 4.48%. DrOPD reduces this fraction to 2.79%, a relative reduction of 37.9% compared with OPD. These results connect the performance gains to improved recovery from teacher-mode under-coverage.

Our contributions are threefold:

• Identifying where additional supervision matters. Controlled cross-sampling shows that teacher–student divergence, RKL, FKL and JS divergence, locates behaviorally important positions more effectively than single-model entropy.

• Diagnosing severe teacher-mode under-coverage. Fixed-context analysis reveals severe probability gaps at high-JS positions that become more frequent after standard OPD, motivating complementary FKL supervision through gradient analysis.

• Divergence-Routed On-Policy Distillation. We propose DrOPD, which combines all-position RKL with selectively allocated FKL, improving reasoning performance across multiple settings and and reducing severe under-coverage.

References (50)