The Exact Sample Complexity Gain from Invariances for Kernel Regression

Behrooz Tahmasebi, Stefanie Jegelka

It is a well-established principle in modern machine learning that "inductive biases" are the secret to sample-efficient learning. If a dataset consists of sets, practitioners use DeepSets; if it consists of images, Convolutional Neural Networks (CNNs) are the standard. By encoding these symmetries—or invariances—into models, performance improves dramatically with less data. But exactly how much better does the sample complexity get?

In their NeurIPS 2023 paper, "The Exact Sample Complexity Gain from Invariances for Kernel Regression," Behrooz Tahmasebi and Stefanie Jegelka provide a rigorous, geometric answer to this question. Moving beyond simple heuristics, they demonstrate that symmetry does not merely provide a linear boost to learning; it fundamentally alters the "curse of dimensionality."

The Core Problem: Softening the Curse of Dimensionality

While practitioners have long known that invariant architectures improve sample complexity (the amount of data required to learn a task to a given accuracy), theoretical characterizations have historically been limited. Previous studies often focused exclusively on finite groups (such as permutations) or highly specific geometries (such as spheres).

The primary challenge in these theoretical analyses is the "curse of dimensionality." In high-dimensional spaces, the number of samples needed to maintain a specific accuracy typically grows exponentially. This paper asks a fundamental question: If a target function is invariant to a group action on a manifold, how exactly does that curse soften?

Methodology: A Geometric Perspective

The authors analyze Kernel Ridge Regression (KRR) where the data lies on a compact manifold $M$ (a smooth space such as a sphere, torus, or Stiefel manifold). They assume the target function belongs to a Sobolev space $H^s(M)$ and is invariant under the action of a compact Lie group $G$.

Crucially, their approach is rooted in differential geometry rather than the traditional method of using invariant polynomials. Key steps in their proof include:

  1. Quotient Space Analysis: The problem is reframed as learning a function on the "quotient space" $M/G$—the space formed by treating all points related by the symmetry as a single, unified point.
  2. Dimension Counting Theorem: The authors derive a novel theorem to count the number of invariant eigenfunctions of the Laplace-Beltrami operator, allowing them to tightly bound the complexity of the invariant function space.
  3. Boundary Conditions: They prove that smooth invariant functions on the original manifold correspond to functions on the quotient space that satisfy Neumann boundary conditions. This is a vital technical insight, as quotient spaces often possess "edges" or boundaries even if the original manifold does not.

Key Insights: The Two-Fold Gain

The paper reveals that symmetries assist the learning process in two distinct, quantifiable ways:

  • Volume Gain (Finite Groups): For finite groups, the effective number of samples $n$ is multiplied by the group size $|G|$. Every data point observed effectively provides $|G|$ points worth of information.
  • Dimension Gain (Continuous Groups): For continuous groups (such as rotations), the "effective dimension" $d$ of the problem actually decreases. Because the error rate depends on $1/d$ in the exponent, reducing the dimension yields an exponentially faster convergence rate for high-dimensional problems.

Unlike prior work restricted to spheres, these results are geometrically general, holding for any smooth compact Lie group acting on any compact manifold.

Main Theoretical Results

The authors prove that the excess population risk (the error) for the Sobolev kernel scales according to the following minimax optimal rate:

$$ \text{Error} \propto \left( \frac{\sigma^2 \text{vol}(M/G)}{n} \right)^{\frac{s}{s + d/2}} $$

Where:

  • $n$ is the number of samples.
  • $d$ is the effective dimension of the quotient space (often $\dim(M) - \dim(G)$).
  • $\text{vol}(M/G)$ is the volume of the quotient space.
  • $s$ represents the smoothness of the function.

A Concrete Example: Consider a 3D point cloud with $m$ points. The raw dimension of this space is $3m$. If the learning task is rotation-invariant, the effective dimension drops to $3m - 3$. If the task is also translation-invariant, the dimension drops further to $3m - 6$. This reduction in the exponent significantly accelerates the learning rate.

Practical Implications

While this is a theoretical work and does not train empirical models, it provides a unified mathematical framework to explain the sample complexity gains observed in popular architectures. The authors explicitly calculate theoretical gains for:

  • Sets (DeepSets): Permutation invariance.
  • Images (CNNs): Translation invariance.
  • Point Clouds (PointNet / Tensor Field NNs): Rotation, translation, and permutation invariance.
  • Graphs (GNNs): Node permutation invariance.
  • Spectral Data (SignNet / BasisNet): Invariance to eigenvector sign flips and changes of basis.

Limitations and Future Directions

While groundbreaking, the paper outlines a few boundaries to its current framework:

  • Kernel vs. Deep Learning: The results are derived specifically for Kernel Ridge Regression. While the Neural Tangent Kernel (NTK) regime allows these findings to be extended to infinitely wide neural networks, they may not fully capture the behavior of deep networks in the "feature learning" (non-lazy) regime.
  • Exact vs. Approximate Invariance: The theory assumes the target function is perfectly invariant. In many real-world scenarios, data is only approximately invariant (e.g., "mostly" symmetric objects), which remains an open area for theoretical exploration.
  • Compactness: The proofs rely heavily on the manifold being compact. Extending this framework to non-compact spaces (like the full Euclidean space $\mathbb{R}^d$ without boundaries) would require entirely different mathematical machinery.

Summary updated

BibTeX
@inproceedings{tahmasebi2023exact,
  author = {Behrooz Tahmasebi and Stefanie Jegelka},
  title = {{The Exact Sample Complexity Gain from Invariances for Kernel Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=6iouUxI45W},
}
Figure