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

从何处开始:通过子网络选择和蒸馏实现高效的预训练

Where to Begin: Efficient Pretraining via Subnetwork Selection and Distillation

University of Freiburg, Germany(弗赖堡大学);ELLIS Institute Tübingen, Germany(图宾根ELLIS研究所);Charles University, Faculty of Mathematics and Physics(查尔斯大学数学与物理系);PriorLabs;The Czech Academy of Sciences, Institute of Computer Science(捷克科学院计算机科学研究所)

Arjun Krishnakumar, Rhea Sanjay Sukthanker, Hannan Javed Mahadik, Gabriela Kadlecová, Vladyslav Moroshan, Timur Carstensen, Frank Hutter, Aaron Klein

AI总结:

本文提出一种高效预训练框架,通过子网络选择和蒸馏技术,使小型语言模型在资源消耗上显著低于大型模型,同时保持相近的性能。

摘要:

小型语言模型(SLMs)提供了一种高效且易于访问的替代方案,相较于大型语言模型(LLMs),在使用远 fewer 资源的情况下也能实现强劲的性能。我们介绍了一种简单而有效的框架,用于预训练 SLMs,该框架结合了三个互补的思路。首先,我们识别出结构稀疏的子网络初始化,这些初始化在相同的计算预算下,始终优于随机初始化的模型。其次,我们使用进化搜索自动发现高质量的子网络初始化,为预训练提供更好的起点。第三,我们应用从更大教师模型的知识蒸馏,以加速训练并提高泛化能力。这些组件共同使 SLM 预训练显著更高效:我们的最佳模型,通过进化搜索发现并初始化于 LLM 权重,其验证困惑度与可比的 Pythia SLM 相当,但在 10B 和 100B 的 token 预算下,分别只需要 5.16 倍和 1.26 倍的浮点运算。我们公开发布所有代码,提供了一条实用且可重复的路径,以实现大规模的低成本小型语言模型开发。

英文摘要:

Small Language models (SLMs) offer an efficient and accessible alternative to Large Language Models (LLMs), delivering strong performance while using far fewer resources. We introduce a simple and effective framework for pretraining SLMs that brings together three complementary ideas. First, we identify structurally sparse sub-network initializations that consistently outperform randomly initialized models of similar size under the same compute budget. Second, we use evolutionary search to automatically discover high-quality sub-network initializations, providing better starting points for pretraining. Third, we apply knowledge distillation from larger teacher models to speed up training and improve generalization. Together, these components make SLM pretraining substantially more efficient: our best model, discovered using evolutionary search and initialized with LLM weights, matches the validation perplexity of a comparable Pythia SLM while requiring 5.16x and 1.26x fewer floating point operations for token budgets of 10B and 100B, respectively. We release all code publicly, offering a practical and reproducible path toward cost-efficient small language model development at scale.

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

↑