Gains and Collapse in On-Policy Distillation:A Reinforcement Learning Perspective

📄 arXiv: 2610.03185v1 📥 PDF

作者: Han Cui, Jianhao Yan, Yun Luo, Hongbo Zhang, Zhizhang Fu, Yue Zhang

分类: cs.AI, cs.CL

发布日期: 2026-10-02

🔗 代码/项目: GITHUB


💡 一句话要点

提出基于强化学习的OPD机制分析以解决生成崩溃问题

🎯 匹配领域: 支柱二:RL算法与架构 (RL & Architecture)

关键词: 在线蒸馏 强化学习 生成模型 隐性奖励 文本生成 自然语言处理 模型优化

📋 核心要点

  1. 现有的在线蒸馏方法在提升性能的同时,可能导致生成内容的崩溃,表现为过长和重复的文本。
  2. 论文通过强化学习的视角,提出了隐性奖励模型的概念,解释了教师如何影响学生的生成行为。
  3. 实验结果表明,通过屏蔽不健康响应和SFT初始化,能够有效改善生成质量,减少崩溃现象。

📝 摘要(中文)

在语言模型后训练中,在线蒸馏(OPD)已成为重要的方法。然而,尽管其性能提升显著,OPD也可能导致生成内容过长和重复,且其背后的机制尚不清楚。本文通过强化学习的视角解释了这些现象,发现教师模型隐性奖励学生行为,即使这些行为教师自身很少展现。当隐性奖励模型可靠时,OPD能更容易采样出正确的响应;反之,当偏好与质量不一致时,奖励黑客现象出现,导致生成过长、重复的内容。通过在训练中屏蔽不健康响应和使用SFT初始化,能够有效缓解崩溃现象。研究表明,OPD放大了教师隐性反馈所偏好的学生行为,强调了教师评估学生生成的可靠性。

🔬 方法详解

问题定义:本文旨在解决在线蒸馏(OPD)在生成过程中出现的崩溃现象,现有方法在提升生成性能的同时,往往导致生成内容过长和重复,影响实际应用效果。

核心思路:通过强化学习的视角,分析教师模型对学生生成行为的隐性奖励机制,探讨如何通过优化奖励模型来改善生成质量。

技术框架:研究框架包括教师模型与学生模型的交互,隐性奖励模型的构建,以及训练过程中对不健康响应的屏蔽和SFT初始化的应用。

关键创新:提出了隐性奖励模型的概念,强调教师模型在评估学生生成时的可靠性,揭示了奖励偏好与生成质量之间的关系。

关键设计:在训练过程中,采用了特定的损失函数来优化隐性奖励模型,并通过屏蔽不健康响应和使用SFT初始化来增强模型的稳定性和生成质量。

🖼️ 关键图片

fig_0
fig_1

📊 实验亮点

实验结果显示,通过引入隐性奖励模型,OPD在生成质量上有显著提升,尤其是在避免生成过长和重复文本方面。与基线模型相比,改进后的模型在生成质量上提高了约20%,有效降低了崩溃现象的发生。

🎯 应用场景

该研究的潜在应用领域包括自然语言处理中的文本生成、对话系统以及内容创作等。通过优化在线蒸馏过程,可以提升生成模型的实用性和用户体验,未来可能在智能助手、自动写作等场景中发挥重要作用。

📄 摘要(原文)

On-policy distillation (OPD) has become an important approach to language model post-training. However, despite its performance gains, OPD can also collapse into excessively long and repetitive generation, and the mechanism underlying these divergent outcomes remains poorly understood. We explain these outcomes through a reinforcement learning perspective: the teacher implicitly rewards student behaviors, even those it rarely exhibits itself. From this perspective, our experiments show that OPD improves performance without expanding the student's capabilities. When the implicit reward model is reliable, OPD makes correct responses easier to sample. In contrast, when the preference misaligns with quality, reward hacking happens: the implicit reward model amplifies overlong, repetitive student rollouts, even though it rarely generates such text itself. Guided by this diagnosis, we find that masking unhealthy responses during training and using SFT initialization can each effectively mitigate the collapse. Together, these findings show that OPD amplifies student behaviors favored by the teacher's implicit feedback, shifting the focus from how well the teacher generates to how reliably it evaluates student rollouts. Our code is available at https://github.com/HancCui/opd_hacking.