Lune

ICML2024顶会

Harmony in Diversity: Merging Neural Networks with Canonical Correlation Analysis

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

摘要

Combining the predictions of multiple trained models through ensembling is generally a good way to improve accuracy by leveraging the different learned features of the models, however it comes with high computational and storage costs. Model fusion, the act of merging multiple models into one by combining their parameters reduces these costs but doesn't work as well in practice. Indeed, neural network loss landscapes are high-dimensional and non-convex and the minima found through learning are typically separated by high loss barriers. Numerous recent works have been focused on finding permutations matching one network features to the features of a second one, lowering the loss barrier on the linear path between them in parameter space. However, permutations are restrictive since they assume a one-to-one mapping between the different models' neurons exists. We propose a new model merging algorithm, CCA Merge, which is based on Canonical Correlation Analysis and aims to maximize the correlations between linear combinations of the model features. We show that our alignment method leads to better performances than past methods when averaging models trained on the same, or differing data splits. We also extend this analysis into the harder setting where more than 2 models are merged, and we find that CCA Merge works significantly better than past methods. Our code is publicly available at https://github.com/shoroi/align-n-merge

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Curriculum Model Merging: Harmonizing Chemical LLMs for Enhanced Cross-Task Generalization 引用了 TIES-Merging: Resolving Interference When Merging Models
  • Curriculum Model Merging: Harmonizing Chemical LLMs for Enhanced Cross-Task Generalization 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
  • Curriculum Model Merging: Harmonizing Chemical LLMs for Enhanced Cross-Task Generalization 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • TIES-Merging: Resolving Interference When Merging Models 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
  • TIES-Merging: Resolving Interference When Merging Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • TIES-Merging: Resolving Interference When Merging Models 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • TIES-Merging: Resolving Interference When Merging Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • MASS: MoErging through Adaptive Subspace Selection 引用了 TIES-Merging: Resolving Interference When Merging Models
  • MASS: MoErging through Adaptive Subspace Selection 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
  • MASS: MoErging through Adaptive Subspace Selection 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • MASS: MoErging through Adaptive Subspace Selection 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Modeling Multi-Task Model Merging as Adaptive Projective Gradient Descent 引用了 TIES-Merging: Resolving Interference When Merging Models
  • Modeling Multi-Task Model Merging as Adaptive Projective Gradient Descent 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Modeling Multi-Task Model Merging as Adaptive Projective Gradient Descent 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight Aggregation 引用了 TIES-Merging: Resolving Interference When Merging Models
  • Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight Aggregation 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
  • Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight Aggregation 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight Aggregation 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • EvoGM: Learning to Merge LLMs via Evolutionary Generative Optimization 引用了 TIES-Merging: Resolving Interference When Merging Models
  • EvoGM: Learning to Merge LLMs via Evolutionary Generative Optimization 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. MASS: MoErging through Adaptive Subspace SelectionDonato Crisostomi, Alessandro Zirilli, Antonio Andrea Gargiulo, Maria Sofia Bucarelli 等ICLR 2026 · 4 次引用
  2. EvoGM: Learning to Merge LLMs via Evolutionary Generative OptimizationTao Jiang, Xinmeng Yu, Chenhao Yi, Yiling Wu 等ICML 2026 · 1 次引用
  3. Curriculum Model Merging: Harmonizing Chemical LLMs for Enhanced Cross-Task GeneralizationBaoyi He, Luotian Yuan, Ying Wei, Fei WuNeurIPS 2025
  4. Modeling Multi-Task Model Merging as Adaptive Projective Gradient DescentYongxian Wei, Anke Tang, Li Shen, Zixuan Hu 等ICML 2025
  5. Partial Fusion of Neural Networks: Efficient Tradeoffs Between Ensembles and Weight AggregationFabian Morelli, Stephan EcksteinICML 2026

它引用的 Paper11

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
  3. TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
  4. Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 次引用
  5. The Role of Permutation Invariance in Linear Mode Connectivity of Neural NetworksRahim Entezari, Hanie Sedghi, Olga Saukh, Behnam NeyshaburICLR 2022 · 301 次引用

相关 Paper

  1. M-Loss: Quantifying Model Merging Compatibility with Limited Unlabeled DataTiantong Wang, Yiyang Duan, Haoyu Chen, Tiantong Wu 等AAAI 2026
  2. Model Fusion via Optimal TransportSidak Pal Singh, Martin JaggiNeurIPS 2020 · 330 次引用
  3. C2M3C^2M^3: Cycle-Consistent Multi-Model MergingDonato Crisostomi, Marco Fumero, Daniele Baieri, Florian Bernard 等NeurIPS 2024 · 23 次引用
  4. PLeaS - Merging Models with Permutations and Least SquaresAnshul Nasery, Jonathan Hayase, Pang Wei Koh, Sewoong OhCVPR 2025
  5. NeuronMerge: Merging Models via Functional Neuron GroupsWangyun Gu, Qianghua Gao, Li-Xin Zhang, Xu Shen 等ACL Findings 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖