Choosing a transformation before claiming equivariance

← Back to Blog & Articles

Physical laws do not depend on where the laboratory is or which way it faces.

The energy of a cluster of atoms is unchanged when the cluster is moved or turned, relabeling the atoms changes nothing, and the force on each atom turns with the cluster. A robot arm’s reachable set rotates with its base. A protein and its mirror image have the same pairwise distances. These facts are free information: a model that has to learn them from examples spends data on something that was known before the first sample arrived.

The cost of ignoring a symmetry is easy to see in a small case. Suppose a model sees a cluster of six identical particles in three dimensions and must predict its energy and the force on each particle. A generic network that reads the 18 coordinates has no reason to give the same answer for a cluster and for its rotated copy. To teach it, one can show it many rotated copies (data augmentation), or one can build a model for which the answer cannot differ. The first approach asks the network to approximate an invariance; the second makes it exact. this article develops both, proves what each can and cannot achieve, and measures the difference on a synthetic task with a known pair potential.

this article supplies the geometry that the later chapters on science and robotics lean on: equivariant generators and policies are built from the same pieces. The molecular benchmarks usually used for this subject are not available offline, so everything here runs on synthetic clouds of identical particles with a known potential, plus small constructed examples. The conclusions about parameter counting and symmetrization are mathematical and carry over; the quantitative gaps between models are properties of this small task, and the evaluation section says so.

The plan is as follows. the companion book example fixes the language of groups, representations and equivariance. the companion book example characterizes the linear maps that respect a symmetry (Schur’s lemma and the averaging projector). the companion book example proves that symmetrizing helps in squared loss and counts parameters. the companion book example treats invariants of point clouds, and the companion book example builds equivariant message-passing networks. Sections 2.7 to 2.9 implement and evaluate them, and the companion book example collects the ways things go wrong.

Continue with the book

Explore the full treatment, worked examples, and exercises in Applied AI for Generation and Control.


Companion article for Applied AI for Generation and Control, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.

Scroll to Top