arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.25562cs.LGcs.AIcs.CL
收藏

重新审视在线策略蒸馏:经验性失败模式及简单修复

Revisiting On-Policy Distillation: Empirical Failure Modes and Simple Fixes

State Key Laboratory of Multimodal Artificial Intelligence Systems, CASIA(多模态人工智能系统国家重点实验室,中科院自动化所);School of Artificial Intelligence, UCAS(中国科学技术大学人工智能学院);Fudan University(复旦大学);Independent Researcher(独立研究者)

Yuqian Fu, Haohuan Huang, Kaiwen Jiang, Jiacai Liu, Zhuo Jiang, Yuanheng Zhu, Dongbin Zhao

AI总结:

本文研究了在线策略蒸馏的失败模式,提出改进方法提升训练稳定性,实验显示改进方法在多个任务中提升性能19.8%。

摘要:

本文重新审视在线策略蒸馏的失败模式,从理论和实现角度提出改进方法以提升训练稳定性。理论上,token级OPD相对于序列级反KL最小化存在偏差,但具有更紧的最坏情况方差界;受控合成研究进一步表明,更强的未来奖励耦合会增加梯度方差并破坏训练稳定性。实证上,我们识别出采样token OPD的三种失败模式:监督不平衡、教师对学生成生成前缀的指导不可靠、以及分词器或特殊token不匹配。这些发现推动了教师top-K局部支持匹配,一种截断反KL目标,该目标在每个前缀上比较教师和学生分布于教师支持的token集上,结合top-p rollout采样和特殊token掩码。在单任务推理和多任务基准中,该目标提高了优化稳定性,并在标准采样token OPD基线上实现了+19.8%的性能提升,提供了一个实用的更稳定在线蒸馏配方。

英文摘要:

On-policy distillation (OPD) is increasingly used in LLM post-training because it can leverage a teacher model to provide dense supervision on student rollouts. The standard implementation, however, usually reduces distribution matching to a sampled-token log-ratio, which can make the learning signal fragile on long rollouts whose prefixes drift away from the teacher's typical support. We revisit this formulation from both theoretical and implementation perspectives. Theoretically, token-level OPD is biased relative to sequence-level reverse-KL minimization, but admits a substantially tighter worst-case variance bound; a controlled synthetic study further shows that stronger future-reward coupling increases gradient variance and destabilizes training. Empirically, we identify three failure modes of sampled-token OPD: imbalanced token-level supervision, unreliable teacher guidance on student-generated prefixes, and tokenizer or special-token mismatch. These findings motivate teacher top-K local support matching, a truncated reverse-KL objective that compares teacher and student distributions over a teacher-supported token set at each prefix, together with top-p rollout sampling and special-token masking. Across single-task reasoning and multi-task benchmarks spanning agentic and reasoning settings, this objective improves optimization stability and yields a +19.8% performance gain over standard sampled-token OPD baselines, providing a practical recipe for more stable on-policy distillation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑