General E(2)-Equivariant Steerable CNNs

Maurice Weiler, Gabriele Cesa

Standard Convolutional Neural Networks (CNNs) are famous for their translation equivariance: if you shift an image of a cat by ten pixels, the resulting feature map shifts by exactly ten pixels. However, standard CNNs are not naturally equivariant to rotations or reflections. To learn that an upside-down cat is still a cat, a traditional CNN must be trained on thousands of augmented examples or use massive amounts of parameters to "brute-force" the learning of these symmetries.

While researchers have previously proposed specific solutions to this problem—such as Harmonic Networks or Group-Equivariant CNNs (G-CNNs)—these approaches often existed as isolated islands of theory. This paper provides a unified mathematical framework and a practical library for building CNNs that are inherently aware of rotations and reflections (the Euclidean group $E(2)$). By solving the "kernel constraint" for arbitrary group representations, the authors enable a new generation of "steerable" networks that outperform standard CNNs on image classification while converging significantly faster.

The Framework: Steerable CNNs and Feature Fields

The authors build upon the theory of Steerable CNNs. In this framework, feature maps are not just grids of numbers; they are treated as "feature fields." Each pixel holds a geometric object (like a scalar for grayscale, or a vector for optical flow) that has a specific "transformation law."

Transformation of scalar and vector feature fields under a group action.

The technical "secret sauce" of the paper is how it handles the Kernel Constraint. For a convolution to be truly equivariant, the filter (kernel) cannot be just any random grid of weights; it must satisfy a specific symmetry equation. The authors' key methodological contributions include:

  1. Irrep Decomposition: They demonstrate that any complex symmetry constraint can be broken down into a set of simpler constraints using Irreducible Representations (irreps). This makes the underlying mathematics tractable for any group.
  2. General Solution for $E(2)$: They provide analytical solutions for these constraints for the Euclidean group and all its subgroups, such as cyclic groups ($C_N$) and dihedral groups ($D_N$).
  3. Group Restriction: They introduce a novel "restriction" operation. This allows a network to be highly equivariant in early layers (e.g., detecting edges at any angle) but become less equivariant in deeper layers (e.g., recognizing that a tree usually has leaves on top and a trunk on the bottom). This acknowledges that while the laws of physics are rotationally invariant, photographs often have a preferred "down" direction due to gravity.

Key Insights and Empirical Results

By baking symmetry directly into the architecture, the network doesn't have to "learn" that a rotated edge is still an edge. This acts as a powerful inductive bias, effectively reducing the search space for the weights. Consequently, equivariant networks reach high accuracy much faster than vanilla CNNs because they are highly data-efficient. Every training example of a "vertical edge" automatically teaches the network about "horizontal edges" as well.

The authors validated their framework across several standard benchmarks, implementing their theory in a practical e2cnn library. The "drop-in" gains were substantial:

  • CIFAR-10: Replacing standard convolutions in a WideResNet with $E(2)$-steerable ones dropped the test error from 3.87% to 2.91%.
  • STL-10: On higher-resolution images (96x96) where local rotational symmetries are more pronounced, the equivariant models significantly outperformed the baseline, even with fewer parameters (e.g., 10.57% error with 4.2M parameters vs. 12.74% error with 11M parameters).
  • MNIST Variants: The framework achieved state-of-the-art results on rotated MNIST datasets, outperforming previous specialized equivariant models by unifying their best features.
Test error on MNIST variants showing the performance of different equivariant groups and the benefit of group restriction.

Limitations and Future Work

While the framework is incredibly powerful, it does introduce new hyperparameter complexity: the user must now choose which "representation" (scalar, vector, regular, etc.) to use for each layer's feature field. Additionally, solving the kernel constraints and expanding the basis during training adds a small computational overhead, though the authors note that the final kernels can be "baked" for fast inference.

Finally, this paper focuses strictly on the 2D plane ($E(2)$). While the underlying theory suggests it can be extended to 3D ($E(3)$) or non-Euclidean surfaces, those implementations are left for future work—areas that have since become highly active fields of research in geometric deep learning.

Summary updated

BibTeX
@inproceedings{weiler2019general,
  author = {Maurice Weiler and Gabriele Cesa},
  title = {{General E(2)-Equivariant Steerable CNNs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=wbpDXw4x52S},
}
Figure