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

大语言模型预训练中的模型合并

Model Merging in Pre-training of Large Language Models

ByteDance Seed(字节跳动种子)
Yunshui Li, Yiyuan Ma, Shen Yan, Chaoyi Zhang, Jing Liu, Jianqiao Lu, Ziwen Xu, Mengzhao Chen, Minrui Wang, Shiyi Zhan, Jin Ma, Xunhao Lai, Deyi Liu, Yao Luo, X… 展开作者

Yunshui Li, Yiyuan Ma, Shen Yan, Chaoyi Zhang, Jing Liu, Jianqiao Lu, Ziwen Xu, Mengzhao Chen, Minrui Wang, Shiyi Zhan, Jin Ma, Xunhao Lai, Deyi Liu, Yao Luo, Xingyan Bin, Hongbin Ren, Mingji Han, Wenhao Hao, Bairen Yi, LingJun Liu, Bole Ma, Xiaoying Jia, Xun Zhou, Siyuan Qiao, Liang Xiang, Yonghui Wu

AI总结:

本文系统研究大语言模型预训练中的模型合并,证明合并恒定学习率检查点可提升性能并预测退火行为,降低成本,并提供实用指南。

摘要:

模型合并已成为增强大语言模型的一种有前景的技术,尽管其在大规模预训练中的应用仍相对未被探索。在本文中,我们对预训练过程中的模型合并技术进行了全面研究。通过使用从数百万到超过1000亿参数的密集和混合专家(MoE)架构进行的大量实验,我们证明,使用恒定学习率训练的检查点进行合并,不仅能实现显著的性能提升,还能准确预测退火行为。这些改进带来了更高效的模型开发和显著更低的训练成本。我们关于合并策略和超参数的详细消融研究,为潜在机制提供了新的见解,同时发现了新的应用。通过全面的实验分析,我们为开源社区提供了有效的模型合并的实用预训练指南。

英文摘要:

Model merging has emerged as a promising technique for enhancing large language models, though its application in large-scale pre-training remains relatively unexplored. In this paper, we present a comprehensive investigation of model merging techniques during the pre-training process. Through extensive experiments with both dense and Mixture-of-Experts (MoE) architectures ranging from millions to over 100 billion parameters, we demonstrate that merging checkpoints trained with constant learning rates not only achieves significant performance improvements but also enables accurate prediction of annealing behavior. These improvements lead to both more efficient model development and significantly lower training costs. Our detailed ablation studies on merging strategies and hyperparameters provide new insights into the underlying mechanisms while uncovering novel applications. Through comprehensive experimental analysis, we offer the open-source community practical pre-training guidelines for effective model merging.

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

↑