arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.21657cs.LGcs.AIcs.CL
收藏

模型组装学习与异构层权重合并

Model Assembly Learning with Heterogeneous Layer Weight Merging

School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);Yingcai Honors College, University of Electronic Science and Technology of China(电子科技大学英才学院)

Yi-Kai Zhang, Jin Wang, Xu-Xiang Zhong, De-Chuan Zhan, Han-Jia Ye

AI总结:

提出模型组装学习(MAL),一种无需额外数据或训练、通过迭代整合异构模型参数来增强基础模型能力的新范式,并系统研究其条件、解决层宽不匹配问题,提供实施指南。

摘要:

模型合并通过组合多个模型的参数,无需额外数据或训练即可获得通用能力。以往的方法通过排列不变性将参数对齐到同一损失盆地,从而实现线性模式连通。在本文中,我们引入了模型组装学习(MAL),这是一种新颖的模型合并范式,它迭代地整合来自开放模型动物园中多样模型的参数,以增强基础模型的能力。与以往需要相同架构的工作不同,MAL允许合并异构架构以及跨层的选择性参数。具体来说,基础模型可以整合来自多个预训练模型不同层的参数。我们系统地研究了异构参数合并的条件和基本设置,解决了基础模型与目标模型之间层宽的所有可能不匹配问题。此外,我们建立了关键定律,并为有效实施MAL提供了实用指南。

英文摘要:

Model merging acquires general capabilities without extra data or training by combining multiple models' parameters. Previous approaches achieve linear mode connectivity by aligning parameters into the same loss basin using permutation invariance. In this paper, we introduce Model Assembly Learning (MAL), a novel paradigm for model merging that iteratively integrates parameters from diverse models in an open-ended model zoo to enhance the base model's capabilities. Unlike previous works that require identical architectures, MAL allows the merging of heterogeneous architectures and selective parameters across layers. Specifically, the base model can incorporate parameters from different layers of multiple pre-trained models. We systematically investigate the conditions and fundamental settings of heterogeneous parameter merging, addressing all possible mismatches in layer widths between the base and target models. Furthermore, we establish key laws and provide practical guidelines for effectively implementing MAL.

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

↑