On Making $SE(2)$-Invariant Networks Optimal

Tomas Karella, Emily Shinkle, Alice E. A. Allen, Pieter Swart, Nicholas Lubbers, Roxana BujackNeurIPS 2026

TL;DR

Standard Convolutional Neural Networks (CNNs) know that shifting a cat across an image doesn’t stop it from being a cat, yet rotating that cat often throws them off. Existing methods that build rotation symmetry into networks require heavy, specialized architectures that scale poorly. By dusting off classical invariant theory, this paper introduces a lightweight, plug-and-play CNN module that achieves complete translation and rotation—$\mathrm{SE}(2)$—invariance, matching or beating state-of-the-art accuracy at a fraction of the computational cost.

What Problem Does This Paper Address?

In domains like satellite imagery, astronomy, or pathology, "up" is completely arbitrary—a galaxy or cell doesn't care how you hold the microscope. Designing networks that natively respect 2D translations and rotations, known mathematically as the $\mathrm{SE}(2)$ symmetry group, vastly improves data efficiency and robustness.

Currently, the gold standard for this is steerable equivariant CNNs. Instead of outputting plain numbers, their hidden layers output structured mathematical objects (irreducible representations) that rotate predictably alongside the input. While principled, maintaining this rotational bookkeeping throughout a deep network is expensive: computations scale quadratically with the number of basis functions used, and standard deep learning staples—like ReLU activations, $1\times 1$ convolutions, and BatchNorm—break the symmetry and must be custom-engineered from scratch. Can we keep the benefits of continuous rotational symmetry while still using fast, off-the-shelf CNN plumbing?

Methods

Instead of tracking orientation through every layer (equivariance), the authors project local features directly into rotation-proof numbers (invariance) at every pixel.

They build a plug-and-play Mom/Inv Layer composed of two steps:

  1. Moment Projection (Standard-ish): Using steerable convolutions parameterized in polar coordinates (B-splines radially, complex exponentials angularly), local image patches are projected onto a family of rotational basis functions called moments ($m_k$). Rotating an image simply shifts the phase of moment $m_k$ by $k$ times the rotation angle.
  2. Optimal Invariant Basis (New): Classical pattern recognition (specifically, the Flusser basis) cancels out rotational phase by dividing high-order moments by powers of a reference moment ($m_1^{-k}$). However, taking high polynomial powers in deep networks causes exploding values and numerical instability, while near-zero magnitudes make phase angles undefined. The authors solve this by extracting two safe, real-valued quantities: the raw moment magnitudes $|m_k|$, and the cosine of the relative phase difference between $m_k$ and $m_1$, gently modulated by a magnitude-dependent function $\sigma(|m_1|, |m_k|)$ to suppress noise near zero.
Overview of the plug-and-play invariant convolutional architecture, block structure, and moment-to-invariant projection.

Because the output of this layer consists purely of standard scalar ("type-0") features, it drops right into normal residual blocks alongside standard $1\times 1$ convolutions, normalizations, and activations, scaling linearly rather than quadratically with the number of moments.

Datasets

The authors test their models across benchmarks where orientation is naturally arbitrary:

  • Standard & Scientific Benchmarks: MNIST-Rot-Test, RotMNIST (rotated digits), RESISC45 and EuroSAT (remote sensing), DTD (textures), Lost Oil Wells, Galaxy Zoo (astronomy), and Colorectal Histology (medical imaging).
  • NFFA (Newly Curated): A new low-data materials science benchmark curated from NFFA-Europe scanning electron microscopy (SEM) images ($25\text{k}$ images across 10 classes, cropped to $224 \times 224$), characterized by scarce samples and high intra-class variability.

Key Insights and Ideas

  • Optimal means minimal and lossless: Simply pooling away rotation throws out structural details. Grounded in classical invariant theory, the authors' feature map is provably discriminative (preserving all pattern information up to rotation) and minimal (zero redundant features).
  • Local invariance doesn't erase global geometry: One might worry that making every pixel locally rotation-invariant destroys the network's ability to see how parts of an object align globally. Surprisingly, because these invariants are computed densely across a continuous spatial grid, relative orientations between neighboring regions can still be inferred by deeper layers.
  • Polar decomposition tames classical math for deep learning: Translating 1990s/2000s polynomial moment invariants into bounded magnitudes and modulated relative-phase cosines prevents value explosion, outperforming raw Flusser invariants across all tested datasets.

Key Results

Compared primarily against continuous $\mathrm{SO}(2)$-steerable E(2)-CNNs (e2cnn), the proposed Mom/Inv networks punch well above their weight:

  • Higher accuracy, smaller footprint: Using $2\times$ to $3\times$ fewer parameters, Mom/Inv beats E(2)-CNNs on MNIST-Rot-Test (99.42% vs. 97.20%), RESISC45 (85.77% vs. 84.02%), EuroSAT (95.29% vs. 93.90%), and Colorectal Histology (92.30% vs. 91.58%), while staying competitive on DTD and Galaxy Zoo.
  • Major speedups: Forward-pass layer runtime scales linearly with moment order, achieving up to a 14.3$\times$ speedup at higher orders. On NFFA ($k=3$), a full training epoch takes 98 seconds on an A100 GPU versus 227 seconds for e2cnn.
  • True rotational consistency: Measuring the $\ell_2$ distance between logits of upright and rotated inputs (Rotation Consistency Index, lower is better), Mom/Inv slashes inconsistency by an order of magnitude—e.g., 0.01 vs. 1.23 on NFFA and 0.01 vs. 0.89 on MNIST-Rot-Test.
  • Sample efficiency: On NFFA, a tiny 300k-parameter Mom/Inv network decisively outperforms an 11M-parameter ResNet18 trained with rotation augmentations, especially when starved down to just 6.2% of the training data (~64% vs. ~54% accuracy).
Figure 3: Sample efficiency on NFFA. Test accu- racy vs. training data fraction. Our model (300k) compared with ResNet18 (11M, aug rot).

Limitations and Future Work

  • Domain specificity & data scale: Enforcing strict rotational invariance shines when orientation is a nuisance (like microscopy) and data is scarce. In massive-data regimes or tasks where "up" matters (like street scenes), standard high-capacity models with data augmentation often suffice.
  • Pixel grid discretization: Because images live on discrete pixel grids rather than continuous space, rotational invariance is only approximate in practice (partially mitigated by using larger convolutional kernels).
  • Zero-magnitude edge cases: The phase normalization relies on a non-zero reference moment ($m_1 \neq 0$). While rare in continuous spatial feature maps and softened by modulation, features can degrade when moment responses vanish.
  • Future directions: Extending this optimal invariant machinery to 3D data (e.g., via 2D projections), exploring adaptive selection of moment frequencies, and building hybrid architectures that blend invariant and equivariant branches.

Summary updated

Abstract

Respecting a-priori known symmetries of underlying data is a key principle in designing efficient neural architectures. Convolutional Neural Networks (CNNs) are a canonical example, encoding translation equivariance. Extending this inductive bias to richer symmetry groups such as $\mathrm{SE}(2)$ in the most effective way possible is an ongoing architectural and computational challenge. Building on classical invariant theory, we derive invariant feature maps that are provably optimal: minimal and information-preserving with respect to the symmetry group. Our construction is designed to integrate seamlessly into standard architectures, requiring no modification to nonlinearities or normalization layers. As a concrete implementation, we introduce a plug-and-play module for CNNs that enforces $\mathrm{SE}(2)$ invariance, capturing both translations and rotations within standard architectures. The resulting models are both efficient and expressive. Experiments show competitive or improved accuracy compared to state-of-the-art equivariant methods at significantly lower computational cost. Finally, we provide a theoretical and empirical analysis of the relationship between equivariance and invariance, offering insight into their roles in controlling robustness and flexibility.
BibTeX
@inproceedings{karella2026making,
  author = {Tomas Karella and Emily Shinkle and Alice E. A. Allen and Pieter Swart and Nicholas Lubbers and Roxana Bujack},
  title = {{On Making $SE(2)$-Invariant Networks Optimal}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3gDFvmTZXb},
}
Figure