Which Discovered Symmetries Are Worth Enforcing? A Near-Free Test Before Training

Methods that learn symmetries from data can now recover curved, non-linear transformations: Galilean boosts in fluid equations, conformal maps in the wave equation, warps hidden behind a learned encoding. A symmetry here means a change to the input that leaves the underlying physics unchanged. Once discovered, these symmetries are typically all fed to a downstream model, for example as data augmentation, and that has helped. Augmenting a Fourier Neural Operator (FNO), a neural PDE solver that works in frequency space, with discovered symmetries improves long-rollout accuracy by over 20% (Explicit Discovery of Nonlinear Symmetries from Dynamic Data).

Deciding which symmetries to use, how strongly, and for which backbone is a combinatorial configuration search. The wave equation alone has 20 discovered generators, so there are about a million subsets, and each subset costs a full training run to evaluate. We propose a cheap test that predicts how much each discovered symmetry will help before any full training. The test multiplies two quantities: how well the symmetry actually holds in the data, and how badly a briefly trained model currently violates it. A symmetry that is valid but already absorbed by the architecture, or already learned from data, should add nothing. A symmetry the model violates but the data does not support should hurt. If the product predicts the measured gain, the search over symmetry configurations shrinks from thousands of training runs to one short run and a few forward passes.

Core Claim

The benefit of enforcing a discovered symmetry is predicted by validity × deficit. Validity is how well the transformation preserves the data or the governing equation. Deficit is how far a low-budget model is from respecting that transformation. This score, computed once, ranks generators and generator subsets about as well as short-training search, at a small fraction of the cost. It also beats both off-the-shelf training-free architecture scores and discovery-side validity alone.

To make this precise, let $f_\theta$ be the downstream solver after a short training run, and let $g_j^{\varepsilon}$ be the flow of discovered generator $j$ for a small step $\varepsilon$. Define the equivariance deficit as

$$D_j = \mathbb{E}_u \frac{\lVert f_\theta(g_j^{\varepsilon} u) - g_j^{\varepsilon} f_\theta(u)\rVert}{\varepsilon \,\lVert f_\theta(u)\rVert},$$

where the expectation is over held-out input fields $u$. Let $V_j \in [0,1]$ be the validity of generator $j$ on held-out data, measured with boundaries included. For PDEs, $V_j$ is one minus the normalized equation residual of transformed trajectories, following the validity score of Learning Infinitesimal Generators of Continuous Symmetries from Data. The predicted gain of generator $j$ is $s_j = V_j D_j$. The predicted gain of a subset $S$ is $\sum_{j \in S} s_j$ minus a redundancy correction. That correction is the overlap between generators' deficit directions, estimated from the same forward passes.

This form rests on one assumption. To first order, augmentation along a generator can only remove the part of the model's error that lies along that generator's orbit. It helps only to the extent the orbit is a true symmetry of the target. The additivity assumption is the weakest link, and the experiments test it directly.

Relation to Prior Work

Three lines of work motivate the gap. First, discovery methods find symmetries but pass them downstream unselected. LieNLSD extracts explicit polynomial generators by solving a linear system from the prolongation formula (Explicit Discovery of Nonlinear Symmetries from Dynamic Data). LaLiGAN learns an encoding in which the symmetry acts linearly (Latent Space Symmetry Discovery). Neural-vector-field methods learn generators by maximizing validity (Learning Infinitesimal Generators of Continuous Symmetries from Data). None of them asks which generators pay off for a particular solver. We reuse their outputs as the candidate pool and add the missing selection step.

Second, two papers show that the right amount of symmetry is a search problem. Equivariance-aware Architectural Optimization of Neural Networks searches layer-wise over discrete subgroups. On Galaxy10 it cuts test error from 50.8% with a hand-chosen $D_4$ symmetry to 20.3%. Group Equivariant Neural Architecture Search via Group Decomposition and Reinforcement Learning uses a reinforcement-learning agent over subgroup combinations. Both constrain our design: they show that over-constraining hurts, so "use everything" is not a safe default. They differ from our setting in three ways. They handle only predefined discrete linear groups, they pay for every candidate with training, and they never touch continuous or non-linear generators.

Third, cheap-evaluation methods from architecture search supply the evaluation methodology but not the signal. Zero-cost proxies score untrained networks. NAS-Bench-Suite-Zero benchmarks 13 of them and shows they are biased toward larger models. EZNAS evolves better ones but reaches only Kendall τ 0.65 on NAS-Bench-201. These scores measure trainability and have no notion of commutation with a transformation. Budgeted performance estimation (Rethinking Performance Estimation in Neural Architecture Search) supplies the idea we borrow: rank candidates from a truncated run. Our twist is to share one truncated run across all symmetry configurations rather than running one per candidate.

Lie Algebra Canonicalization enforces known generators at test time. It pays a 5x to 30x inference slowdown and notes that boundary conditions can conflict with continuous symmetries. That boundary concern is exactly why we measure validity with boundaries included.

Research Program

The pipeline has three stages. In the first, we run LieNLSD on each PDE dataset to obtain an explicit generator pool, and run LaLiGAN where explicit polynomial libraries are too large. In the second, we train the target solver for a small fraction (roughly 5%) of its full budget. We then compute $V_j$, $D_j$ and pairwise deficit overlaps for every generator using a few hundred forward passes per generator. In the third, we select a subset and augmentation strengths greedily by predicted gain, then train once at full budget.

The configuration space also includes a small backbone choice: FNO width and number of retained Fourier modes. A backbone with more built-in structure should show lower deficits on the corresponding generators, so the score couples symmetry selection to architecture choice.

The analysis is as important as the method. For low-dimensional PDEs with few generators (Burgers', KdV, Kuramoto-Sivashinsky, heat), we build an exhaustive ground-truth table of full-training gains over all generator subsets, with three seeds each. For the wave equation's 20 generators, we sample 64 subsets. This table lets us measure several things directly: rank correlation between predicted and true gain, how often the proxy picks a harmful generator, and how far subset gains depart from additivity.

Baselines

The naive reference point is the solver trained with no symmetry augmentation. The strongest existing practice is to augment with all discovered generators at a single tuned strength, as in LieNLSD. That paper reports that this improves FNO long-rollout accuracy by over 20% on PDE dynamics. That is the only quantitative figure on Lacuna for this comparison; no reported result was found on Lacuna for PDEBench-specific numbers under symmetry augmentation. Beating it means a selected subset that matches or improves its long-rollout error on every PDE, with a clear win wherever some generator is harmful or redundant.

The strongest search competitor is short-training search. It trains each candidate subset for the same truncated budget, ranks them, and applies successive halving. We give it a total compute budget equal to ours plus a factor that we vary (1x, 10x, 100x), so the comparison traces a cost-quality curve. The proxy wins if it reaches equal ranking quality at 1x, or if short-training search needs at least 10x more compute to match it.

We also run the 13 zero-cost proxies from NAS-Bench-Suite-Zero and their XGBoost ensemble on the augmented configurations. For calibration, EZNAS reports Kendall τ 0.65 on NAS-Bench-201 (CIFAR-10) for its best proxy, against 0.57 for NASWOT and Synflow. Our target is to exceed these baselines' rank correlation on our ground-truth table.

Two ablations isolate the key ingredient: validity alone ($s_j = V_j$) and deficit alone ($s_j = D_j$). A third ablation drops the redundancy correction, to test whether subset interactions matter. All methods share data splits, generator pools, and full-training recipes, and tuning budgets for augmentation strength are matched.

Why not just…?

Why not just use every discovered generator? This is what the 20% LieNLSD result does, and it is a serious default. Two pieces of evidence say it is not safe in general. The subgroup-search papers show that forcing too much symmetry raises error sharply: 50.8% versus 20.3% on Galaxy10. LieLAC documents conflicts between boundary conditions and continuous symmetries. The exhaustive subset table will show whether harmful generators actually occur in PDE data. If "use all" is never beaten, we report that the selection problem is empty, which is itself a useful negative result.

Why not just run cheap truncated-training search over subsets? This is the real threat, because budgeted estimation is known to rank well. Our advantage is purely one of cost scaling. Truncated search pays once per candidate, while the proxy pays once in total. The cost-quality curves decide this directly. If truncated search matches us at equal compute, the claim fails.

Why not just rank generators by discovery-time validity, or by singular value size from LieNLSD? Validity says whether a symmetry holds, not whether the model still needs to be taught it. FNOs, for example, already build in translation along periodic axes. The validity-only ablation tests exactly this. We expect it to over-rank generators the backbone already satisfies.

Why not just use standard zero-cost proxies? They score trainability at initialization and never compare $f(gu)$ with $gf(u)$. NAS-Bench-Suite-Zero also shows they track model size, which is irrelevant when only the augmentation changes. They are included as baselines and should rank configurations near chance.

Proposed Experiments

The main benchmarks are 1D Burgers' and 2D Reaction-Diffusion from PDEBench, plus KdV, Kuramoto-Sivashinsky, heat, and the wave equation as used by LieNLSD and the infinitesimal-generator paper. We report long-rollout normalized error along with PDEBench's conservation and boundary errors. One transfer test uses a dataset from The Well with generators found by LaLiGAN, to check that the score works when generators come from a learned encoding rather than an explicit formula.

Three checks decide the outcome. First, Spearman correlation between $s$ and true per-generator gain must exceed that of both ablations and all zero-cost proxies, averaged across PDEs. Second, on the wave equation the greedy subset must match or beat "use all 20" at roughly 1% of the compute of truncated-training search. Third, predicted and measured gains of subsets must agree within seed noise for most subsets; if they do not, the redundancy correction must close most of the gap.

A secondary sanity check uses CIFAR-10. There, the six affine generators recovered by Learning Infinitesimal Generators of Continuous Symmetries from Data should receive low deficit for translation in a CNN. If translation augmentation nonetheless helps, as it often does through boundary and pooling effects, that marks the limit of the first-order argument, and we will report it as such.