Abstract
Equivariant neural networks (ENNs) are increasingly utilized in scientific domains to incorporate physical symmetries directly into model architectures. While these constraints improve sample efficiency and generalization, they often introduce significant optimization challenges. This paper investigates the geometry of the loss landscape in equivariant models, revealing that strict symmetry constraints can create "hidden" symmetries that trap models in spurious local minima. We demonstrate that these traps manifest as fixed point subspaces—effectively acting as invisible walls in the parameter space. Furthermore, we show that temporarily relaxing these constraints allows the network to traverse these barriers and reach superior solutions, often landing in group representations different from those originally specified by the designer.
Introduction
In fields such as molecular dynamics, protein folding, and particle physics, data is governed by fundamental symmetries. Equivariant neural networks have emerged as a powerful paradigm for these tasks, as they are mathematically guaranteed to preserve these symmetries throughout their layers. However, practitioners often find ENNs notoriously difficult to optimize compared to their unconstrained counterparts. Recent empirical evidence has suggested a counter-intuitive fix: slightly relaxing equivariance constraints during training can actually lead to better final performance.
This paper seeks to provide a theoretical foundation for this phenomenon. By analyzing the interaction between the parameter symmetries of a standard Multi-Layer Perceptron (MLP) and the strict constraints of an equivariant model, we identify the geometric mechanisms that hinder optimization and explore how constraint relaxation serves as an "escape hatch" from bad local minima.
Theoretical Framework and Methodology
The authors analyze equivariant networks—specifically those utilizing permutation representations like Deep Sets or group convolutions—by viewing them as constrained subsets of standard, unconstrained MLPs. This perspective allows for a rigorous comparison using group theory to track how symmetries evolve when constraints are applied.
To validate their theoretical findings, the authors employ a "teacher-student" experimental setup. Using 2-layer ReLU networks, a "teacher" network generates ground-truth outputs from synthetic unit Gaussian inputs, while a "student" network attempts to recover the teacher's function. This controlled environment allows for the analytical calculation and visualization of the exact loss landscape, providing a clear view of where and why gradient descent fails.
The Geometry of Failure: Hidden Symmetries and Invisible Walls
The core finding of the paper is the identification of "hidden symmetries." In a standard MLP, there are many parameter symmetries; for instance, swapping the weights of two hidden neurons does not change the network's output. When a designer imposes equivariance constraints, they effectively break some of these symmetries to enforce a specific mathematical structure.
However, these broken symmetries do not simply disappear. Instead, they become "hidden" to the constrained model, warping the underlying loss landscape. These hidden symmetries create "fixed point subspaces"—geometric regions in the parameter space that act as invisible walls. These walls split the constrained parameter space into disconnected regions. If a model is initialized on the "wrong" side of such a wall, standard gradient descent cannot cross it, leaving the model trapped in a spurious local minimum with high loss.
Relaxation as an Escape Hatch
The authors prove (Theorem 3.3) that these hidden fixed point subspaces are responsible for inducing spurious local minima under realistic conditions. However, they also demonstrate a path forward: relaxation. By temporarily removing the equivariance constraints and allowing the model to behave like a standard MLP, the "invisible wall" of the fixed point subspace is transformed into a traversable saddle point.
Once the constraint is lifted, the model can step over the previous barrier and descend toward the true global minimum. Interestingly, the authors observed a phenomenon termed "representation jumping." When a relaxed model escapes a trap and finds the global minimum, it often settles into a state that corresponds to a valid group representation for the hidden layer that differs from the one originally hardcoded by the designer. This suggests that the initial choice of representation may often be suboptimal for the optimization process, even if it is mathematically valid.
Conclusion and Future Directions
This research provides a vital link between the geometry of loss landscapes and the practical difficulties of training equivariant models. The discovery that strict constraints create artificial barriers suggests that the current standard of hardcoding fixed group representations may be a bottleneck.
While the current theory is robust for permutation-based representations, extending this framework to more complex equivariant models—such as those using tensor products and spherical harmonics (e.g., e3nn)—remains a challenge for future work. The most significant takeaway for the field is the potential for dynamic architectures: rather than enforcing rigid symmetry from the start, future models might benefit from training regimes that allow the network to learn or shift its internal representations dynamically, avoiding the traps of hidden symmetries altogether.
Summary updated