Skip to main content
QUICK REVIEW

[论文解读] Deep Model Fusion: A Survey

Weishi Li, Yong Peng|arXiv (Cornell University)|Sep 27, 2023
Infrastructure Maintenance and MonitoringEngineering被引用 13
一句话总结

本综述将深度模型融合方法分为四类——模式连通性、对齐、权重平均和集成学习——讨论原理、挑战、应用与未来方向。

ABSTRACT

Deep model fusion/merging is an emerging technique that merges the parameters or predictions of multiple deep learning models into a single one. It combines the abilities of different models to make up for the biases and errors of a single model to achieve better performance. However, deep model fusion on large-scale deep learning models (e.g., LLMs and foundation models) faces several challenges, including high computational cost, high-dimensional parameter space, interference between different heterogeneous models, etc. Although model fusion has attracted widespread attention due to its potential to solve complex real-world tasks, there is still a lack of complete and detailed survey research on this technique. Accordingly, in order to understand the model fusion method better and promote its development, we present a comprehensive survey to summarize the recent progress. Specifically, we categorize existing deep model fusion methods as four-fold: (1) "Mode connectivity", which connects the solutions in weight space via a path of non-increasing loss, in order to obtain better initialization for model fusion; (2) "Alignment" matches units between neural networks to create better conditions for fusion; (3) "Weight average", a classical model fusion method, averages the weights of multiple models to obtain more accurate results closer to the optimal solution; (4) "Ensemble learning" combines the outputs of diverse models, which is a foundational technique for improving the accuracy and robustness of the final model. In addition, we analyze the challenges faced by deep model fusion and propose possible research directions for model fusion in the future. Our review is helpful in deeply understanding the correlation between different model fusion methods and practical application methods, which can enlighten the research in the field of deep model fusion.

研究动机与目标

  • 基于内部机制与目的,提供一个综合的深度模型融合方法分类法。
  • 分析模式连通性、对齐、权重平均和集成学习的优点、局限性及相互作用。
  • 突出大规模模型和隐私保护环境下深度模型融合的典型应用与实际挑战。
  • 指出尚未解决的挑战及未来潜在方向,以引导深度模型融合的研究与应用。

提出的方法

  • 将现有深度模型融合方法分为四类:模式连通性、对齐、权重平均和集成学习。
  • 解释每一类别中的子类型与公式化(例如,线性与非线性模式连通性、在对齐中激活与权重匹配)。
  • 讨论理论见解,如损失景观的连通性、排列对称性(Re-basin)以及用于激活匹配的最优传输。
  • 综述在不从零重新训练的情况下融合模型的实用方法与评估指标。
  • 回顾应用包括联邦学习、微调、蒸馏,以及基础模型的融合。
Figure 1: Schematic diagram of the overall model fusion process, as well as classification and connection of various classification methods.
Figure 1: Schematic diagram of the overall model fusion process, as well as classification and connection of various classification methods.

实验结果

研究问题

  • RQ1有哪些核心机制能够实现对独立训练模型的有效融合?
  • RQ2模式连通性、对齐、权重平均和集成学习在假设、计算成本和结果方面有何差异?
  • RQ3哪些挑战(如计算成本、异质性、可扩展性)限制当前的深度模型融合方法,如何应对?
  • RQ4将深度模型融合应用于现实任务和大规模模型的主要应用与最佳实践是什么?

主要发现

  • 模式连通性表明由梯度优化找到的解可以通过低损失路径连接,从而实现改进的初始化与融合。
  • 对齐依赖于跨模型匹配单元和激活以创造更好的融合条件,Re-basin 解决了置换不变性。
  • 权重平均因其简单性和高效性,特别是在模型相似时,仍然是主流融合方法。
  • 集成学习通过结合输出提高准确性和鲁棒性,尽管在测试时需要维护多个模型。
  • 应用范围包括联邦学习、微调、蒸馏,以及基础模型/大语言模型的融合,展示了实际收益与隐私/资源方面的考量。
Figure 2: Mode connectivity schematic diagram in two-dimensional loss landscape and other dimensional subspace. Left: Linear interpolation of the minima in the two basins results in high-loss barriers [ 46 ] . The lower two optimums follow a path of near constant low loss (e.g., Bezier curve, Polygo
Figure 2: Mode connectivity schematic diagram in two-dimensional loss landscape and other dimensional subspace. Left: Linear interpolation of the minima in the two basins results in high-loss barriers [ 46 ] . The lower two optimums follow a path of near constant low loss (e.g., Bezier curve, Polygo

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。