Manuscript Offprint

arXiv:2609.35517

Reward-Aligned Reweighting for On-Policy Distillation

Haofeng Xu, Junwei Su, Lansong Diao, Wenchao Zhou, Chuan Wu

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

ABSTRACT

On-policy distillation (OPD) has become a standard stage of large language model post-training: a student learns from a stronger teacher on trajectories generated by its own policy. Yet on-policy feedback does not make every teacher correction equally useful. Standard OPD weights token-level distillation terms uniformly, implicitly treating local teacher preference as a proxy for correction utility. A decision's task value, however, depends on how the student completes the subsequent reasoning. This mismatch can cause imitation to suppress viable student strategies or reinforce paths the student cannot reliably execute. Verified trajectory outcomes provide complementary evidence about continuation quality, but do not directly identify the utility of individual decisions. This motivates using outcome evidence to guide the relative strength of teacher corrections. We introduce Reward-Aligned Reweighting for On-Policy Distillation (R²-OPD), which continuously reallocates teacher supervision using outcome agreement and the magnitude of teacher-student disagreement. It gives reward-aligned corrections greater relative influence while retaining dense feedback, moving beyond uniform imitation and hard filtering. Our analysis formalizes the mismatch between local teacher preference and student continuation value, and establishes sufficient conditions for reallocation to improve first-order task progress over uniform OPD. Across seven mathematical reasoning benchmarks, R²-OPD achieves the highest average accuracy among the compared training methods in both cross-size and same-size distillation. It outperforms standard OPD on all seven benchmarks, with average gains of +3.5 and +2.4 for 1.7B and 4B students, respectively. An extension to code generation yields an average gain of +1.6 over standard OPD. Together, these results highlight outcome-guided supervision allocation as an effective means of translating dense teacher feedback into stronger student performance across model scales and task domains.

1 INTRODUCTION

On-policy distillation (OPD) trains a student language model with dense teacher feedback on trajectories generated by the student itself. By querying the teacher at student-visited prefixes, it reduces the mismatch between training contexts and inference-time behavior (Agarwal et al., 2024; Gu et al., 2024; Lu & Thinking Machines Lab, 2025). However, aligning the contexts in which supervision is provided does not ensure that every teacher correction helps the student complete the task. Effective distillation therefore requires considering not only where teacher feedback is obtained, but also how strongly each correction should influence learning.

Standard sampled-token OPD uses teacher-student log-probability gaps as token-level correction coefficients, without outcome-dependent reweighting. These coefficients encode local teacher preference, whereas task success depends on student continuation value: the expected reward after a decision when the student, rather than the teacher, generates the remaining response. This distinction gives rise to two potential failure modes. Over-correction on successful trajectories: suppressing teacher-disfavored decisions can erode valid student strategies that differ from the teacher's

*Contact: haofengxu@connect.hku.hk.

†^{\dagger}Corresponding author: cwu@cs.hku.hk.

(Yuan et al., 2023). Over-trust on failed trajectories: reinforcing teacher-preferred decisions can encourage reasoning paths that the student cannot reliably complete. In Section 3, we formalize this preference–value mismatch: moving a local next-token distribution toward the teacher can reduce reverse KL while decreasing expected task reward when the student’s continuation policy is held fixed. Closer agreement with the teacher is therefore not, by itself, sufficient evidence of useful supervision.

Verified trajectory outcomes provide complementary evidence about continuation quality, but do not identify the utility of individual decisions. Existing approaches use outcome feedback to combine learning objectives or select teacher supervision (Li et al., 2026a; Xu et al., 2026a; Lin et al., 2026). However, deciding whether to retain a correction does not resolve how strongly it should influence learning, and hard filtering discards feedback whose utility remains uncertain. This motivates a different use of outcomes: guiding correction strength rather than treating outcome agreement as a definitive token-value label.

We introduce Reward-Aligned Reweighting for On-Policy Distillation (R²-OPD), a continuous reweighting method that combines outcome agreement with the magnitude of teacher–student disagreement. It gives reward-aligned corrections greater relative influence while retaining feedback that disagrees with the outcome. The reweighting preserves correction signs and each response’s total absolute coefficient mass, reallocating rather than simply reducing teacher supervision. Our analysis establishes sufficient reward–utility agreement conditions under which this reallocation improves first-order task progress relative to uniform OPD. R²-OPD uses outcomes to guide imitation without requiring a separate reinforcement-learning objective or a learned value estimator.

We evaluate R2R^{2}-OPD in same-size and cross-size distillation settings studied in prior OPD work (Lin et al., 2026; Yang et al., 2026b). Across seven mathematical reasoning benchmarks, R2R^{2}-OPD achieves the highest average accuracy among the compared methods in both settings, with gains of +3.5 and +2.4 over standard OPD for 1.7B and 4B students, respectively. An extension to code generation yields an average gain of +1.6 over standard OPD. Learning curves show early performance gains, while ablations support the joint use of outcome alignment, disagreement magnitude, and coefficient-mass normalization.

Contributions. (1) Preference–value analysis. We formalize the mismatch between local teacher preference and student continuation value, and establish sufficient conditions for supervision reallocation to improve first-order task progress over standard OPD. (2) Reward-aligned supervision allocation. We introduce R2R^{2}-OPD, a continuous, magnitude-sensitive reweighting method that uses verified outcomes while preserving nonzero teacher feedback, correction signs, and per-response absolute coefficient mass. (3) Empirical validation across tasks and scales. Experiments on seven mathematical reasoning benchmarks and two code-generation benchmarks demonstrate gains over standard OPD, with ablations examining the roles of the key reweighting components.

References (87)