[Paper Review] The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks
This paper proposes that permutation invariance in neural networks eliminates barriers in linear interpolation between SGD solutions, enabling linear mode connectivity (LMC) when parameter permutations are considered. Extensive experiments and a theoretical analysis for wide one-hidden-layer networks support the conjecture, showing that permuted solutions exhibit near-zero loss barriers, with implications for lottery tickets, distributed training, and ensemble methods.
In this paper, we conjecture that if the permutation invariance of neural networks is taken into account, SGD solutions will likely have no barrier in the linear interpolation between them. Although it is a bold conjecture, we show how extensive empirical attempts fall short of refuting it. We further provide a preliminary theoretical result to support our conjecture. Our conjecture has implications for lottery ticket hypothesis, distributed training, and ensemble methods.
Motivation & Objective
- To investigate whether permutation invariance can eliminate loss barriers in linear interpolation between SGD-trained neural network solutions.
- To understand how invariances such as weight permutations affect the geometry of the loss landscape and mode connectivity.
- To provide theoretical and empirical support for the conjecture that, under permutation invariance, SGD solutions are linearly connected with no barrier.
- To explore practical implications for the lottery ticket hypothesis, distributed training, and ensemble methods.
Proposed method
- Propose a conjecture that, when permutation invariance is accounted for, SGD solutions are linearly connected with no loss barrier.
- Use simulated annealing (SA) to search for optimal permutations of network weights that minimize the loss barrier between two trained models.
- Evaluate direct and indirect barriers between pairs of trained networks (e.g., on MNIST, CIFAR-10) before and after permutation using linear interpolation.
- Conduct extensive empirical evaluation across multiple architectures (MLP, CNN, VGG, ResNet), datasets (MNIST, SVHN, CIFAR-10, CIFAR-100), widths, and depths.
- Theoretical analysis proves the conjecture holds for wide, one-hidden-layer fully connected networks under random initialization.
- Compare real-world SGD solutions with a synthetic model where solutions are generated by permuting a single SGD solution or initialization.
Experimental results
Research questions
- RQ1Does accounting for permutation invariance eliminate the loss barrier in linear interpolation between SGD solutions in trained neural networks?
- RQ2To what extent can simulated annealing reduce or eliminate the loss barrier between two trained networks by permuting their weights?
- RQ3How does the barrier size vary with network width, depth, and dataset complexity when permutations are applied?
- RQ4Is there a consistent relationship between the loss barrier in real SGD solutions and a synthetic model where solutions are generated via permutations?
- RQ5Can the conjecture of permutation-invariant linear mode connectivity be theoretically justified for wide, one-hidden-layer networks?
Key findings
- Extensive empirical evaluation across over 3,000 trained networks shows that after applying optimal permutations, the loss barrier between SGD solutions is consistently reduced, often to near-zero values.
- For wide, one-hidden-layer MLPs, the theoretical analysis confirms that linear mode connectivity holds under permutation invariance, supporting the conjecture.
- Simulated annealing successfully finds permutations that reduce the indirect barrier between two networks to near zero in multiple configurations, including MLPs on MNIST with width ≥ 2^6 and depth 1, and Shallow-CNNs on SVHN with width 2^10.
- The test-set barrier size decreases significantly with increasing width and depth for simpler tasks (e.g., MNIST, SVHN), while harder tasks (e.g., CIFAR-100) show a similar trend with lower barriers.
- The consistency of barrier reduction across architectures and datasets indicates that permutation invariance significantly simplifies the loss landscape geometry.
- The synthetic model, where solutions are generated by permuting a single initialization, closely replicates the barrier behavior observed in real SGD solutions, supporting the validity of the conjecture.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.