Equivariant Neural Networks

Construct an equivariant coordinate update from relative vectors and distinguish rigid-motion equivariance, invariance, and reflection sensitivity.

Source
Anbloq
Language
English
Created
Updated
Chapters
3
Reading time
1 min
In this article3 chapters
  1. The output specifies how it should transform
  2. Relative displacements give a direct construction
  3. The group changes what the architecture can distinguish

The output specifies how it should transform

For a group action \(x\mapsto gx\), a map \(F\) is equivariant if \(F(gx)=\rho(g)F(x)\), with \(\rho\) an action on the output. A vector displacement rotates with the input. A scalar energy can be invariant, corresponding to the trivial output action. The requirement controls both which features a layer may form and how it can combine them across a graph. Representation theory describes which kinds of tensor components can mix under the chosen group.

Rotation matrices make it explicit which quantities rotate and which remain invariant. Convolution equivariance proves a related property directly for discrete shifts of a grid.

Relative displacements give a direct construction

Consider points \(x_i\) with scalar features \(h_i\) and a neighborhood rule preserved by rigid motions. Choose a scalar coefficient \(a_{ij}\) from \(\|x_i-x_j\|^2,h_i,h_j\). An update has the form

\[ x_i'=x_i+\sum_{j\in N(i)}(x_i-x_j)a_{ij}. \]

Under \(x_i\mapsto Qx_i+t\) with orthogonal \(Q\), distances and coefficients stay unchanged. Each relative vector is multiplied by \(Q\) and the translation term appears once. Thus \(x_i'\) is transformed by the same rigid motion. Scalar features can be updated using invariant pair data and permutation-invariant aggregation.

The group changes what the architecture can distinguish

\(E(n)\) includes reflections and \(SE(3)\) uses only rotations and translations. A scalar head invariant under the larger group gives mirror configurations equal outputs if all other inputs also agree under reflection. Some geometric tasks distinguish them. The signed volume of three relative vectors is preserved by proper rotations and changes sign under reflection. An architecture may choose to preserve such orientation information. See expressiveness of graph neural networks for a separate limit of aggregation, and multiple view geometry for camera transformations with an explicit coordinate convention.[1][2]

References

  1. Víctor Garcia Satorras, Emiel Hoogeboom and Max Welling, E(n) Equivariant Graph Neural Networks ↩
  2. Fabian B. Fuchs et al., SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networks ↩