Equivariant Neural Tangent Kernels

Philipp Misof, Pan Kessel, Jan E Gerken

Introduction

In deep learning, handling symmetries like rotation or translation typically involves one of two strategies: architectural equivariance (designing networks like Group CNNs whose internal representations naturally transform with the input) or data augmentation (training standard networks on transformed versions of the data). While practitioners often debate which approach is superior, a formal theoretical framework to compare their training dynamics has been missing.

This paper bridges that gap by deriving the Neural Tangent Kernel (NTK) for equivariant neural networks. The NTK is a powerful analytical tool that describes how a network's predictions evolve during gradient descent in the limit of infinite width. By establishing the NTK for general group-equivariant architectures, the authors provide a rigorous mathematical foundation to study how these models learn and generalize.

The Equivalence Theorem

The most striking theoretical contribution of this work is the "Equivalence Theorem," which proves that data augmentation and equivariant architectures are fundamentally two sides of the same coin.

Specifically, the authors demonstrate that in the infinite-width limit, a standard network (MLP or CNN) trained with full data augmentation shares the exact same expected prediction as a Group CNN (GCNN) trained without augmentation at all training times. Crucially, this equivalence holds "off-manifold," meaning the two approaches generalize identically to unseen, transformed data points far outside the training distribution.

Methods and Implementations

To achieve these results, the authors derive layer-wise recursive relations for both the NTK and the Neural Network Gaussian Process (NNGP) kernel across key components of equivariant models:

  • Lifting Layers: Mapping standard inputs into group-based representations.
  • Group Convolutional Layers: The equivariant counterpart to standard convolutions.
  • Group Pooling: Aggregating information to ensure the final output is invariant to the target symmetry.

The framework is implemented for two major symmetry groups. For 2D images where orientation should not affect classification (e.g., pathology slides), they implement roto-translations in the plane ($C_n \ltimes \mathbb{R}^2$). For physics and chemistry applications, they implement 3D rotations ($SO(3)$), utilizing Fourier transforms and Wigner matrices to simplify kernel recursions into computationally feasible algebraic equations.

Empirical Results

The theoretical framework was validated across several domains, demonstrating that equivariant NTKs serve as superior standalone kernel predictors compared to standard NTKs.

Medical Imaging

On a histological image classification dataset comprising 100,000 human colorectal cancer and healthy tissue images, the rotation-invariant GCNN NTK significantly outperformed the standard CNN NTK. As the training set size increased, the equivariant model showed vastly superior scaling and test accuracy.

Test accuracy comparison between C4-CNN and standard CNN on histological data.

Quantum Chemistry

The authors also evaluated their models on the QM9 dataset, a standard benchmark for predicting the quantum mechanical properties of small molecules. Here, the $SO(3)$-invariant GCNN NTK achieved a massive performance boost over a standard MLP NTK, drastically reducing the Mean Absolute Error (MAE) in predicting molecular energies.

Mean Absolute Error (MAE) comparison between SO(3)-invariant and standard MLP models on the QM9 dataset.

Convergence of Finite-Width Ensembles

While the core theory assumes infinite width, numerical experiments on datasets like MNIST and CIFAR-10 confirmed that as the width (number of channels) of a neural network increases, its empirical behavior converges toward the derived analytical NTK formulas. Furthermore, the "augmentation vs. equivariance" equivalence was shown to hold approximately for ensembles of finite-width networks.

Limitations and Future Work

Despite these strong theoretical and empirical results, the approach has limitations. Calculating the full kernel matrix scales quadratically with the number of data points, making it computationally expensive for very large datasets. Additionally, the current work focuses strictly on group convolutions; extending these derivations to equivariant attention mechanisms (such as Equiformer) remains a natural next step.

Finally, there is a notable "finite-width gap." While ensembles converge to the theoretical limit, individual finite-width networks trained with augmentation are not strictly equivariant. The distribution of individual models in an augmented ensemble differs from those in an equivariant ensemble, even if their means match. Exploring these variance differences offers a promising avenue for future research into the practical differences between augmentation and architectural equivariance.

Summary updated

BibTeX
@inproceedings{misof2025equivariant,
  author = {Philipp Misof and Pan Kessel and Jan E Gerken},
  title = {{Equivariant Neural Tangent Kernels}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=ooUlq9jA2K},
}
Figure