Foundation reference

Lie Groups & Equivariant Networks

Rotations and translations form Lie groups: groups of transformations that vary smoothly with continuous parameters. A network is equivariant when transforming its input transforms its output in a matching way: shifting an image shifts a convolutional feature map. Building a symmetry the task is known to have into the network lets it share weights across transformed inputs instead of learning each case separately (Bronstein et al., 2021).

Concept 73 of 100TheoryStudy phase 10
Key equation
f(ρin(g) x)=ρout(g) f(x)f(\rho_{\text{in}}(g)\, x) = \rho_{\text{out}}(g)\, f(x)
Reading map and next steps

Study guide

Where to start

Concept 73 of 100Lie GroupsTheory · Study phase 10: Mathematical foundations & information geometry
Question

When the input is rotated, should the output rotate with it (equivariance), stay the same (invariance), or change in some other specified way, and how do you decide which a task needs?

How to study this pagePredict · Check · Generalize · Continue
PredictSay what you expect.

Pick a concrete input and say what the equation should give before you read the math.

CheckCheck against the math and the papers.

Work through the math, then read the cited papers for the original argument.

GeneralizeName what stays the same.

Identify the part of the idea that survives a change of notation or model, so you can recognize it in another paper or system.

ContinueFollow the connections.

Use the prerequisites and related concepts at the end of the page to fill the next gap.

Why It Matters for Modern Models

  • Rotations and translations form Lie groups: groups of transformations that vary smoothly with continuous parameters. A network is equivariant when transforming its input transforms its output in a matching way: shifting an image shifts a convolutional feature map. Building a symmetry the task is known to have into the network lets it share weights across transformed inputs instead of learning each case separately (Bronstein et al., 2021).
  • Group-equivariant CNNs extend this weight sharing to rotations and reflections, adding expressive capacity without adding parameters; they reached state-of-the-art results at the time on rotated MNIST and CIFAR-10 (Cohen & Welling, 2016).
  • Molecular and protein models often build symmetry in: AlphaFold 2's structure module uses an attention operation that is invariant to global rotations and translations (Jumper et al., 2021). AlphaFold 3 instead omitted these constraints from its diffusion module and found they were not required (Abramson et al., 2024).

Questions to Think About

  • Why is translation on a grid the easiest symmetry to build in, while rotations and scalings need group convolutions or steerable filters?
  • How does the Lie algebra describe a continuous symmetry through its infinitesimal generators, for example a rotation by a small angle θ written as I + θA with A skew-symmetric?

Core Math

Key Equation
f(ρin(g) x)=ρout(g) f(x)f(\rho_{\text{in}}(g)\, x) = \rho_{\text{out}}(g)\, f(x)

A Lie group GG is a group that is also a smooth manifold, with smooth multiplication and inversion. Rotations, translations and scalings all form Lie groups.

A function ff is equivariant to GG if transforming the input transforms the output in a matching way:

f(ρin(g) x)=ρout(g) f(x)for all g∈Gf(\rho_{\text{in}}(g)\, x) = \rho_{\text{out}}(g)\, f(x) \quad \text{for all } g \in G

where ρin\rho_{\text{in}} and ρout\rho_{\text{out}} say how gg acts on inputs and on outputs. Invariance is the special case in which ρout(g)\rho_{\text{out}}(g) is the identity.

Group convolution generalizes ordinary convolution from translations to a group GG, integrating over the group with its invariant (Haar) measure (Cohen & Welling, 2016; Cohen, Geiger & Weiler, 2019):

[f⋆ψ](g)=∫Gf(h) ψ(g−1h) dh[f \star \psi](g) = \int_G f(h)\, \psi(g^{-1}h)\, dh

Lie algebra. The Lie algebra g\mathfrak{g} holds the infinitesimal generators of GG, and the exponential map exp⁡:g→G\exp: \mathfrak{g} \to G turns them into group elements. For the rotation group SO(3)SO(3) the Lie algebra is the space of 3×33 \times 3 skew-symmetric matrices: for a suitably normalized generator AA, exp⁡(θA)\exp(\theta A) is a rotation by angle θ\theta, and for small θ\theta, exp⁡(θA)≈I+θA\exp(\theta A) \approx I + \theta A.

Key Papers and Books

A General Theory of Equivariant CNNs on Homogeneous Spaces

Cohen, Geiger & Weiler2019NeurIPS
Read paper →

Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges

Bronstein et al.2021arXiv
Read paper →

Group Equivariant Convolutional Networks

Cohen & Welling2016ICML
Read paper →

Lie Groups, Lie Algebras, and Representations

Hall2015Springer (textbook)
View book →

Highly accurate protein structure prediction with AlphaFold

Jumper et al.2021Nature
Read paper →

Accurate structure prediction of biomolecular interactions with AlphaFold 3

Abramson et al.2024Nature
Read paper →

Connections