arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.13680cs.LGcs.AI
收藏

自举式在线策略蒸馏

Bootstrapped On-Policy Distillation

The Hong Kong Polytechnic University(香港理工大学)

Yue Wu, Xueyu Zhou, Yangrong Hu, Jian Huang

AI总结:

本研究针对在线策略自蒸馏(OPSD)训练后期性能退化问题,提出两阶段框架自举式在线策略蒸馏(BOPD),在数学推理和代码生成任务上优于初始模型与OPSD教师。

摘要:

在线策略蒸馏(OPD)通过在学生生成的轨迹上蒸馏教师预测来提升语言模型性能,而在线策略自蒸馏(OPSD)则无需外部教师,而是使用模型的参考条件副本作为教师。尽管早期改进显著,但研究发现OPSD在持续训练下无法保持稳定效果,最终会出现严重的性能退化。本研究分析了该训练行为,将退化归因于不断演化的无参考学生与冻结的特权教师之间日益扩大的不匹配:在OPSD早期,特权教师与学生紧密对齐,为学生生成轨迹提供有用指导;但随着训练推进,特权教师与无参考学生之间的分布不匹配会导致教师提供误导性监督,最终降低学生性能。这一现象促使研究者先利用特权参考监督获取有用知识,再将其迁移到新学生中。本研究提出自举式在线策略蒸馏(BOPD),这是一个两阶段框架:首先使用OPSD将参考条件监督中的任务相关信息内化到中间模型,然后将该无参考中间模型蒸馏到初始模型的新副本中。跨模型实验表明,BOPD在数学推理和代码生成任务上的表现优于初始模型和构建的OPSD教师。这些结果表明,通过先将特权参考监督的任务相关信号迁移到任务适配模型,再从该模型进行无参考条件的蒸馏,可更有效地利用特权参考监督。

英文摘要:

On-policy distillation (OPD) improves language models by distilling teacher predictions on student-generated trajectories, while on-policy self-distillation (OPSD) removes the need for an external teacher by using a reference-conditioned copy of the model as the teacher. Despite its great early improvements, we find that OPSD does not remain consistently effective under continued training and can eventually suffer substantial performance degradation. We study this training behavior and link the degradation to a growing mismatch between the evolving reference-free student and the frozen privileged teacher. In the early stage of OPSD, the privileged teacher remains closely aligned with the student and provides useful guidance for improving the student's generation trajectories. However, as training progresses, the growing distributional mismatch between the privileged teacher and reference-free student can cause the teacher to provide misleading supervision, ultimately degrading student performance. This phenomenon motivates us to first leverage privileged reference supervision to acquire useful knowledge and then transfer it to a fresh student. We introduce Bootstrapped On-Policy Distillation (BOPD), a two-stage framework that first uses OPSD to internalize task-relevant information from reference-conditioned supervision into an intermediate model, and then distills this reference-free intermediate model into a fresh copy of the initial model. Experiments across models show that BOPD improves mathematical reasoning and code generation beyond both the initial models and the constructed OPSD teachers. These results suggest that privileged reference supervision can be more effectively exploited by first transferring its task-relevant signal into a task-adapted model and then distilling from that model without reference conditioning.

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

↑