2025-02-13 · 专家 · 自然语言处理 · 机器学习

Distillation Scaling Laws

这篇论文提出了一个蒸馏缩放定律,用于根据计算预算和教师与学生的分配来估计蒸馏模型的性能,从而降低大规模使用蒸馏的风险,并提供了计算最优的蒸馏方案。

更新于 2025-02-16。作者:Dan Busbridge、Amitis Shidani、Floris Weers、Jason Ramapuram、Etai Littwin、Russ Webb。

中文摘要

我们提供了一种蒸馏缩放定律,该定律基于计算预算及其在学生模型和教师模型之间的分配来估计蒸馏模型的性能。我们的发现降低了使用大规模蒸馏的风险;现在可以为教师和学生模型分配计算资源以最大化学生模型的性能。我们提供了针对以下情况的计算优化蒸馏方案:1)存在教师模型时,或2)教师模型需要训练。如果需要蒸馏许多学生模型,或者已经存在教师模型,那么在计算水平达到一个与学生规模可预测增长的水平之前,蒸馏的性能优于监督预训练。如果需要蒸馏一个学生模型且教师模型也需要训练,则应进行监督学习。此外,我们还提供了关于蒸馏的大规模研究见解,这些见解增加了我们对蒸馏的理解,并指导了实验设计。

英文摘要

We provide a distillation scaling law that estimates distilled model performance based on a compute budget and its allocation between the student and teacher. Our findings reduce the risks associated with using distillation at scale; compute allocation for both the teacher and student models can now be done to maximize student performance. We provide compute optimal distillation recipes for when 1) a teacher exists, or 2) a teacher needs training. If many students are to be distilled, or a teacher already exists, distillation outperforms supervised pretraining until a compute level which grows predictably with student size. If one student is to be distilled and a teacher also needs training, supervised learning should be done instead. Additionally, we provide insights across our large scale study of distillation, which increase our understanding of distillation and inform experimental design.

解读

一句话总结

这篇论文提出了一个蒸馏缩放定律,用于根据计算预算和教师与学生的分配来估计蒸馏模型的性能,从而降低大规模使用蒸馏的风险,并提供了计算最优的蒸馏方案。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源