Analysis of Linear Mode Connectivity via Permutation-Based Weight Matching: With Insights into Other Permutation Search Methods
摘要
Recently, Ainsworth et al. showed that using weight matching (WM) to minimize the distance in a permutation search of model parameters effectively identifies permutations that satisfy linear mode connectivity (LMC), where the loss along a linear path between two independently trained models with different seeds remains nearly constant. This paper analyzes LMC using WM, which is useful for understanding stochastic gradient descent's effectiveness and its application in areas like model merging. We first empirically show that permutations found by WM do not significantly reduce the distance between two models, and the occurrence of LMC is not merely due to distance reduction by WM itself. We then demonstrate that permutations can change the directions of the singular vectors, but not the singular values, of the weight matrices in each layer. This finding shows that permutations found by WM primarily align the directions of singular vectors associated with large singular values across models. This alignment brings the singular vectors with large singular values, which determine the model's functionality, closer between the original and merged models, allowing the merged model to retain functionality similar to the original models, thereby satisfying LMC. This paper also analyzes activation matching (AM) in terms of singular vectors and finds that the principle of AM is likely the same as that of WM. Finally, we analyze the difference between WM and the straight-through estimator (STE), a dataset-dependent permutation search method, and show that WM can be more advantageous than STE in achieving LMC among three or more models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Federated Learning with Matched Averaging 引用了 Model Fusion via Optimal Transport
- Model Fusion via Optimal Transport 引用了 Federated Learning with Matched Averaging
- Generalized Linear Mode Connectivity for Transformers 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
- Generalized Linear Mode Connectivity for Transformers 引用了 Model Fusion via Optimal Transport
- Generalized Linear Mode Connectivity for Transformers 引用了 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
- Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivity 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
- 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
- Symphony-MoE: Harmonizing Disparate Pre-trained Models into a Coherent Mixture-of-Experts 引用了 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 引用了 The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
- 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 引用了 Generalized Linear Mode Connectivity for Transformers
- 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
引用它的顶会 Paper6
- REAP the Experts: Why Pruning Prevails for One-Shot MoE compressionMike Lasby, Ivan Lazarevich, Nish Sinnadurai, Sean Lie 等ICLR 2026 · 47 次引用
- Generalized Linear Mode Connectivity for TransformersAlexander Theus, Alessandro Cabodi, Sotiris Anagnostidis, Antonio Orvieto 等NeurIPS 2025 · 18 次引用
- Do We Really Need Permutations? Impact of Model Width on Linear Mode ConnectivityAkira Ito, Masanori Yamada, Daiki Chijiwa, Atsutoshi KumagaiICLR 2026 · 2 次引用
- Symphony-MoE: Harmonizing Disparate Pre-trained Models into a Coherent Mixture-of-ExpertsQi Wang, Hanyang Peng, Yue YuAAAI 2026 · 1 次引用
- 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
它引用的 Paper11
- 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 次引用
- The Role of Permutation Invariance in Linear Mode Connectivity of Neural NetworksRahim Entezari, Hanie Sedghi, Olga Saukh, Behnam NeyshaburICLR 2022 · 301 次引用
相关 Paper
- Linear Mode Connectivity between Multiple Models modulo Permutation SymmetriesAkira Ito, Masanori Yamada, Atsutoshi KumagaiICML 2025
- Linear Mode Connectivity in Differentiable Tree EnsemblesRyuichi Kanoh, Mahito SugiyamaICLR 2025
- Git Re-Basin: Merging Models modulo Permutation SymmetriesSamuel K. Ainsworth, Jonathan Hayase, Siddhartha S. SrinivasaICLR 2023 · 32 次引用
- On Linear Mode Connectivity of Mixture-of-Experts ArchitecturesViet-Hoang Tran, Van-Hoan Trinh, Khanh Vinh Bui, Tan M. NguyenNeurIPS 2025 · 9 次引用
- : Cycle-Consistent Multi-Model MergingDonato Crisostomi, Marco Fumero, Daniele Baieri, Florian Bernard 等NeurIPS 2024 · 23 次引用
