The nugget of Module 3 is a theorem about linear maps. Neural networks are nonlinear. The moment one applies a pointwise activation, one leaves and must check the commuting square from scratch. This module computes a counterexample by hand, lists the repairs that restore the square, and then names four structural breaks of Theorem 5.1.

Componentwise ReLU is not equivariant

Proposition 8.1 (Componentwise ReLU breaks type-1).

Let be a representation of on that is not a permutation of coordinates (trivial and sign-type actions). The map applied componentwise need not satisfy . In particular, for the standard representation of on , componentwise ReLU is not equivariant.

Take and rotation by , .

The two paths give and . The square fails. ReLU treats the chosen coordinate axes as special; a rotated frame has different axes. Any nonlinearity that refers to a preferred basis of a higher-dimensional irrep will break equivariance.

v (1, -2) ReLU(v) (1, 0) R ReLU(v) (0, 1) R v (2, 1) ReLU(R v) (2, 1) (0,1) vs (2,1)
Figure 8.1. The two paths of the square. Componentwise ReLU after a rotation is not the rotation of a ReLU.

Figure 8.1 is the counterexample of Proposition 8.1.

What does work

Composition preserves equivariance: if and are each -equivariant, so is . The trap is the converse. If is an intertwiner but is a non-equivariant pointwise map, then is not equivariant, and no amount of training recovers the square. Hard equivariance is a constraint on every piece of the pipeline.

Designers replace componentwise activations by maps that are equivariant by construction.

  • Norm nonlinearities. For a field transforming under an irrep, apply a scalar nonlinearity to and rescale: . Since for orthogonal , the map commutes with .
  • Gated nonlinearities. Use invariant scalar streams to gate higher-type features: , where is type- and is any scalar nonlinearity. Gates are the workhorse of steerable CNNs and of e3nn-style networks.
  • Clebsch–Gordan tensor products. The bilinear map that decomposes into is an intertwiner by construction. Used as a learnable equivariant quadratic layer in TFN and NequIP.
  • Regular-representation activations. On features stored as functions on a finite group (as in G-CNNs), a pointwise nonlinearity applied in the group domain is equivariant, because the regular representation permutes coordinates. This is why early G-CNNs could keep ReLU.
Equivariant nonlinearities. Left: componentwise ReLU on a rotating vector breaks the square. Middle: a norm nonlinearity. Right: a scalar gate.
Figure 8.2. Equivariant nonlinearities. Left: componentwise ReLU on a rotating vector breaks the square. Middle: a norm nonlinearity. Right: a scalar gate.

Figure 8.2 is the three repairs drawn next to the break.

Global average pooling over a -orbit is equivariant (often invariant). Max pooling is equivariant when it is taken over orbits in a -aligned way; naive spatial max pooling on steerable fields can break fibre structure. Biases are intertwiners from the trivial representation: by Theorem 7.1, a bias is allowed only on scalar channels.

Myth: stack any activation after an equivariant linear layer

The square has to hold for the activation too. Checking only the convolution, then dropping in ReLU, is how silent symmetry bugs appear.

Four breaks

Theorem 5.1 assumed linear maps between representation spaces, typically realised as convolutions on a homogeneous base space. Four boundaries matter in practice.

1. Graphs and point clouds are not homogeneous spaces. A CNN grid is homogeneous under translations: every pixel looks like every other pixel. A molecule’s atom set is not. Tensor field networks replace “convolve with a kernel on ” by geometric message passing on relative vectors, with spherical harmonics and Clebsch–Gordan products. Equivariance is proved edgewise from Theorem 6.1, not from Kondor–Trivedi on a single homogeneous space. EGNN takes a cheaper route: invariant scalars plus relative-vector glue.

2. Noncompact groups. Haar measure, Peter–Weyl, and unitary irreps in the Kondor–Trivedi outline use compactness. The Lorentz group is noncompact. Finite-dimensional representations and intertwiners still make sense; the Fourier-convolution equivalence does not apply off the shelf. Lorentz nets parameterise directly (Minkowski products, finite-dim irreps), rather than quoting a convolution theorem.

3. Augmentation is not a constraint. Random rotations at training time change the empirical risk. They do not restrict the hypothesis class. A model trained with augmentation can fail a transformation the sampler never hit. An intertwiner cannot.

4. Schur is not Schur–Weyl. The counting tool is Theorem 7.1. Schur–Weyl duality is a statement about and acting on tensors; it is the right tool for permutation-equivariant linear maps on , and for the quantum commutant of on qubits, but it is not what counts the free weights of a steerable kernel.

The next module treats the first two breaks as worked examples of the same intertwiner equation, plus one more: twirling, which is the orthogonal projector onto .