Recurrent Equivariant Constraint Modulation: Learning Per-Layer Symmetry Relaxation from Data
Stefanos Pertigkiozoglou, Mircea Petrache, Shubhendu Trivedi, Kostas Daniilidis
TL;DR
This work tackles the challenge that strict equivariance can hinder learning by introducing Recurrent Equivariant Constraint Modulation (RECM), a per-layer mechanism that automatically learns the appropriate level of symmetry relaxation from data. Each layer combines an equivariant component with multiple unconstrained terms, whose relaxation weights are updated via a learned recurrence, with the limit state $h^*$ bounding the relaxation accordingly. The authors prove that when the input-target distribution is fully symmetric, the modulation converges to zero (fully equivariant), while non-symmetric distributions allow learned non-equivariant solutions; they demonstrate empirical gains across exact and approximate symmetry tasks, including large-scale conformer generation on GEOM-Drugs. RECM thus eliminates the need for task-specific relaxation schedules and achieves adaptive expressivity with only modest training overhead, improving performance relative to prior relaxation approaches. $|h^*|$ and $|\alpha_i^*|$ are bounded by symmetry-aware distances such as $W_1(p,p_G)$, ensuring principled behavior across task types.
Abstract
Equivariant neural networks exploit underlying task symmetries to improve generalization, but strict equivariance constraints can induce more complex optimization dynamics that can hinder learning. Prior work addresses these limitations by relaxing strict equivariance during training, but typically relies on prespecified, explicit, or implicit target levels of relaxation for each network layer, which are task-dependent and costly to tune. We propose Recurrent Equivariant Constraint Modulation (RECM), a layer-wise constraint modulation mechanism that learns appropriate relaxation levels solely from the training signal and the symmetry properties of each layer's input-target distribution, without requiring any prior knowledge about the task-dependent target relaxation level. We demonstrate that under the proposed RECM update, the relaxation level of each layer provably converges to a value upper-bounded by its symmetry gap, namely the degree to which its input-target distribution deviates from exact symmetry. Consequently, layers processing symmetric distributions recover full equivariance, while those with approximate symmetries retain sufficient flexibility to learn non-symmetric solutions when warranted by the data. Empirically, RECM outperforms prior methods across diverse exact and approximate equivariant tasks, including the challenging molecular conformer generation on the GEOM-Drugs dataset.
