arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2509.01649cs.LG
收藏

蒸馏预训练:数据、上下文学习与测试时缩放的现代视角

Distilled Pretraining: A modern lens of Data, In-Context Learning and Test-Time Scaling

FAIR at Meta(Meta旗下的FAIR);Carnegie Mellon University(卡内基梅隆大学)

Sachin Goyal, David Lopez-Paz, Kartik Ahuja

AI总结:

本研究探究蒸馏对大语言模型预训练的新范式影响,发现其提升测试时缩放性能但削弱上下文学习能力,并通过二元模型沙箱找到核心因素,给出预训练设计参考。

摘要:

过去一年中,蒸馏在大语言模型(LLM)预训练领域重新受到重视,Llama-3.2 和 Gemma 模型系列便是典型例证。尽管历史上已证明蒸馏可提升统计建模效果,但其对现代大语言模型关键的新范式(如测试时缩放和上下文学习)的影响仍未得到充分探究。本研究主要有三项贡献:第一,我们证明采用蒸馏进行预训练得到的模型,展现出显著更优的测试时缩放性能;第二,我们观察到这一优势存在权衡:蒸馏会削弱上下文学习能力,尤其是通过归纳头(induction heads)建模的能力;第三,为厘清这些发现,我们在二元语法模型(bigram model)的沙箱环境中研究蒸馏预训练,帮助我们分离出观测结果背后的共同核心因素。最后,基于这些洞见,我们阐明了多种预训练设计选择,可为后续从业者提供参考。

英文摘要:

In the past year, distillation has seen a renewed prominence in large language model (LLM) pretraining, exemplified by the Llama-3.2 and Gemma model families. While distillation has historically been shown to improve statistical modeling, its effects on new paradigms that are key to modern LLMs, such as test-time scaling and in-context learning, remain underexplored. In this work, we make three main contributions. First, we show that pretraining with distillation yields models that exhibit remarkably better test-time scaling. Second, we observe that this benefit comes with a trade-off: distillation impairs in-context learning capabilities, particularly the one modeled via induction heads. Third, to demystify these findings, we study distilled pretraining in a sandbox of a bigram model, which helps us isolate the common principal factor behind our observations. Finally, using these insights, we shed light on various design choices for pretraining that should help practitioners going forward.

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

↑