Linear Mode Connectivity between Multiple Models modulo Permutation Symmetries
Akira Ito, Masanori Yamada, Atsutoshi Kumagai
摘要
Ainsworth et al. (2023) empirically demonstrated that linear mode connectivity (LMC) can be achieved between two independently trained neural networks (NNs) by applying an appropriate parameter permutation. LMC is satisfied if a linear path with non-increasing test loss exists between the models, suggesting that NNs trained with stochastic gradient descent (SGD) converge to a single approximately convex low-loss basin under permutation symmetries. However, Ainsworth et al. ( 2023 ) verified LMC for two models and provided only limited discussion on its extension to multiple models. In this paper, we conduct a more detailed empirical analysis. First, we show that existing permutation search methods designed for two models can fail to transfer multiple models into the same convex low-loss basin. Next, we propose a permutation search method using a straight-through estimator for multiple models (STE-MM). We then experimentally demonstrate that even when multiple models are given, the test loss of the merged model remains nearly the same as the losses of the original models when using STE-MM, and the loss barriers between all permuted model pairs are also small. Additionally, from the perspective of the trace of the Hessian matrix, we show that the loss sharpness around the merged model decreases as the number of models increases with STE-MM, indicating that LMC for multiple models is more likely to hold. The source code implementing our method is available at https://github.com/e5-a/STE-MM .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Federated Learning with Matched Averaging 引用了 Model Fusion via Optimal Transport
- Model Fusion via Optimal Transport 引用了 Federated Learning with Matched Averaging
- 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 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivity 引用了 Federated Learning with Matched Averaging
- Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivity 引用了 Model Fusion via Optimal Transport
- Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivity 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivity 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Functional Equivalence in Attention: A Comprehensive Study with Applications to Linear Mode Connectivity 引用了 Model Fusion via Optimal Transport
- Functional Equivalence in Attention: A Comprehensive Study with Applications to Linear Mode Connectivity 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Functional Equivalence in Attention: A Comprehensive Study with Applications to Linear Mode Connectivity 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
引用它的顶会 Paper3
- Identifiability of Deep Polynomial Neural NetworksKonstantin Usevich, Ricardo Augusto Borsoi, Clara Dérand, Marianne ClauselNeurIPS 2025 · 21 次引用
- Do We Really Need Permutations? Impact of Model Width on Linear Mode ConnectivityAkira Ito, Masanori Yamada, Daiki Chijiwa, Atsutoshi KumagaiICLR 2026 · 2 次引用
- Functional Equivalence in Attention: A Comprehensive Study with Applications to Linear Mode ConnectivityViet Hoang Tran, VINH KHANH BUI, Van-Hoan Trinh, Ngoc Tan Lai 等ICML 2026
它引用的 Paper13
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- 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 次引用
- Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos 等ICLR 2020 · 1,368 次引用
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 次引用
- Model Fusion via Optimal TransportSidak Pal Singh, Martin JaggiNeurIPS 2020 · 330 次引用
相关 Paper
- Analysis of Linear Mode Connectivity via Permutation-Based Weight Matching: With Insights into Other Permutation Search MethodsAkira Ito, Masanori Yamada, Atsutoshi KumagaiICLR 2025
- Git Re-Basin: Merging Models modulo Permutation SymmetriesSamuel K. Ainsworth, Jonathan Hayase, Siddhartha S. SrinivasaICLR 2023 · 32 次引用
- Going Beyond Linear Mode Connectivity: The Layerwise Linear Feature ConnectivityZhanpeng Zhou, Yongyi Yang, Xiaojiang Yang, Junchi Yan 等NeurIPS 2023 · 56 次引用
- On Linear Mode Connectivity of Mixture-of-Experts ArchitecturesViet-Hoang Tran, Van-Hoan Trinh, Khanh Vinh Bui, Tan M. NguyenNeurIPS 2025 · 9 次引用
- Generalized Linear Mode Connectivity for TransformersAlexander Theus, Alessandro Cabodi, Sotiris Anagnostidis, Antonio Orvieto 等NeurIPS 2025 · 18 次引用
