Manuscript Offprint

arXiv:2611.01965

OC-OPD: Observation-coordinated Supervision for On-Policy Distillation

Ruoran Xu, Yilun Zhao, Ziyu Chen, Arman Cohan

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

Abstract

Reverse and forward Kullback–Leibler (KL) divergences provide complementary supervision in on-policy distillation: reverse KL refines the student's active token rankings, and forward KL allocates mass to teacher-supported candidates. At student-generated prefixes, we form a four-observation matrix by treating the student and teacher as both candidate sources and evaluators. The diagonal self-observations measure uncertainty, while source-centered cross-observations recover the two KL objectives. We establish an exact identity equating the Fisher inverse-metric coupling of their logit gradients with the sum of these contrasts, yielding a common local descent direction for distinct positive distributions. Observation-coordinated on-policy distillation (OC-OPD) uses observations to set preferences, closed-form bargaining to coordinate gradients, and distributional discrepancy to scale the update. Across three heterogeneous student settings (non-thinking generation, thinking generation, and base-model initialization), OC-OPD achieves strong gains in mathematical reasoning and transfers effectively to out-of-distribution scientific question answering and code generation. Our code is publicly available at: https://github.com/RuoranXu/OC-OPD.

Figure

Figure 1: Training pipeline of OC-OPD. (a) Student rollouts provide prefixes at which the student and frozen teacher produce aligned next-token distributions. (b) Four self- and cross-observations at the shared prefix yield source-centered KL gradients for ranking/refinement and coverage. (c) Self-observation values set uncertainty-based priorities for closed-form gradient bargaining, while distributional discrepancy controls supervision strength. (d) The resulting bounded logit signal updates the student through a single backward pass. The updated student then generates new rollouts.

1 Introduction

Earlier knowledge distillation methods use KL divergences to transfer predictive structure from a teacher to a student (Hinton et al., 2015; Kim and Rush, 2016). Adaptive KL (AKL) adjusts the early-training balance between forward and reverse KL according to distributional gaps within teacher-defined high-probability head and long-tail regions (Wu et al., 2025).

On-policy distillation (OPD) trains a student at its own generated prefixes, where a frozen teacher provides supervision for the same next-token decision (Ross et al., 2011; Agarwal et al., 2024a). At each prefix, the aligned student distribution qq and teacher distribution pp define two complementary objectives. Reverse KL (RKL), DKL(q∥p)D_{\text{KL}}(q\|p), is associated with mode-seeking refinement of student-supported candidates, while forward KL (FKL),

DKL(p∣∣q)D_{\mathrm{KL}}(p||q), provides mode-covering supervision toward teacher-supported alternatives (Agarwal et al., 2024a; Gu et al., 2024). As the student changes, so do the visited prefixes and the conditional predictions of both models. How should these corrections be coordinated within one update at the current teacher–student state?

Recent OPD methods adapt supervision using uncertainty, token importance, teacher–student mismatch, and divergence routing (Ko et al., 2026; Jin et al., 2026; Lee et al., 2026; Xu et al., 2026; Yu et al., 2026). At a visited prefix, two aspects of the predictive state inform this adaptation: each model's self-uncertainty and the disagreement between their predictions. Self-uncertainty describes the dispersion of a model's candidate probabilities; disagreement describes the mismatch requiring correction. Connecting these quantities to the two KL gradients provides a state-dependent basis for their relative influence and joint improvement.

We place these signals in a common source–evaluator system: the student and teacher each supply candidate mass, and either model can evaluate it. The resulting four-observation matrix separates self-uncertainty, represented by its diagonal entropies, from directed disagreement, recovered by centering its cross-entropies on the corresponding source entropies. These contrasts yield the refinement and coverage objectives at the same student-visited state.

This representation also links observations to correction geometry. For positive p,qp, q, the reverse- and forward-KL logit gradients satisfy gR⊤J(q)+gF=DKL(q∣∣p)+DKL(p∣∣q)g_R^\top J(q)^+ g_F = D_{\mathrm{KL}}(q||p) + D_{\mathrm{KL}}(p||q), where J(q)J(q) is the categorical Fisher matrix. For p≠qp \neq q, this positive cross-observation excess establishes a common local descent direction for both KL objectives in student-logit space.

We develop observation-coordinated on-policy distillation (OC-OPD) by connecting the observed teaching state to three decisions: preference, direction, and strength. Self-entropies set preferences between the two corrections, a closed-form bargaining solution coordinates their normalized gradients within the common-descent region, and symmetric distributional discrepancy scales supervision strength. These components connect self-uncertainty, correction geometry, and disagreement in a single bounded logit update, applied with one student backward pass. Figure 1 summarizes the observation →\to contrast →\to coordination →\to strength pipeline.

We evaluate OC-OPD on mathematical reasoning in three Qwen3 student settings (Qwen Team, 2025a), all trained with fresh student rollouts: non-thinking students at 1.7B and 4B scales, thinking-generation students, and a weaker base-model initialization. In the main non-thinking setting, the 1.7B student exceeds the strongest compared baseline by +6.88 Avg@32 and +11.11 Pass@32 points on average across AIME24–26; the 4B student exceeds EOPD (Jin et al., 2026) by +2.74 and +3.33 points, respectively (Table 1). Gains persist in the other two settings, and GPQA-Diamond (Rein et al., 2023) and MBPP+ (Liu et al., 2023) assess transfer to scientific question answering and code generation.

Our contributions are threefold. (1) We unifiedly describe token-level OPD through a source–evaluator system whose self- and cross-observations characterize the teaching state and whose source-centered contrasts recover the two KL corrections. (2) We prove a Fisher inverse-metric identity linking those contrasts to their logit gradients and establish common local descent for every distinct positive teacher–student pair. (3) We develop OC-OPD to determine the preference, direction, and strength of token-level supervision, and demonstrate its effectiveness across heterogeneous student settings and out-of-domain evaluations.

References (70)