Convolutional neural networks owe much of their success to equivariance: if the input image is translated, every layer's activations translate the same way. Many architectures extend this property to other symmetries, such as rotations of the sphere or permutations of the vertices of a graph. Kondor and Trivedi (2018) give a general account of the link between equivariance and convolution when the symmetry is an arbitrary compact group and the neurons of each layer are indexed by a homogeneous space of .
Their main result is that, under natural constraints, convolutional structure is not only sufficient but also necessary for equivariance. A layer commutes with the action of exactly when it is a generalized convolution with a filter on a double quotient space .
This mission formalizes that result for finite groups, together with the convolution theorem and the representation-theoretic lemmas its proof passes through.
A feed-forward network has layers indexed by sets and activations , computed as
with linear maps and pointwise nonlinearities . A group acts on functions by , and a map is equivariant if .
When , functions on quotient spaces are lifted to , and the generalized convolution of on with a filter on is
a function on . A network all of whose linear maps have this form is a -CNN. The Fourier transform of at a representation is .
Let be a finite group and a network with index sets . Then a -CNN is -equivariant. Moreover, is a -CNN if and only if each of its linear maps is -equivariant.
The printed Theorem 1 states that equivariance of the whole network is equivalent to being a -CNN. That reverse direction fails when nonlinearities are not injective or earlier layers are degenerate. Its proof assumes equivariance of each , and the goal states what the proof establishes.
Theorem 1 is widely cited to justify convolutional architectures for data with symmetries: spherical CNNs, steerable and gauge-equivariant networks, and permutation-equivariant networks for graphs and sets. A machine-checked version makes the hypotheses explicit. These are the quotient-space structure of each layer, linear layers, and, for the necessity direction, equivariance of each linear map rather than of the whole network.
The proof uses the elementary representation theory of finite groups: Schur's lemma, isotypic decompositions and the Fourier transform on groups. Schur's lemma, Maschke's theorem and isotypic components are in Mathlib; the matrix-valued Fourier transform on finite groups and on their quotient spaces is not, and is defined in the definitions file.
Representation.Not included:
namespace EquivarianceConvolution
theorem gcnn_iff_equivariant_layers {G : Type*} [Group G] [Fintype G] (H : ℕ → Subgroup G)
{d : ℕ → ℕ} (L : ℕ) (N : FeedForwardNet (fun l => G ⧸ H l) d) :
(IsGCNN H L N → IsEquivariantNet G L N) ∧
(IsGCNN H L N ↔ ∀ l < L, IsEquivariantMap G ⇑(N.phi l)) := by sorry
end EquivarianceConvolutionLet be a finite group and let be an -layer feed-forward network whose -th index set is for subgroups . Its activations lie in , its layers are linear maps , and its pointwise nonlinearities are arbitrary. Then:
This is the paper's main theorem, that convolutional structure is necessary and sufficient for equivariance, in the form its proof establishes.
Formalization Note The printed Theorem 1 asserts that is -equivariant (Definition 3) if and only if it is a -CNN. Its "only if" direction is false. Equivariance of the activations does not force the linear maps to be equivariant when a nonlinearity is not injective, or when earlier layers do not reach every function. For example, take , , , , and . Every activation of layers 1 and 2 is , so the network is equivariant, but is not equivariant and therefore not a convolution. The proof in Appendix E assumes that each is equivariant ("this is equivalent to asserting that is equivariant") and shows that each is then a convolution. The statement above is what the two proofs establish. The group is finite (see the definitions), and the activation spaces are , as in Definition 7.
No open leaves. Every sub-goal is proved or awaiting decomposition.