Abstract
Incorporating symmetry as an inductive bias into neural network architecture has led to improvements in generalization, data efficiency, and physical consistency in dynamics modeling. Methods such as CNNs or equivariant neural networks use weight tying to enforce symmetries such as shift invariance or rotational equivariance. However, despite the fact that physical laws obey many symmetries, real-world dynamical data rarely conforms to strict mathematical symmetry either due to noisy or incomplete data or to symmetry-breaking features in the underlying dynamical system. We explore approximately equivariant networks which are biased towards preserving symmetry but are not strictly constrained to do so. By relaxing equivariance constraints, we find that our models can outperform both baselines with no symmetry bias and baselines with overly strict symmetry in both simulated turbulence domains and real-world multi-stream jet flow.
Introduction: The Challenge of Imperfect Symmetry
In deep learning for physics, equivariance is a powerful inductive bias. It informs a model that if an input undergoes a transformation (like rotation or shifting), the output should transform correspondingly. While this works well for idealized mathematical systems, real-world dynamical data rarely obeys strict symmetry.
Consider a smoke plume: while the underlying fluid equations are rotationally symmetric, external factors like a nearby wall or a specific gravity vector break that symmetry. Existing "strictly equivariant" models are often too rigid, forcing the model to ignore these symmetry-breaking features and leading to poor predictions. Conversely, standard "non-equivariant" models, such as basic CNNs, are too flexible and require massive amounts of data to learn basic physical laws from scratch. This research targets the "Goldilocks zone" between these two extremes by introducing approximately equivariant networks.
Methodology: Relaxing Symmetry Constraints
The authors propose two primary methods to relax the strict constraints of equivariant layers:
- Relaxed Group Convolution (RGroup): In standard group convolutions, a single kernel is shared across all transformations of a group. This method replaces the single kernel with a weighted combination of multiple "filter banks." By allowing the weights of these banks to vary slightly depending on the specific transformation, the model can "break" the symmetry where the data demands it.
- Relaxed Steerable Convolution (RSteer): For continuous symmetries like rotation ($SO(2)$), dependencies on the input position or angle are introduced into the kernel basis. This allows the model to remain "mostly" steerable while adapting to local irregularities.
- Soft Equivariance Regularization: To prevent the model from losing the benefits of symmetry entirely, a regularization term ($\alpha$) is added. This acts as a "spring" that pulls the model toward perfect equivariance, only allowing deviation if the training data provides strong evidence of broken symmetry.
Experimental Setup
The approach was evaluated on three distinct dynamical systems:
- Synthetic Smoke Plumes: 2D simulations where symmetries (translation, rotation, and scaling) were intentionally broken by varying buoyancy forces and inflow positions.
- Experimental Jet Flow: Real-world data from NASA featuring multi-stream turbulent jets, representing a complex system where boundaries and turbulence break idealized symmetries.
- Ocean Dynamics: Real-world reanalysis data of Pacific Ocean currents (NEMO engine).
Key Insights: The Bias-Expressivity Trade-off
A central finding of this work is the existence of a "U-shaped" curve for prediction error. Strictly equivariant models suffer from high bias (too rigid), while non-equivariant models suffer from high variance (too flexible). Approximately equivariant models find the optimal balance at the bottom of this curve.
Furthermore, these models can automatically learn the degree of symmetry breaking present in the data through relaxation weights, rather than requiring manual selection of which symmetries to preserve. This relaxation surprisingly improves generalization to future time steps and different spatial domains.
Results and Visual Analysis
The proposed RSteer and RGroup models consistently achieved the lowest Root Mean Square Error (RMSE) in synthetic smoke simulations, outperforming both strict baselines (like E2CNN) and other "soft" symmetry methods. On real-world NASA jet flow data, combining relaxed translation, rotation, and scaling (RSteerTS) yielded the best performance, confirming the benefit of relaxing multiple constraints in turbulent systems.
Visually, strictly equivariant models can fail significantly when forced to follow a symmetry that is physically broken by boundary conditions, sometimes predicting fluid flow in the wrong direction. The relaxed models avoid these pitfalls by adapting to the local environment.
Conclusion and Future Directions
While approximately equivariant networks show significant promise, their performance depends on tuning hyperparameters like the relaxation parameter ($\alpha$) and the number of filter banks. Future work includes extending these principles to Graph Neural Networks (GNNs) and Transformers, as well as developing formal theoretical bounds for the universal approximation capabilities of these relaxed layers.
Summary updated