Abstract
We perform a careful, thorough, and large scale empirical study of the correspondence between wide neural networks and kernel methods. By doing so, we resolve a variety of open questions related to the study of infinitely wide neural networks. Our experimental results include: kernel methods outperform fully-connected finite-width networks, but underperform convolutional finite width networks; neural network Gaussian process (NNGP) kernels frequently outperform neural tangent (NT) kernels; centered and ensembled finite networks have reduced posterior variance and behave more similarly to infinite networks; weight decay and the use of a large learning rate break the correspondence between finite and infinite networks; the NTK parameterization outperforms the standard parameterization for finite width networks; diagonal regularization of kernels acts similarly to early stopping; floating point precision limits kernel performance beyond a critical dataset size; regularized ZCA whitening improves accuracy; finite network performance depends non-monotonically on width in ways not captured by double descent phenomena; equivariance of CNNs is only beneficial for narrow networks far from the kernel regime. Our experiments additionally motivate an improved layer-wise scaling for weight decay which improves generalization in finite-width networks. Finally, we develop improved best practices for using NNGP and NT kernels for prediction, including a novel ensembling technique. Using these best practices we achieve state-of-the-art results on CIFAR-10 classification for kernels corresponding to each architecture class we consider.
Introduction
In deep learning theory, researchers often study "infinite-width" limits because they are mathematically tractable. These limits allow a neural network to be described as a Kernel Method—specifically the Neural Network Gaussian Process (NNGP) for Bayesian networks and the Neural Tangent Kernel (NTK) for gradient-descent-trained networks. However, a significant gap exists: real-world networks are finite, and practitioners use "tricks" like weight decay and data augmentation that aren't always accounted for in infinite-width theory. This paper presents a massive empirical bridge between these regimes, identifying exactly how and when finite networks diverge from their kernel counterparts.
Methodology
The authors performed a large-scale empirical study using the Neural Tangents library to compare three architecture classes: Fully-Connected (FCN), Convolutional with a flattened output (CNN-VEC), and Convolutional with Global Average Pooling (CNN-GAP). They systematically tested the effects of centering (subtracting initial predictions), large learning rates, L2 regularization (weight decay), and early stopping.
A key methodological contribution is a novel Kernel Ensembling technique. To make data augmentation (like crops and flips) computationally feasible for kernels, the authors developed a method that treats augmented batches as a block-diagonal approximation of the full kernel. This allows kernel methods to benefit from the same data-rich training environments as finite networks.
Key Insights and Results
The study revealed several critical findings that challenge common assumptions in deep learning theory:
- NNGP > NTK: Contrary to the popular focus on NTK in recent literature, the authors found that NNGP (the Bayesian limit) frequently outperforms NTK across various architectures and datasets.
- The "Correspondence Breakers": Large learning rates and standard weight decay are the primary factors that break the mathematical correspondence between finite and infinite networks. When these are used, finite networks can "evolve" away from the kernel regime to find better solutions.
- Equivariance is for the Narrow: The translation equivariance of CNNs is highly beneficial for narrow networks. However, as networks get wider and approach the kernel regime, this advantage vanishes, and wide CNNs behave more like architecture-agnostic kernels.
- State-of-the-Art Kernels: Using best practices like regularized ZCA whitening and ensembling, the authors achieved 84.8% accuracy on CIFAR-10 for a CNN-GAP kernel and 89.8% for the Myrtle architecture kernel—setting new benchmarks for fixed-kernel methods.
Discussion and Future Work
While this study provides a comprehensive map of the finite-infinite correspondence, it primarily utilizes Mean Squared Error (MSE) to maintain a direct comparison with closed-form kernel solutions. While Softmax-cross-entropy provides a small, consistent benefit, its full theoretical implications remain for future study. Additionally, the study does not yet cover modern staples like Transformers or Residual connections. The authors suggest that incorporating systematic finite-width corrections—mathematical "perturbations" to the infinite limit—is a promising direction for better modeling real-world networks.
Summary updated