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

非均匀参数级模型合并

Non-Uniform Parameter-Wise Model Merging

Concordia University(康考迪亚大学);Université de Montréal(蒙特利尔大学)

Albert Manuel Orozco Camacho, Stefan Horoi, Guy Wolf, Eugene Belilovsky

AI总结:

本文提出NP Merge方法,通过基于梯度的优化学习每个参数的贡献来合并模型,有效解决了不同初始化模型合并性能下降的问题,并在多架构和多模型场景中展现出优越的可扩展性。

摘要:

组合多个机器学习模型长期以来一直是一种提升性能的技术,特别是在分布式环境中。传统方法(如模型集成)效果很好,但在内存和计算方面成本高昂。最近,基于平均模型参数的方法在某些环境中取得了良好结果并获得了普及。然而,合并初始化不同且不共享部分训练轨迹的模型,即使在对齐其神经元之后,其结果可能比仅使用基础模型更差。在本文中,我们引入了一种新颖的方法,即非均匀参数级模型合并(Non-uniform Parameter-wise Model Merging,简称 NP Merge),该方法通过基于梯度的优化来学习每个参数对最终模型的贡献,从而实现模型合并。我们实证证明了我们的方法在多种环境中合并各种架构模型的有效性,超越了以往的方法。我们还扩展了 NP Merge 以处理多个模型的合并,展示了其可扩展性和鲁棒性。

英文摘要:

Combining multiple machine learning models has long been a technique for enhancing performance, particularly in distributed settings. Traditional approaches, such as model ensembles, work well, but are expensive in terms of memory and compute. Recently, methods based on averaging model parameters have achieved good results in some settings and have gained popularity. However, merging models initialized differently that do not share a part of their training trajectories can yield worse results than simply using the base models, even after aligning their neurons. In this paper, we introduce a novel approach, Non-uniform Parameter-wise Model Merging, or NP Merge, which merges models by learning the contribution of each parameter to the final model using gradient-based optimization. We empirically demonstrate the effectiveness of our method for merging models of various architectures in multiple settings, outperforming past methods. We also extend NP Merge to handle the merging of multiple models, showcasing its scalability and robustness.

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

↑