Manuscript Offprint

arXiv:2610.28194

Adaptive Pullback: Reweighting Supervision at Penalty Jumps in On-Policy Distillation

Guangyu Liu, Siyuan Gan, Shilong Zhou, Linjian Meng, Boyan Wang, Jing Huo

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

Abstract

On-policy distillation (OPD) supervises student-generated responses using sampled-token student–teacher log-ratios. A positive log-ratio penalizes a token that the student assigns higher probability to than the teacher, but its current value does not distinguish sustained high penalties from abrupt increases along a response. We examine these local changes by comparing consecutive blocks of tokens within the same response. Our diagnostic identifies penalty jumps, abrupt increases in average penalty that persist on held-out tokens. Across these jumps, penalties rise while teacher confidence decreases. We call this pattern penalty–confidence tension. Boundaries into high-penalty blocks do not exhibit comparable confidence changes, showing that local changes provide information beyond the current penalty value. Motivated by this observation, we propose Adaptive Pullback OPD (AP-OPD). At each detected jump, AP-OPD uses the preceding block as a local reference and uniformly scales all supervision coefficients in the following block so that its weighted average penalty matches the preceding block's original mean. This reference determines the scaling factor without an additional strength constant. AP-OPD improves performance on both mathematical reasoning and code generation.

1 Introduction

On-policy distillation (OPD) transfers reasoning capabilities from a teacher model to a student through feedback on the student's own rollouts. Training on student-generated prefixes brings the training distribution closer to the one visited at inference time and mitigates exposure bias (Bengio et al., 2015; Ranzato et al., 2016; Gu et al., 2024; Agarwal et al., 2024; Song and Zheng, 2026). OPD also provides token-level teacher feedback throughout each response (Gu et al., 2024; Agarwal et al., 2024). How to weight this supervision along a response is therefore an important question for OPD post-training.

In practical token-level OPD, supervision is determined by the sampled-token student–teacher log-ratio rtr_{t} (Fu et al., 2026). A positive log-ratio penalizes a token that the student assigns higher probability to than the teacher. The current penalty value describes how strongly a sampled token is penalized, but does not describe how that penalty changes along the response. A high penalty can persist across neighboring segments or emerge as an abrupt increase. Comparing consecutive blocks of tokens provides a local reference within the same response, allowing us to examine these increases separately from sustained high penalties. We investigate whether local penalty changes carry information relevant to supervision allocation and whether using this information to reweight supervision improves training.

Our diagnostic analysis shows that local penalty changes reveal differences in teacher predictions that the current penalty value alone does not express. We summarize each block by its block-averaged penalty, the mean positive log-ratio within a block. We call an abrupt increase in the block-averaged penalty between consecutive blocks a penalty jump. The analysis in Section 3 shows that the increase persists on held-out tokens not used to detect the jump and is concentrated in the first block after it. Across penalty jumps, the block-averaged penalty increases while teacher confidence decreases, as reflected in rising entropy and falling top-1 probability. We call this observed pattern penalty–confidence tension. Control boundaries entering blocks with high penalties do not exhibit comparable changes in teacher confidence. This tension motivates examining whether supervision in the block after a jump should be reduced.

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors.

Penalty-Confidence Tension

Penalty jump

Figure

High-magnitude boundary

Figure

At penalty jumps, the penalty rises while teacher confidence decreases.

AP-OPD

1 Penalty jump detection

Figure

Δi=Di+1−Di\Delta_i = D_{i+1} - D_i

+0.02

+0.18

+0.01

-0.16

+0.27

Detected penalty jumps

BiB_i

Bi+1B_{i+1}

Bi+3B_{i+3}

Bi+4B_{i+4}

Detector

Large positive Δi\Delta_i

Others

×

2 Adaptive pullback

Figure

Original

Weighted

Figure

Figure 1: Penalty–confidence tension at penalty jumps: penalties rise while teacher confidence decreases. Adaptive Pullback uniformly scales post-jump supervision to match the preceding block’s original mean penalty. Numbers are illustrative. DiD_i: block mean penalty; HH: teacher entropy; PmaxP_{\text{max}}: teacher top-1 probability; ww: supervision weight.

Motivated by penalty–confidence tension, we propose Adaptive Pullback OPD (AP-OPD), illustrated in Figure 1. The method uses the preceding block as a local reference and, at each detected jump, uniformly scales down all signed supervision coefficients in the following block so that its weighted block-averaged penalty matches the preceding block’s original mean. This rule uses an adjacent segment of the same response to set the reference. A positive scaling factor preserves the signs and relative proportions of the token coefficients. The reference determines the scaling factor without an additional strength constant. AP-OPD detects jumps using log-probabilities already computed by OPD and requires no additional forward passes.

Training experiments support the value of this intervention. AP-OPD improves performance, whereas a magnitude-cap rule that selects blocks by their penalty values and removes a similar amount of penalty brings no gain over vanilla OPD. The removal amount alone therefore does not explain the improvement. We also compare AP-OPD with FiRe-OPD, which weights supervision using teacher and student confidence (Li et al., 2026b), and IW-OPD, which uses accumulated prefix discrepancy (Xie et al., 2026b). On mathematical reasoning, AP-OPD consistently improves macro-averaged Avg@k over vanilla OPD under both jump detectors and obtains a higher macro average than the compared reweighting methods. On code generation, with a different teacher and student, AP-OPD also achieves the highest macro average among the evaluated methods.

Our contributions are: (1) We identify and diagnose penalty–confidence tension at penalty jumps in OPD, showing that local penalty changes provide information about changes in teacher predictions beyond the current penalty value. (2) We propose Adaptive Pullback OPD, which uniformly scales supervision in the block after a jump using the preceding block as a local reference. (3) We demonstrate gains on mathematical reasoning and code generation, and show that removing a comparable amount of penalty with a magnitude-cap rule does not yield the same benefit.

References (28)