Positional Encoding is All You Need for Scalable Equivariance Constraint Relaxation

Hagay Michaeli, Haggai Maron, Daniel Soudry
11/3/2026
cs.LG

No official code found. Best implementation: hmichaeli/pe_constraint_relaxation (0 stars, Python, last commit 2026-11-03).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Official implementation for the paper "Positional Encoding is All You Need for Scalable Equivariance Constraint Relaxation"

00Python, Jupyter NotebookOct 25, 20264 weeks ago

Similar Papers

Cite this paper

@article{michaeli2026positional,
  title  = {Positional Encoding is All You Need for Scalable Equivariance Constraint Relaxation},
  author = {Hagay Michaeli and Haggai Maron and Daniel Soudry},
  year   = {2026},
  eprint = {2611.05041},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.05041v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.05041.svg)](https://codeofpaper.com/paper/2611.05041)

Discussion