Loss Landscape Geometry of Partial Differential Equation Emulators: Or, Symmetry Learning via Gradient Alignment

Amarel, James, Miller, Robyn, Hengartner, Nicolas, Migliori, Benjamin, Casleton, Emily, Skurikhin, Alexei, Lawrence, Earl, Kunde, Gerd J.

–arXiv.org Artificial Intelligence 

We study how neural emulators of partial differential equation solution operators learn physical symmetries from data by introducing a hat-matrix diagnostic that quantifies the alignment of parameter updates between symmetry related training examples. The diagnostic is a metric-weighted overlap of loss gradients evaluated across group orbits, giving a proximal influence function for symmetry-related examples. Our measurements of gradient alignment across both translations and rotations for models trained as autoregressive fluidflow emulators suggest that equivariance arises when training updates propagate gradients coherently throughout symmetry orbits. This finding is based on an empirical correspondence between equivariance error and cross-orbit influence. Both our UNet and ViT architectures exhibit approximate translation equivariance, yet their gradient alignment profiles differ by uniform versus periodically concentrated influence over the orbit. On a NavierStokes dataset, pronounced dihedral equivariance error coincides with suppressed crossinfluence, identifying the failure as due to decoupled learning of symmetry group elements. Our diagnostic is architecture-agnostic and probes a mechanism for learning symmetries from data, extending beyond forward-pass equivariance tests by directly assessing whether learning updates share information across physically equivalent configurations. We identify symmetry generalization performance with symmetry-compatible gradient transport, suggesting that evaluation of scientific machine learning models requires dynamical probes of loss landscape geometry in addition to predictive accuracy.