A convolutional layer does two things at once: it mixes neighbouring pixels, and it uses the same mixing at every location. The second fact is usually sold as an implementation trick — fewer parameters, better generalisation. These notes treat it as a theorem. Shared weights are exactly the linear maps that commute with translations. Once that is visible, the same sentence can be written for rotations, permutations, and any other group that acts on the data.

The nugget

A map is -equivariant when transforming the input and then applying is the same as applying and then transforming the output:

When is linear, becomes an intertwiner equation on the weight matrix. On a homogeneous space that equation is weight sharing. Schur’s lemma then counts the surviving parameters.

This module states the square, distinguishes it from invariance, and checks it on a five-pixel signal. The algebra starts in Module 3; the translation theorem is Module 4.

Equivariance versus invariance

Let a group act on an input space and an output space .

Definition 1.1 (Equivariance).

A map is -equivariant if

It is -invariant when the action on is trivial: . Invariance is equivariance with a silent output.

A vector field that rotates with the scene is equivariant, not invariant. A class label (“there is a cat”) is invariant. Intermediate layers of a geometric network are almost always equivariant; only the head is often invariant. Collapsing the two words makes it impossible to keep orientation information in the hidden features.

x Phi(x) g · x g · Phi(x) act by g act by g Phi Phi
Figure 1.1. The commuting square. Clockwise and counterclockwise paths from the upper-left corner must agree for every group element g.

Read Figure 1.1 clockwise: act, then apply . Counterclockwise: apply , then act. Equivariance is the statement that the two composite paths coincide. There is no extra magic about filters or Fourier transforms yet.

Myth: equivariant means invariant

Everyday speech says “rotation-invariant CNN” for a model that tolerates rotated inputs. Architecturally one wants equivariant hidden layers (features rotate when the image rotates) and an invariant head (the class does not). A network that discards orientation in the first layer cannot tell a six from a nine.

A CNN already looks like this

For a standard convolution on a grid, is (discrete) translations. Both and shift the feature map. Equation says: shift the image, then convolve, equals convolve, then shift the feature map. You already believe that statement. The rest of the course is the same square with a richer choice of and of .

Example 1.1 (Five pixels, a 3-tap filter).

Take and the signal . A centred kernel defines circular convolution

Direct evaluation gives . The cyclic shift sends each entry one step to the right, under the convention . Then

The square commutes for this . It would fail for a dense matrix that assigned a different mixing to each output site — that is the content of Module 4.

The geometric blueprint

Bronstein, Bruna, Cohen and Veličković organise geometric deep learning around one construction: equivariant layers composed with an invariant readout. The symmetry of the task is then automatic, for every value of every trainable parameter, before any training happens.

input x equivariant Phi_1 equivariant Phi_L invariant head h features move with g g dies here
Figure 1.2. The geometric blueprint. Each Phi_ell satisfies the square; the head h is invariant. Then h(Phi_L(...Phi_1(g · x)...)) = h(Phi_L(...Phi_1(x)...)).

Figure 1.2 is the whole construction. A one-line computation is the payoff. Equivariance pushes through each layer; invariance kills it at the end:

Convolutional nets are this blueprint with the translation group and global pooling. Graph nets take . Steerable CNNs take a rotation group on the fibres. The blueprint does not choose the group for you; it says what to do once the group is chosen.

Myth: equivariance is data augmentation done properly

Augmentation changes the empirical risk: the optimiser sees more transformed copies of the training set. Hard equivariance changes the hypothesis class: every function the model can represent already obeys the square. A network trained with random rotations can still fail a rotation the augmentation never hit. An intertwiner-constrained layer cannot.

Myth: my CNN is already rotation-equivariant

Standard convolution is (approximately) translation-equivariant. It is not rotation-equivariant unless the kernels are steerable or the group is enlarged to a -CNN. Rotating an ImageNet-trained ResNet by does not rotate its feature maps by .

A translation table

You knowHere calledWhere it breaks
Shared conv kernelIntertwiner / orbit-constant Graphs: no single global kernel on
Channel vectorFeature of type Channels carry a representation, not just width
mixCross-type mixing needs a Clebsch–Gordan product
Data augmentationSoft symmetry in trainingDoes not enforce test-time equivariance
Pointwise ReLUNeeds an equivariant nonlinearityComponentwise ReLU on type breaks

Figure 1.3 is the same dictionary as a picture. The last column of the table is the useful part. A CNN-trained intuition that “sharing always means the same filter at every pixel” fails as soon as is continuous, or the domain is a molecular graph rather than a lattice. Module 8 takes those breaks seriously; until then the linear homogeneous-space story is the whole subject.

CNN vocabulary against the equivariant vocabulary. The highlighted row is the commuting constraint.
Figure 1.3. CNN vocabulary against the equivariant vocabulary. The highlighted row is the commuting constraint.

How the notes are organised

1 commuting square 3 linear = intertwiner 4 translation = convolution 5 sharing = orbits 6 steerable K 7 Schur count
Figure 1.4. Modules 1-7 derive sharing from the square. Module 2 is the language; 8-9 are where the linear story stops.

Figure 1.4 is the route through the notes. Part of the map that is not a zoo: G-CNNs, tensor field networks, EGNN, and quantum twirling appear in Module 9 only as answers to “where are the free parameters, and which action do they intertwine?”

Orienting map of equivariant deep learning. Later modules hang on the theory spine, not on a publication timeline.
Figure 1.5. Orienting map of equivariant deep learning. Later modules hang on the theory spine, not on a publication timeline.

Figure 1.5 is orientation, not a reading list.