Deep Networks on Toroids: Removing Symmetries Reveals the Structure of Flat Regions in the Landscape Geometry
arXiv:2202.03038 · doi:10.1088/1742-5468/ac9832
Abstract
We systematize the approach to the investigation of deep neural network landscapes by basing it on the geometry of the space of implemented functions rather than the space of parameters. Grouping classifiers into equivalence classes, we develop a standardized parameterization in which all symmetries are removed, resulting in a toroidal topology. On this space, we explore the error landscape rather than the loss. This lets us derive a meaningful notion of the flatness of minimizers and of the geodesic paths connecting them. Using different optimization algorithms that sample minimizers with different flatness we study the mode connectivity and relative distances. Testing a variety of state-of-the-art architectures and benchmark datasets, we confirm the correlation between flatness and generalization performance; we further show that in function space flatter minima are closer to each other and that the barriers along the geodesics connecting them are small. We also find that minimizers found by variants of gradient descent can be connected by zero-error paths composed of two straight lines in parameter space, i.e. polygonal chains with a single bend. We observe similar qualitative results in neural networks with binary weights and activations, providing one of the first results concerning the connectivity in this setting. Our results hinge on symmetry removal, and are in remarkable agreement with the rich phenomenology described by some recent analytical studies performed on simple shallow models.
References in corpus (11)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- Reconciling modern machine learning practice and the bias-variance trade-off
- Unreasonable Effectiveness of Learning Neural Networks: From Accessible States and Robust Ensembles to Basic Algorithmic Schemes
- Subdominant Dense Clusters Allow for Simple Learning and High Computational Performance in Neural Networks with Discrete Synapses
- Modelling the influence of data structure on learning in neural networks: the hidden manifold model
- Shaping the learning landscape in neural networks around wide flat minima
- Properties of the geometry of solutions and capacity of multi-layer neural networks with Rectified Linear Units activations
- Unveiling the structure of wide flat minima in neural networks
- Entropic gradient descent algorithms and wide flat minima
- On the role of synaptic stochasticity in training low-precision neural networks
- Basins with tentacles