Analysis of Linear Mode Connectivity via Permutation-Based Weight Matching: With Insights into Other Permutation Search Methods
Not on the map. Why?
Abstract (arXiv)
Recently, Ainsworth et al. showed that using weight matching (WM) to minimize the L2 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 L2 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.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 35 of its 56 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
35 of 56 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2023A Survey of Large Language Modelscited by 2,576
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
- 2016Federated Optimization: Distributed Machine Learning for On-Device Intelligencecited by 564
- 2020Federated Learning with Matched Averagingcited by 564
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
23 more
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 330
- 2018Stronger generalization bounds for deep nets via a compression approachcited by 307
- 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 306
- 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 291
- 2019Uniform convergence may be unable to explain generalization in deep learningcited by 224
- 2019Model Fusion via Optimal Transportcited by 219
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 120
- 2016Topology and Geometry of Half-Rectified Network Optimizationcited by 102
- 2018The Singular Values of Convolutional Layerscited by 95
- 2019Explaining Landscape Connectivity of Low-cost Solutions for Multilayer Netscited by 63
- 2022Re-basin via implicit Sinkhorn differentiationcited by 62
- 2022Implicit Regularization Towards Rank Minimization in ReLU Networkscited by 53
- 2019On Connected Sublevel Sets in Deep Learningcited by 51
- 2023Going Beyond Linear Mode Connectivity: The Layerwise Linear Feature Connectivitycited by 50
- 2023FFCV: Accelerating Training by Removing Data Bottleneckscited by 49
- 2017Compression-aware Training of Deep Networkscited by 46
- 2018On the loss landscape of a class of deep neural networks with no bad local valleyscited by 38
- 2023Proving Linear Mode Connectivity of Neural Networks via Optimal Transportcited by 25
- 2023Layer-wise Linear Mode Connectivitycited by 22
- 2022SGD and Weight Decay Secretly Minimize the Rank of Your Neural Networkcited by 19
- 2016On the Compression of Recurrent Neural Networks with an Application to LVCSR acoustic modeling for Embedded Speech Recognitioncited by 10
- 2020Compressed Deep Networks: Goodbye SVD, Hello Robust Low-Rank Approximationcited by 8
- 2024Vanishing Feature: Diagnosing Model Merging and Beyondcited by 5
Built on by
Citing papers per year: 2024: 2; 2025: 6; 2026: 1.
9 papers.
- 2024Approaching Deep Learning through the Spectral Dynamics of Weightscited by 31
- 2025Generalized Linear Mode Connectivity for Transformerscited by 16
- 2025From Task-Specific Models to Unified Systems: A Review of Model Merging Approachescited by 11
- 2025The Butterfly Effect: Neural Network Training Trajectories Are Highly Sensitive to Initial Conditionscited by 9
- 2025Speculate, then Collaborate: Fusing Knowledge of Language Models during Decodingcited by 8
- 2025Sparse Training from Random Initialization: Aligning Lottery Ticket Masks using Weight Symmetrycited by 2
- 2025Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivitycited by 2
- 2024Deep Model Merging: The Sister of Neural Network Interpretability -- A Surveycited by 0
- 2026From the Loss Landscape to Diverse Feature Learning in Neural Networkscited by 0
- 2026From the Loss Landscape to Diverse Feature Learning in Neural Networks28 Aug 2026
- 2025Do We Really Need Permutations? Impact of Model Width on Linear Mode Connectivity9 Oct 2025
- 2025Generalized Linear Mode Connectivity for Transformers28 Jun 2025
- 2025The Butterfly Effect: Neural Network Training Trajectories Are Highly Sensitive to Initial Conditions16 Jun 2025
- 2025Sparse Training from Random Initialization: Aligning Lottery Ticket Masks using Weight Symmetry8 May 2025
- 2025From Task-Specific Models to Unified Systems: A Review of Model Merging Approaches12 Mar 2025
- 2025Speculate, then Collaborate: Fusing Knowledge of Language Models during Decoding11 Feb 2025
- 2024Deep Model Merging: The Sister of Neural Network Interpretability -- A Survey16 Oct 2024
- 2024Approaching Deep Learning through the Spectral Dynamics of Weights21 Aug 2024