[Paper Review] Deep Networks on Toroids: Removing Symmetries Reveals the Structure of Flat Regions in the Landscape Geometry
This paper proposes a geometric framework for analyzing deep neural network loss landscapes by removing parameter symmetries through a standardized parameterization, resulting in a toroidal topology. By studying the error landscape in function space rather than parameter space, the authors reveal that flatter minima are more connected, closer together, and linked by low barriers, with minimizers from different optimization algorithms connected via simple polygonal paths—supporting a strong link between flatness, generalization, and connectivity in overparameterized networks.
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.
Motivation & Objective
- To address the disconnect between parameter space geometry and functional behavior in neural network landscapes.
- To resolve the ambiguity in measuring flatness and connectivity due to redundant symmetries in weight parameterizations.
- To establish a standardized, symmetry-free geometric framework for analyzing the error landscape.
- To empirically investigate the relationship between flatness, generalization, and connectivity in overparameterized networks.
- To extend insights into binary-weight networks, providing one of the first connectivity analyses in this setting.
Proposed method
- The authors define equivalence classes of neural networks based on functional equivalence, grouping networks that implement the same input-output mapping.
- They apply a standardized parameterization that removes continuous scale invariance and discrete permutation symmetries in hidden units and filters.
- This results in a toroidal topological space where the parameter space is quotiented by the symmetry group, enabling a well-defined geometric description.
- The error landscape is analyzed in this symmetry-free function space, with flatness and geodesic distances computed using the resulting Riemannian metric.
- Optimization algorithms (SGD, RSGD, ADV) are used to sample minimizers of varying flatness, which are then compared via geodesic paths and linear interpolation.
- For binary networks, internal continuous weights are used to project the landscape, followed by binarization to compute train errors.
Experimental results
Research questions
- RQ1How does removing symmetries in the parameter space affect the geometric structure of the error landscape in deep neural networks?
- RQ2What is the relationship between flatness of minimizers and their connectivity in function space?
- RQ3Can flatter minima be shown to be closer and connected by lower barriers in the error landscape after symmetry removal?
- RQ4Do different optimization algorithms yield minimizers that are geometrically connected in a structured way in the symmetry-free space?
- RQ5How does the connectivity and barrier structure differ in binary-weight neural networks compared to full-precision models?
Key findings
- Flatter minima in the error landscape are consistently closer to each other in the symmetry-free function space, with reduced geodesic distances.
- Minimizers found by different optimization algorithms—such as SGD, RSGD, and ADV—can be connected by geodesic paths with low barriers, indicating a highly connected landscape.
- The barriers along geodesic paths between minimizers are significantly reduced after symmetry removal, especially when paths are optimized.
- Minimizers from different flatness levels are connected by zero-error polygonal paths composed of two straight line segments in parameter space, suggesting a simple geometric structure.
- In binary-weight networks, similar connectivity and low-barrier structures are observed, confirming the robustness of the framework to weight quantization.
- The results support the conjecture that wide, flat regions of solutions form an octopus-like structure with dense central clusters and branched, sharper minima.
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.