Enforcing Symmetries on Pre-trained ML Models for Physics
Wenjie Zhou, Valentino F. Foit, David W. Hogg, Soledad Villar
Key points
From the paper's conclusion- We then extend this framework to non-compact group symmetries.
Abstract
Post-hoc group averaging (or test-time augmentation) is a simple way to impose symmetry on a trained predictor without changing its architecture or retraining it. For finite and compact groups, averaging over a normalized Haar measure on the group gives the Reynolds operator: a canonical projection onto invariant or equivariant predictors with known non-increasing risk guarantees under certain assumptions. This paper provides numerical experiments on physics emulation models that demonstrate the effectiveness of the approach in this setting. We then extend this framework to non-compact group symmetries. For non-compact groups, the Haar measure cannot be normalized, so group averaging cannot be defined in the same way. We replace it with three alternatives: the Weyl unitary trick (which requires complexifying the space and extending the predictor), a data-dependent orthogonal projection (which involves a non-trivial optimization on the space of invariant or equivariant functions), and a frame averaging approach (which involves mapping each point to a set of orbit representatives). We illustrate the constructions theoretically and empirically on the unit-rescaling group and the Lorentz group. Our results show that in the non-compact case, the Weyl trick and frame averaging do not provide a consistent improvement over the baseline, except where the test data is out-of-distribution (an orders-of-magnitude improvement in this case) and, for the Weyl trick, in low-data regimes. The orthogonal projection can provide improvements in-distribution and out-of-distribution. We also observe that models trained directly on invariant features matched or beat the projection of an unconstrained one. We conclude that post-hoc symmetrization extends to non-compact groups, but it does not consistently outperform training a symmetric model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Mixture of Lie-Group Kernels for Equivariance-Inspired Feature Learning.IEEE transactions on neural networks and learning systems · 2026
- Data-driven discovery of intrinsic Lie point symmetries of differential equation systemsarXiv · 2026
- Statistical Geometry of Group Actions: Symmetry, Transport, EstimationarXiv · 2026
- Symmetry-Aware Feature Learning: A Polynomial Separation for Multi-Index ModelsarXiv · 2026
- Equivariant Transition Matrices for Explainable Deep Learning: A Lie Group Linearization ApproachMachine Learning and Knowledge Extraction · 2026
- Data-Driven Conservation Laws for Newtonian Systems: Physics-Informed Neural Networks and Eisenhart-Duval GeometryarXiv · 2026