arXiv:2608.27960cs.AI2026-08

让教师指导更靠谱:用奖励对齐提升语言模型蒸馏效果

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

  • 仅保留与最终奖励一致的生成轨迹,过滤误导性指导
  • 在7个数学和3个代码任务上超越标准蒸馏方法
  • 无需额外算力,适合高效优化大模型推理能力

近期流行的在线策略蒸馏(OPD)虽能高效迁移大语言模型知识,但教师对学生生成前缀的指导常不可靠。训练应使模型生成更可能正确的回复,即获得更高结果奖励。然而,在OPD中,教师可能提供与目标奖励不一致的引导,导致学生偏离正确路径甚至走向错误方向,造成优化过程被误导,性能下降。为此,我们提出奖励对齐的在线策略蒸馏(RA-OPD)。核心思想是只保留那些更新方向使学生趋向正确路径或避免错误路径的轨迹。具体地,对每条采样轨迹,检查其轨迹级蒸馏回报是否与最终结果奖励一致,并剔除不一致的轨迹。通过筛选更可靠的轨迹,RA-OPD在不增加计算开销的前提下显著提升学生模型性能。我们在Qwen3和DeepSeek-R1系列模型上评估了该方法,覆盖7个数学基准和3个代码基准,结果表明其显著优于标准OPD及其他变体。

原文摘要 · Abstract (English)

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.

语言模型知识蒸馏奖励对齐大模型优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。