Capacity of Group-invariant Linear Readouts from Equivariant Representations: How Many Objects can be Linearly Classified Under All Possible Views?

Matthew Farrell, Blake Bordelon, Shubhendu Trivedi, Cengiz Pehlevan

Equivariant neural networks—most famously Convolutional Neural Networks (CNNs)—are fundamentally designed to handle symmetries like translations, rotations, and reflections. While the empirical success of these architectures is undeniable, quantifying their theoretical expressivity has remained a challenge. Specifically, researchers have lacked a clear way to answer a fundamental question: How many distinct objects can a linear layer classify if those objects are allowed to undergo any transformation within a group (e.g., any rotation or any shift)?

In classical machine learning, "perceptron capacity" (via Cover’s Function Counting Theorem) dictates how many random points a linear classifier can separate. However, equivariant representations do not produce random points; they produce "manifolds" or orbits (e.g., all possible rotated versions of a cat). These orbits possess a highly specific geometric structure that violates the assumptions of classical theorems. This paper bridges that gap, providing a rigorous theoretical framework to calculate the classification capacity of group-equivariant representations.

Theoretical Framework & Methods

To tackle this problem, the authors combine group representation theory with statistical physics approaches to learning. Their methodology yields several foundational mathematical insights.

At the core of their framework is the Centroid Lemma. The authors prove a surprising geometric result: linearly classifying entire orbits (manifolds of transformed objects) is mathematically equivalent to classifying the centroids (averages) of those orbits.

Geometric visualization of invariant classification of orbits.

By focusing on these centroids, they successfully generalize Cover’s Theorem. They demonstrate that the fraction of separable dichotomies is determined entirely by the dimension of the fixed-point subspace ($V_0$)—the specific part of the representation space that remains unchanged by the group action.

Furthermore, using Irrep Decomposition, they show that any group representation can be broken down into "irreducible representations" (irreps). Crucially, only the "trivial" irreps (the components that do not move under the group action) actually contribute to the network's classification capacity.

Key Insights: Capacity, Pooling, and Biology

The theoretical framework leads to several practical and counterintuitive insights about how modern neural networks operate:

  • The "Aha" Moment of Invariance: For invariant classification, the "moving" parts of a representation are essentially dead weight. If a model needs a single hyperplane to classify a cat regardless of its rotation, that hyperplane can only "see" the parts of the cat's representation that remain static when it rotates.
  • Capacity Scaling in CNNs: In a standard periodic CNN, the capacity $P$ scales as $P \approx 2N$, where $N$ is the number of filters, not the total number of pixels or features. This mathematically explains why adding more filters is a far more effective strategy for increasing capacity than simply increasing image resolution.
  • The Pooling Paradox: The theory sheds light on common architectural choices. Average Pooling is shown to be "lossless" regarding capacity because it preserves the fixed-point subspace. Conversely, Max Pooling—despite being a powerful non-linearity often used to force invariance—actually decreases classification capacity because it breaks the clean group structure of the representation.
  • Biological Links: The authors draw fascinating parallels to neuroscience, suggesting that "grid cells" in the brain (which use a direct sum of representations) might be an evolutionarily optimized way to achieve higher classification capacity compared to "place cells" (which more closely resemble standard convolutional filters).

Empirical Validation and Results

The authors formalized their findings in Theorem 1, which states that the fraction of separable dichotomies for $P$ objects is a function $f(P, N_0)$, where $N_0$ is the dimension of the fixed-point subspace.

To validate this, they tested their theory by measuring the fraction of separable dichotomies on both randomly initialized CNNs and a pretrained VGG-11 on the CIFAR-10 dataset, using logistic regression to find empirical capacity limits. The empirical tests showed "perfect agreement" with the theoretical predictions. For a network with $N$ filters, the capacity was exactly what the theory predicted based on $N$ trivial irreps.

Additionally, they demonstrated that specialized G-CNN architectures (such as those using direct sums of regular representations) can effectively double or triple the classification capacity compared to standard CNNs utilizing the same number of filters.

Limitations and Future Work

While this paper provides a massive leap forward in understanding equivariant network capacity, the authors note a few limitations:

  • Linear Readouts Only: The theory focuses exclusively on the final linear layer. While many deep networks use non-linear heads, the final classification step is almost always linear, making this highly relevant but not entirely exhaustive for all architectures.
  • Compact Groups: The current mathematical proofs focus on compact groups (like finite groups and rotations). Extending this framework to non-compact groups (such as scaling or affine transformations) remains an open challenge.
  • Generalization vs. Capacity: This paper focuses strictly on memory (how many objects can the network store and separate?). The authors emphasize that mapping the relationship between this theoretical capacity and generalization (how well the network handles unseen data) is a vital next step for the field.

Summary updated

BibTeX
@inproceedings{farrell2022capacity,
  author = {Matthew Farrell and Blake Bordelon and Shubhendu Trivedi and Cengiz Pehlevan},
  title = {{Capacity of Group-invariant Linear Readouts from Equivariant Representations: How Many Objects can be Linearly Classified Under All Possible Views?}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=_4GFbtOuWq-},
}
Figure