arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.13405cs.LG
收藏

何时在扩展语言模型时预热是有效的?

When is Warmstarting Effective for Scaling Language Models?

University of Freiburg(弗赖堡大学);Zuse School ELIZA(Zuse学校ELIZA);University of Technology Nuremberg(努尔登堡技术大学);University of Helsinki(赫尔辛基大学);Prior Labs(Prior实验室);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Neeratyoy Mallik, Maciej Janowski, Johannes Hog, Herilalaina Rakotoarison, Josif Grabocka, Frank Hutter, Aaron Klein

AI总结:

本文研究了预热在扩展语言模型中的有效性,发现简单策略优于复杂预热操作,并确定了增长因子的上限,为模型扩展提供实践指导。

摘要:

模型增长旨在加速更大模型的训练,提供潜在的资源节省。尽管近期有关注,但预热在大规模训练中仍见较少的实际应用。我们归因于两个未充分探讨的因素:(1) 过度强调初始化时较小模型性能的保持,这限制了新架构的操作设计;(2) 对增长与超参数和扩展行为相互作用的分析不足,且文献中增长因子不一致。我们证明,保持基础模型初始增长后的性能并非强最终性能的必要条件,且简单、架构无关的增长策略可优于更复杂的预热操作。关键的是,我们实证地确定了增长因子$g$的上限,超过此界限后从头训练更高效。我们观察到这一现象在多个消融设置中均存在。值得注意的是,这一限制也存在于先前发表的结果中,但未被报告。在我们对密集MLP和密集语言模型的实验中,发现$2\times$的增长因子最可靠地带来收敛速度提升,收益在20 tokens/parameter预算下最为显著,随着预算增加而减少。我们拟合这些观察的扩展定律,为实践者决定何时以及如何增长提供预测指导。共同,我们的分析为模型增长提供了实用指南和实证限制。

英文摘要:

Model growth from a given checkpoint aims to accelerate training of a larger model, offering potential resource savings. Despite recent interest, warmstarting has seen limited practical adoption in large-scale training. We attribute this to two underexplored factors: (1) an overemphasis on preserving the smaller model's performance at initialization, which constrains operator design for new architectures, and (2) insufficient analysis of how growth interacts with hyperparameters and scaling behavior, compounded by inconsistent growth factors across the literature. We show that preserving the base model's initial post-growth performance is not necessary for strong final performance, and that simple, architecture-agnostic growth strategies can outperform more complex warmstarting operators. Crucially, we empirically identify an upper bound on the growth factor $g$ beyond which training from scratch is more efficient. We observe this across multiple ablation setups. Notably, this limit is also present, but unreported, in prior published results. Across our experiments on dense MLPs and dense language models, we find that a $2\times$ growth factor is the most reliable in yielding convergence speedups, with gains most pronounced under 20 tokens/parameter budgets and diminishing as budget increases. We fit scaling laws over these observations to provide predictive guidance for practitioners deciding when and how much to grow. Together, our analysis provides practical guidelines and empirical limits for model growth.

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

↑