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

推测自蒸馏实现高效知识内化

Speculative Self-Distillation enables Efficient Knowledge Internalization

Stanford University(斯坦福大学);ETH Zürich(苏黎世联邦理工学院)

Shayan Talaei, Agam Bhatia, Arshia Soltani Moakhar, Jonas Hübotter, Amin Saberi, Azalia Mirhoseini

AI总结:

提出推测自蒸馏(SSD)方法,在闭卷问答基准上以更少监督 token 达到接近策略蒸馏的性能,优于离策略蒸馏,还在遗忘测试中表现更优,为自蒸馏建立新帕累托前沿。

摘要:

许多实际应用要求语言模型内化预训练中缺失的知识、纳入持续更新的事实或学习新的领域技能,自蒸馏已成为该任务的自然方法:以源材料为条件的模型作为教师,训练无条件的学生模型闭卷复现教师行为。本文提出推测自蒸馏(SSD),一种高效的逐词混合策略自蒸馏方法:学生默认生成每个输出,仅在教师的下一词分布与学生的分布显著偏离的位置进行干预。与使用教师生成前缀的离策略蒸馏不同,该设计使训练输出接近学生的测试时行为,同时避免完全策略输出会陷入的低信号状态。SSD让教师仅在特权上下文改变预测的位置引导输出。在三个衡量事实召回、知识更新和技能获取的闭卷问答基准上,SSD几乎与策略蒸馏性能相当,同时使用38%-69%更少的监督 token,且在保留的测试集上持续优于离策略蒸馏。在遗忘压力测试中,SSD保留了最通用的能力,同时实现最佳的领域内准确率,且比策略基线使用更少的监督。总体而言,SSD为自蒸馏建立了新的准确率-效率-遗忘帕累托前沿。

英文摘要:

Many real-world applications require language models to internalize knowledge that was absent from pretraining, to incorporate continually updated facts, or to learn new domain skills. Self-distillation has emerged as a natural approach for this task. A model conditioned on the source material acts as the teacher, and an unconditioned student is trained to reproduce the teacher's behavior closed-book. We propose Speculative Self-Distillation (SSD), an efficient per-token mixed-policy method for self-distillation. The student generates each rollout by default, while the teacher intervenes only at positions where its next-token distribution substantially diverges from the student's. Unlike off-policy distillation with teacher-generated prefixes, this design keeps training rollouts close to the student's test-time behavior, while avoiding the low-signal states that fully on-policy rollouts drift into. In effect, SSD lets the teacher steer the rollout exactly where the privileged context changes the prediction. On three closed-book QA benchmarks measuring fact recall, knowledge updates, and skill acquisition, SSD nearly matches on-policy distillation while using 38-69% fewer supervised tokens and consistently outperforms off-policy distillation on the held-out test set. On a forgetting stress test, SSD retains the most general capability while also achieving the best in-domain accuracy and using less supervision than the on-policy baseline. Overall, SSD establishes a new accuracy-efficiency-forgetting Pareto frontier for self-distillation.

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

↑