The Empirical Impact of Neural Parameter Symmetries, or Lack Thereof
About
Many algorithms and observed phenomena in deep learning appear to be affected by parameter symmetries -- transformations of neural network parameters that do not change the underlying neural network function. These include linear mode connectivity, model merging, Bayesian neural network inference, metanetworks, and several other characteristics of optimization or loss-landscapes. However, theoretical analysis of the relationship between parameter space symmetries and these phenomena is difficult. In this work, we empirically investigate the impact of neural parameter symmetries by introducing new neural network architectures that have reduced parameter space symmetries. We develop two methods, with some provable guarantees, of modifying standard neural networks to reduce parameter space symmetries. With these new methods, we conduct a comprehensive experimental study consisting of multiple tasks aimed at assessing the effect of removing parameter symmetries. Our experiments reveal several interesting observations on the empirical impact of parameter symmetries; for instance, we observe linear mode connectivity between our networks without alignment of weight spaces, and we find that our networks allow for faster and more effective Bayesian neural network training. Our code is available at https://github.com/cptq/asymmetric-networks
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-10 | Accuracy81.94 | 18 | |
| Image Classification | CIFAR-10 (test) | Test Loss Interpolation Barrier0.031 | 8 | |
| Weight Space Generation | FFHQ 2D | FD0.269 | 6 | |
| Weight Space Generation | ShapeNet airplane | mMD270.6 | 6 | |
| Weight Space Generation | ShapeNet Multi | mMD210 | 6 | |
| Image Classification | CIFAR-100 | Train Loss1.62 | 4 | |
| Predicting image classifier test accuracy | Small ResNet CIFAR-10 trained (test) | -- | 4 | |
| Predicting image classifier test accuracy | W-Asymmetric ResNet CIFAR-10 (test) | -- | 4 | |
| Loss Landscape Analysis | CIFAR-10 (train) | Delta-0.027 | 3 |