In 1872, Felix Klein delivered his celebrated Erlangen Program, proposing that geometry is not merely the study of metric distances, but the study of invariant properties under transformation groups. In modern representation theory, this insight forms the mathematical foundation of Convolutional Neural Networks (CNNs). By exploiting the symmetry group of 2D Euclidean translations $(mathbb{R}^2, +)$, convolutions enforce Equivariance through weight sharing, slashing parameter complexity from $O(D^2)$ in fully-connected layers to $O(K^2)$ and bestowing exact geometric inductive bias.
1. The Formal Definition of Group Equivariance
Let $G$ be a transformation group acting on input space $mathcal{X}$ via group action $T_g: mathcal{X} to mathcal{X}$ for $g in G$, and acting on feature space $mathcal{Y}$ via group action $T_g’: mathcal{Y} to mathcal{Y}$. A mathematical mapping $f: mathcal{X} to mathcal{Y}$ is said to be $G$-Equivariant if the diagram commutes for all $g in G$:
$$f(T_g x) = T_g’ (f(x)), quad forall x in mathcal{X}, ; forall g in G$$
In contrast, $f$ is $G$-Invariant if the representation is entirely unaltered by the group action: $f(T_g x) = f(x)$. In hierarchical deep visual architectures, early and intermediate feature extractors must be equivariant (tracking the exact spatial translation of eyes, noses, and edges), while the terminal classification head collapses features into an invariant representation (predicting “face” regardless of spatial coordinates).
2. Translation Equivariance and Continuous Convolution
Consider the continuous translation group $(mathbb{R}^d, +)$ where translation operator $T_t$ shifts functions by $t in mathbb{R}^d$: $(T_t f)(x) = f(x – t)$.
The continuous convolution of feature map $f$ with spatial filter kernel $w$ is defined as:
$$(f * w)(x) = int_{mathbb{R}^d} f(y) w(x – y) dy$$
Applying the translation operator to the input function:
$$(T_t f * w)(x) = int_{mathbb{R}^d} f(y – t) w(x – y) dy$$
Substituting integration variable $u = y – t$ (where $dy = du$):
$$int_{mathbb{R}^d} f(u) w(x – t – u) du = (f * w)(x – t) = T_t (f * w)(x)$$
By the fundamental theorem of linear systems, any linear operator that is equivariant to continuous translation must be a convolution operator. Weight sharing is not merely a pragmatic engineering heuristic; it is the unique mathematical consequence of translation symmetry.
3. Beyond 2D Translations: Group-Equivariant CNNs (G-CNNs)
In 2016, Taco Cohen and Max Welling generalized convolutions to arbitrary non-commutative Lie groups $G$ (such as the roto-translation group $SE(2) = mathbb{R}^2 rtimes SO(2)$ or the discrete p4 dihedral group of $90^circ$ rotations and reflections). For functions $f: G to mathbb{R}$ defined over group manifolds, group convolution is defined via the Haar measure $dg$:
$$(f *_G w)(g) = int_G f(h) w(g^{-1} h) dh$$
By lifting planar images into group representations, G-CNNs guarantee exact rotation equivariance, preventing models from wasting capacity memorizing tilted or mirrored orientations.
4. The Fourier Perspective and the Convolution Theorem
Under the continuous Fourier transform $mathcal{F}{f}(omega) = hat{f}(omega)$, the convolution theorem establishes that spatial convolution is dual to point-wise frequency multiplication:
$$mathcal{F}{f * w} = mathcal{F}{f} cdot mathcal{F}{w}$$
This duality reveals that convolutional layers act as learnable spatial filter banks decomposing representations into harmonic frequencies, providing the theoretical bridge between group representation theory and harmonic analysis.