arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.01580cs.LGcs.AI
收藏

模型融合:基础与算法

Model Merging: Foundations and Algorithms

Sapienza University of Rome(萨皮恩扎罗马大学);Department of Computer Science(计算机科学系);GLADIA research lab(GLADIA研究实验室);Faculty of Information Engineering, Informatics, and Statistics(信息工程、信息学和统计学学院)

Donato Crisostomi

AI总结:

本文研究了模型融合作为替代范式,提出C$^2$M$^3$和MASS等算法,通过参数空间整合多个网络,减少计算成本并提升模型性能。

摘要:

现代深度学习通常将模型视为独立的artifact:独立训练、专用于特定目的,并在改进版本出现时被替换。本论文研究了模型融合作为替代范式:在权重空间中直接结合独立训练的神经网络,几乎不进行优化,且不需要访问原始训练数据。论文考虑了两种主要场景。在单任务设置中,模型共享目标但初始化不同,我们引入C$^2$M$^3$,一种基于Frank-Wolfe优化的循环一致融合算法。C$^2$M$^3$将多个网络整合到共享的参考自由参数空间中,使权重平均有意义而不优先考虑任何单个模型。在多任务设置中,模型从共同的预训练初始化进行微调以适应不同的下游任务,我们首先发展了任务向量作为近似梯度的理论解释。这解释了任务算术的有效性和局限性。基于这一观点,我们展示任务向量继承梯度的低秩结构,并引入任务奇异向量(TSV),一种通过TSV-Merge实现压缩和干扰减少的分解方法。我们随后提出MASS,一种输入自适应的路由方法,利用TSV几何在推理时选择任务相关的子空间。最后,我们介绍MERGE$^3$,一种进化融合框架,利用项目反应理论将评估成本减少高达50$\times$,同时保持解决方案质量。

英文摘要:

Modern deep learning usually treats models as separate artifacts: trained independently, specialized for particular purposes, and replaced when improved versions appear. This thesis studies model merging as an alternative paradigm: combining independently trained neural networks directly in weight space, with little or no optimization and without requiring access to the original training data. The thesis considers two main regimes. In the single-task setting, where models share an objective but differ in initialization, we introduce C$^2$M$^3$, a cycle-consistent merging algorithm based on Frank-Wolfe optimization. C$^2$M$^3$ aligns multiple networks into a shared, reference-free parameter space, making weight averaging meaningful without privileging any individual model. In the multi-task setting, where models are fine-tuned for different downstream tasks from a common pretrained initialization, we first develop a theoretical account of task vectors as approximate gradients. This explains both the effectiveness and the limitations of task arithmetic. Building on this view, we show that task vectors inherit the low-rank structure of gradients and introduce Task Singular Vectors (TSV), a decomposition that enables compression and interference reduction through TSV-Merge. We then present MASS, an input-adaptive routing method that uses TSV geometry to select task-relevant subspaces at inference time. Finally, we introduce MERGE$^3$, an evolutionary merging framework that uses Item Response Theory to reduce evaluation costs by up to 50$\times$ while preserving solution quality. Together, these contributions provide theoretical and algorithmic foundations for model merging, supporting a paradigm in which learned capabilities can be composed, reused, and extended across models.

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

↑