Abstract
Symmetries and their corresponding conservation laws are central to our understanding of physical systems. While machine learning models often benefit from hard-coded symmetries, discovering these symmetries directly from data remains a significant challenge. We introduce "Noether's Razor," a framework that leverages Noether's theorem and Bayesian model selection to automatically discover conserved quantities. By optimizing the marginal likelihood, the model naturally selects the most elegant physical description, effectively "cutting away" unnecessary complexity. Our results show that Noether's Razor can perfectly recover symmetry groups in various dynamical systems and achieve performance on par with oracle models.
Introduction
In physics, symmetries are fundamental. According to Noether’s theorem, every continuous symmetry of a physical system corresponds to a conserved quantity, such as angular or linear momentum. In machine learning, incorporating these symmetries (e.g., translation invariance in convolutional neural networks) significantly improves generalization. However, for many complex systems, the underlying symmetries are not known a priori. Previous attempts to learn symmetries often required manual tuning or separate validation sets to prevent the model from trivializing the symmetry constraints. Noether's Razor addresses this by providing a robust, automated framework for symmetry discovery.
Methodology
The Noether's Razor framework operates through three integrated components:
Parameterizing Symmetries
The framework uses Noether’s theorem to represent symmetries via learnable "conserved quantities." These are modeled as quadratic functions, which are mathematically tractable and encompass a wide range of common physical symmetries, including rotation and translation.
Symmetrizing the Model
The core architecture is based on a Hamiltonian Neural Network (HNN), designed to conserve energy. This model is "symmetrized" by averaging its predictions over the transformations generated by the learned conserved quantities. This process ensures that the resulting Hamiltonian $H$ respects the discovered symmetries.
The Bayesian "Razor"
The primary innovation is the use of a Bayesian marginal likelihood objective for model selection. This objective naturally implements Occam's Razor: it rewards models that fit the data accurately while penalizing excessive complexity. Because a symmetric model is inherently "simpler" within this probabilistic framework, the AI naturally converges on the correct symmetry group if supported by the data, eliminating the need for manual hyperparameter tuning.
Experiments and Results
The framework was evaluated on several classic dynamical systems, including the Simple Harmonic Oscillator, $n$-Harmonic Oscillators (testing $U(n)$ symmetry), and 3-body gravitational systems (testing $SE(2)$ symmetry).
Key Findings
- Symmetry Recovery: For the $n$-harmonic oscillator, the model identified exactly $n^2$ conserved quantities, matching the theoretical $U(n)$ symmetry group.
- Performance: In all benchmarks, the "learned symmetry" model achieved performance comparable to an "oracle" model with hard-coded symmetries. It significantly outperformed standard HNNs that lacked symmetry constraints.
- Generalization: The discovered symmetries enabled the model to maintain accuracy for long-term predictions and generalize to data distributions outside the training set.
Discussion and Conclusion
Noether's Razor demonstrates that symmetries can be treated as a prior that "cuts away" density in the function space, making learning more efficient. By examining the spectrum of learned generators, researchers can directly observe the independent conservation laws discovered by the model.
While highly effective, the current implementation is limited to quadratic conserved quantities and involves computational overhead due to matrix exponentials and orbit averaging. Future research will explore using neural networks to parameterize more complex, non-linear conservation laws and scaling the framework to high-dimensional systems like fluid dynamics.
Summary updated