Manuscript Offprint

arXiv:2608.27960

When Teacher Guidance Misleads: Reward-Aligned On-Policy Distillation

Siyuan Gan, Yuhan Li, Xiran Wang, Linjian Meng, Boyan Wang, Zhen Zhao, Jing Huo, Yang Gao

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

Abstract

On-policy distillation (OPD) has recently emerged as a popular post-training paradigm for large language models (LLMs), providing an efficient way to transfer the knowledge and capabilities of teacher models into student models. However, teacher guidance on student-generated prefixes is not always reliable. Training should optimize the model to generate responses that are more likely to be correct, or equivalently, to get higher outcome rewards. But during OPD, the teacher model may provide guidance that discourages the student from moving toward correct trajectories or moves the student toward incorrect ones, which is misaligned with outcome reward. Such misaligned guidance is unreliable, as it would mislead the optimization process and ultimately degrade model performance. To mitigate misaligned teacher guidance, we propose Reward-Aligned On-Policy Distillation (RA-OPD). The key insight is to keep only trajectories whose induced updates move the student toward correct trajectories or discourage the student from moving toward incorrect ones. Specifically, for each sampled trajectory, RA-OPD checks whether its trajectory-level distillation return is consistent with its outcome reward and then filters out the misaligned trajectories. RA-OPD selects more reliable trajectories to improve student model performance without requiring additional computational cost. We evaluate RA-OPD on math and code benchmarks using models from the Qwen3 family and the DeepSeek-R1 family. Across seven math benchmarks and three code benchmarks, RA-OPD significantly outperforms standard OPD and other tested OPD variants.

1 Introduction

On-policy distillation (OPD) has recently emerged as a popular post-training paradigm for large language models (LLMs), providing an efficient way to transfer the knowledge and capabilities of teacher models into student models. Recent frontier models such as Qwen3, MiMo, and GLM-5 have adopted OPD in their post-training pipelines (Yang et al. 2025; Xiao et al. 2026; Zeng et al. 2026). Unlike off-policy distillation, which trains the student on fixed teacher-generated prefixes, OPD trains the student on student-generated prefixes with teacher guidance under a reverse KL objective. Consequently, OPD alleviates the training-inference prefix mismatch, thereby reducing exposure bias and compounding errors under student-generated prefixes, which degrades model performance (Agarwal et al. 2024).

Teacher Model: Qwen3-8B-Base-GRPO-Math

Student Model: Qwen3-8B-Base

Figure

Figure 1: Mean avg@k across seven math reasoning benchmarks for Qwen3-8B-Base distilled from Qwen3-8B-Base-GRPO-Math. RA-OPD achieves the strongest average performance among the tested OPD methods.

Unfortunately, teacher guidance on student-generated prefixes is not always reliable during OPD, constituting a key factor behind performance degradation and even training failure (Li et al. 2026b; Song and Zheng 2026). Specifically, for verifiable tasks such as math and code, training should optimize the model to generate trajectories that are more likely to be correct, or equivalently, to get higher outcome rewards. But the teacher model may provide guidance that discourages the student from moving toward correct trajectories or moves the student toward incorrect ones, which is misaligned with outcome reward. Such misaligned guidance is unreliable, as it would mislead the optimization process and ultimately degrade model performance (Li et al. 2026b; Song and Zheng 2026; Hou et al. 2026).

To get more reliable teacher guidance, several works improve the reliability of teacher guidance at the token-level by restricting, reweighting, or truncating teacher guidance (Ziheng et al. 2026; Liu et al. 2026; Yang et al. 2026b). However, these methods assess teacher guidance primarily using local, token-level guidance, so the teacher model may also provide misaligned trajectory-level teacher guidance (Ziheng et al. 2026; Liu et al. 2026; Yang et al. 2026b; Jiang et al. 2026). Furthermore, Uni-OPD aggregates token-level teacher guidance into a trajectory-level distillation return and then ensures relative consistency between the distillation returns and the

∗^{*}Corresponding author.

Reward-Aligned On-Policy Distillation

Figure

Figure 2: RA-OPD detects unreliable teacher guidance by comparing each trajectory's trajectory-level distillation return with its outcome reward and filters out reward-misaligned trajectories before policy optimization.

outcome rewards (Hou et al. 2026). However, its reliability criterion has two limitations. First, its relative consistency requires multiple rollouts for each prompt, increasing computational cost. Second, relative consistency cannot be established for prompts whose sampled trajectories share the same reward, so Uni-OPD falls back to the original OPD update for those prompts.

To address these limitations in prior work, we propose Reward-Aligned On-Policy Distillation (RA-OPD). The key insight of RA-OPD is to keep only trajectories whose induced updates move the student toward correct trajectories or discourage the student from moving toward incorrect ones. Specifically, for each sampled trajectory, RA-OPD checks whether its trajectory-level distillation return is consistent with its outcome reward and then filters out the misaligned trajectories. First, RA-OPD operates on the student trajectories already generated for OPD and reuses the corresponding teacher probabilities, thereby requiring no additional student rollouts or teacher evaluations. Moreover, RA-OPD makes an absolute reliability decision for each trajectory independently. The criterion remains well defined with a single trajectory per prompt and does not require the reward diversity of the current student policy.

We evaluate RA-OPD on math and code benchmarks using models from the Qwen3 family (Yang et al. 2025) and the DeepSeek-R1 family (Guo et al. 2025). Across seven math benchmarks and three code benchmarks, RA-OPD significantly outperforms other tested OPD methods.

References (81)