JA EN
LearnLinear Algebra
·★ MEMBER·PAPER·10 min read

Symmetry and Equivariance — How Group Theory Shapes Network Design

How to bake "a shifted cat is still a cat" into the architecture itself — from the four axioms of a group, through the definition of equivariance, to why convolution is the only translation-equivariant linear map and how AlphaFold handles 3D geometry. Including the cases where imposing symmetry backfires.

ModalitytextTaskmath

Group Equivariant Convolutional Networks

Primary source — what this article is built on

undefined2026-08-27

Group Equivariant Convolutional NetworksarXiv:1602.07576Paper page·PDF
Tensor Field Networks: Rotation- and Translation-Equivariant Neural Networks for 3D Point CloudsarXiv:1802.08219Paper page·PDF
Geometric Deep Learning: Grids"arXiv:2104.13478Paper page·PDF
GroupsGroups
GraphsGraphs
GeodesicsGeodesics
https://arxiv.org/abs/2104.13478"and Gauges

A Cat Is Still a Cat, Upside Down

Shift a photo of a cat ten pixels to the right and it is still a cat. Tilt it ninety degrees and it is still a cat. Obvious to us, not remotely obvious to a neural network. Shift the pixels and the input vector becomes an entirely different list of numbers — to a plain fully-connected layer, an unrelated input. The knowledge that "these are the same thing" has to come from somewhere.

There are two places it can come from. You can teach it with data: show enough shifted and rotated photos that the model learns, empirically, to answer the same way (augmentation). Or you can build it into the structure: make "shift the input and the answer just shifts with it" a property of the layer itself, true before training starts.

The language for the second option is group theory, and its two central words are invariance and equivariance. Why CNNs dominate images, why Transformers need positional encoding, why AlphaFold could handle atomic coordinates at all — these all sit on one map.

"Doesn't Change" vs. "Moves Along With"

Start by separating the two words. A group photo makes it concrete.

Head count is the invariant; face position is the equivariant quantity. Equivariance is not "nothing happens" — it is "things change in a way you can predict." That distinction drives design: intermediate layers should be equivariant, and usually only the very end should be invariant.

The reason is that going invariant early throws information away. Collapse to "position-free features" in layer one and you can never recover where the eyes sit relative to the ears. Stay equivariant and the positional information flows onward, available until you choose to discard it. Stack equivariant layers, then make it invariant at the end — geometry-aware networks are almost all built on that single template.

The most familiar invariant of all is the dot product. Rotate two vectors together by the same angle and the dot product doesn't budge. Every individual component changes; only the combined quantity survives.

FIG 1Rotate the two vectors independently and the dot product moves. But under the action of the rotation group — turning both by the same angle — every component changes while the dot product stays put. That is what an invariant looks like

Groups — Naming a Collection of Operations

"Shift," "rotate," "reorder": strip those down to their shared structure and you get a group. The definition is four lines. A set of operations GG is a group when:

  1. Doing two operations in a row lands you back inside GG (closure)
  2. Chaining three or more gives the same result however you bracket them (associativity)
  3. There is a "do nothing" operation ee (identity)
  4. Every operation has an "undo" (inverse)

Rotations make it click. Ninety degrees followed by one hundred eighty is two hundred seventy (closure), zero degrees is do-nothing (identity), and two hundred seventy undoes ninety (inverse). So the four quarter-turns form a genuine group, written C4C_4.

The groups you actually meet in practice are a short list.

Group What it contains Where it pays off
Translations Shifts along a line or plane Images, audio (CNNs)
CNC_N / SO(2)SO(2) Planar rotations Pathology, satellite, astronomy
SO(3)SO(3) / SE(3)SE(3) 3D rotation / rotation + translation Molecules, point clouds, proteins
Permutations SnS_n Reorderings of elements Sets, graphs (GNNs, Transformers)
E(3)E(3) SE(3)SE(3) plus reflections Physical quantities (with a trap — see below)

A group is an abstract collection of operations, but to act on data it needs to be matrices. Assign each element gg a matrix ρ(g)\rho(g) such that ρ(g)ρ(h)=ρ(gh)\rho(g)\rho(h) = \rho(gh), and you have a representation. From here on, "acting with the group" means multiplying by one of these matrices.

Writing Equivariance Down

A map ff — a whole network, or a single layer — is equivariant with respect to a group GG when:

f(ρin(g)x)  =  ρout(g)f(x)(gG)f\big(\rho_{\text{in}}(g)\,x\big) \;=\; \rho_{\text{out}}(g)\,f(x) \qquad (\forall g \in G)
(1)

Here xx is the input, ρin(g)\rho_{\text{in}}(g) is the matrix that performs gg on the input side, and ρout(g)\rho_{\text{out}}(g) performs the same gg on the output side. All the equation says is that "move first, then process" and "process first, then move" give the same answer. You may swap the order. That's it.

The special case where is the identity matrix — doing nothing — is invariance.

What's behind this

§

Members-only from here

371 walkthroughs, 26 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with three new explainers every day. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

References

  1. Group Equivariant Convolutional Networks. arXiv:1602.07576Paper page·PDF
  2. Tensor Field Networks: Rotation- and Translation-Equivariant Neural Networks for 3D Point Clouds. arXiv:1802.08219Paper page·PDF
  3. Geometric Deep Learning: Grids. "arXiv:2104.13478Paper page·PDF
  4. Groups. Groups
  5. Graphs. Graphs
  6. Geodesics. Geodesics
  7. https://arxiv.org/abs/2104.13478". and Gauges

This article is written from the source paper above. Where they differ, the original is authoritative.

Comments

Sign in to comment