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

RegMean++:提升回归均值在模型合并中的效果与泛化能力

RegMean++: Enhancing Effectiveness and Generalization of Regression Mean for Model Merging

Japan Advanced Institute of Science and Technology(日本先进科学研究院);Ricoh Company, Ltd.(富士通株式会社)

The-Hai Nguyen, Dang Huu-Tien, Takeshi Suzuki, Le-Minh Nguyen

AI总结:

RegMean++通过引入层内和跨层依赖关系,改进模型合并的精度与泛化能力,在不同场景下均优于RegMean。

摘要:

回归均值(RegMean)是一种将模型合并视为线性回归问题的方法,旨在通过最小化合并模型与候选模型预测之间的差异来找到每个线性层的最优权重。RegMean为合并问题提供了一个精确的闭式解,因此提供了可解释性和计算效率。然而,RegMean独立地合并每个线性层,忽略了早期层的特征和信息如何通过更深层影响合并模型的最终预测。在此,我们引入了RegMean++,这是一种简单而有效的RegMean替代方法,它将合并模型各层之间的内在层和跨层依赖关系明确纳入RegMean的目标中。通过考虑这些依赖关系,RegMean++更好地捕捉了合并模型的行为。广泛的实验表明,RegMean++在多种设置下均优于RegMean,包括领域内(ID)和领域外(OOD)泛化、顺序合并、大规模任务以及在几种类型的分布偏移下的鲁棒性。此外,RegMean++在各种先进的模型合并方法中实现了具有竞争力的性能。

英文摘要:

Regression Mean (RegMean), an approach that formulates model merging as a linear regression problem, aims to find the optimal weights for each linear layer in the merged model by minimizing the discrepancy in predictions between the merged and candidate models. RegMean provides a precise closed-form solution for the merging problem; therefore, it offers explainability and computational efficiency. However, RegMean merges each linear layer independently, overlooking how the features and information in earlier layers propagate through deeper layers and influence the final predictions of the merged model. Here, we introduce RegMean++, a simple yet effective alternative to RegMean, that explicitly incorporates both intra-layer and cross-layer dependencies between merged models' layers into RegMean's objective. By accounting for these dependencies, RegMean++ better captures the behaviors of the merged model. Extensive experiments demonstrate that RegMean++ consistently outperforms RegMean across diverse settings, including in-domain (ID) and out-of-domain (OOD) generalization, sequential merging, large-scale tasks, and robustness under several types of distribution shifts. Furthermore, RegMean++ achieves competitive performance across diverse settings compared to various advanced model merging methods.

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

↑