Positional Encoding is All You Need for Scalable Equivariance Constraint Relaxation
Hagay Michaeli, Haggai Maron, Daniel Soudry
Abstract
Equivariant neural networks incorporate known symmetries of the data, such as permutations, rotations, or translations, directly into their architecture, often improving sample efficiency and generalization. However, strict equivariance can make optimization difficult, for example, when the data only approximately satisfy the assumed symmetry, or when the equivariance constraints induce a challenging loss landscape. Recent studies have shown that relaxing equivariance during training by introducing non-equivariant dense linear layers can ease optimization in such cases and improve the performance of the resulting strictly equivariant model, after removing the relaxation layers at test time. While effective, this approach incurs a significant computational overhead, limiting its applicability in scalable architectures. In this work, we propose a more efficient constraint-relaxation method based on positional encoding (PE). Our framework injects a positional encoding with learnable scale that breaks the model's original symmetry. This positional signal is gradually annealed to zero, recovering the original equivariant model by the end of training. Empirically, we demonstrate significant improvements for translational and rotational equivariant models with only marginal compute and memory overhead.
Create a lesson
Related papers
Molecular Prior Networks
Pawel Gomoluch, Anthony Bradley
Dual-VaDE: Efficient and Robust Prototype Learning via Variational Dual-Domain Mixture Priors
Wugeng Zheng, Song Wang, Jian Wang
Effects of Parton Pair Correlations on Direct-Photon Yields and Elliptic Flow in Heavy-Ion Collisions
Xingjian Lu, Shuzhe Shi
Federated Transfer Learning for Medical Image Classification under Mixed Skew
Alexandre G. Leclercq, Sébastien Bougleux, Aurélien Corroyer-Dulmont et al.
DRAP: Dynamics-Risk Adaptive Plasticity for Continual Learning in Physical AI
Oswaldo Ludwig
Finite Spectral Depth Controls Gaussian Entrance Rank and Avoidance of the First Gradient-Flow Saddle
Yanlin Long