TL;DR
By massively distributing kernel computation and using a preconditioned conjugate gradient solver, this paper scales exact infinite-width neural kernel regression up to 5 million examples. The authors demonstrate that neural kernels obey neural scaling laws across orders of magnitude, achieve a state-of-the-art 91.2% accuracy for a pure kernel method on CIFAR-10 via data augmentation, and match or beat tuned deep networks on protein and molecule design benchmarks.
What Problem Does This Paper Address?
In the infinite-width limit, deep neural networks become equivalent to Gaussian processes defined by specific "neural kernels" (such as the Neural Tangent Kernel or NTK). While these kernels capture the inductive biases of modern architectures (convolution, pooling, graphs) without requiring SGD-based optimization, they are computationally brutal:
- Computing the kernel matrix for modest datasets like CIFAR-10 takes hundreds of GPU hours (versus seconds for standard RBFs).
- Solving the resulting linear system exhibits cubic time ($\mathcal{O}(n^3)$) and quadratic memory ($\mathcal{O}(n^2)$) scaling.
- Unlike classical kernels, neural kernels cannot easily be recomputed "on the fly" during iterative solvers due to extreme per-element evaluation costs.
Consequently, neural kernels have historically been restricted to small datasets (tens of thousands of examples), leaving fundamental questions unanswered: Do neural kernels follow the same empirical power-law scaling as deep networks? Can heavy data augmentation close the gap between kernels and finite neural nets?
Methods
The authors introduce an exact, distributed infrastructure capable of handling kernel regression on millions of data points:
- Massively Parallel Kernel Generation: The kernel matrix is partitioned into $5{,}000 \times 5{,}000$ independent sub-blocks, evaluated across GPUs using the
Neural Tangentslibrary, and cached on disk infloat64(a 5-million-point kernel required ~100 TB across ~500,000 blocks). - Distributed Preconditioned Conjugate Gradients (CG): To solve the regularized linear systems without storing entire matrices in RAM, the authors use an iterative CG solver running across a host CPU and worker nodes. The kernel matrix is partitioned along both rows and columns to minimize network communication during matrix-vector multiplications.
- Preconditioning: Because neural kernel eigenspectra decay as a power law and are severely ill-conditioned, the authors employ a partially-pivoted Cholesky preconditioner on CPU to ensure convergence.
- Architectures Tested: Fully-connected (FC3), convolutional without pooling (CV8), 10-layer convolutional network with pooling (Myrtle-10), tuned Myrtle variants with LayerNorm and exponential normalized activations, 1D CNNs for protein sequences, and Graph NTKs for molecular graphs.
Datasets
- CIFAR-5m: 5 million synthetic images generated by an i.i.d. generative model trained on CIFAR-10, used to study scaling laws over six orders of magnitude.
- CIFAR-10 & CIFAR-10.1: Standard image classification and out-of-distribution generalization benchmarks.
- Tiny ImageNet: 100,000 images across 200 classes downscaled to $64\times 64$ and $32\times 32$.
- FLIP AAV Capsid Fitness: A protein design dataset assaying adeno-associated virus VP-1 capsid variants (82k to 284k training examples across mutation splits).
- Drug Cardiotoxicity Benchmark: Graph-structured small molecules (6,523 SMILES entries) evaluated for cardiac toxicity.
Key Insights and Ideas
- Neural Kernels Follow Power-Law Scaling: Just like finite neural networks, neural kernels exhibit smooth power-law scaling across 4–5 orders of magnitude in data size.
- Kernel Expressivity Steeper Scaling: Higher-capacity kernels (Myrtle > CV8 > FC3) yield higher scaling exponents ($\alpha_D$). In other words, more expressive kernels benefit more per added data point than simpler kernels.
- In-Distribution Advantage: Exponents are strictly higher when evaluating on strictly in-distribution data ($\alpha_{\text{CIFAR-5m}} > \alpha_{\text{CIFAR-10}} > \alpha_{\text{CIFAR-10.1}}$).
- Exact Solvers Crush Approximations: Low-rank and localized approximations (Nyström, Subset of Regressors, Block Diagonal, and Bayesian Committee Machines) significantly trail full conjugate gradients in test performance, proving that keeping the full kernel geometry is vital.
Key Results
- CIFAR-10 Record for Pure Kernels: Expanding training data $20\times$ with RandAug and random cropping pushes the Tuned Myrtle NTK to 91.2% test accuracy (and 79.4% on CIFAR-10.1), setting a new state-of-the-art for kernel methods.
- Tiny ImageNet: The Myrtle kernel achieves 44.7% top-1 validation accuracy, rivaling finite baselines trained without augmentation (e.g., ResNet-18 at 43.1% and ConvMixer-16 at 45.4%).
- Protein Fitness (AAV): The 1D CNN neural kernel beats the best published benchmarks on multiple mutation generalization splits (e.g., Spearman $\rho$ of 0.81 vs. 0.79 on Mut-Des, 0.84 vs. 0.75 on Des-Mut, and 0.64 vs. 0.48 on 1-vs-rest).
- Molecular Cardiotoxicity: A Graph NTK scores 0.943 AUROC on in-distribution test data, matching or exceeding deep Graph Neural Network ensembles.
Limitations and Future Work
- Extreme Storage and Compute Footprint: Precomputing and storing terabytes to petabytes of kernel evaluations limits practical adoption; computing the pairwise elements accounts for the bulk of compute.
- Double Precision Requirement: Neural kernel ill-conditioning currently mandates
float64arithmetic to avoid numerical breakdown, precluding low-precision GPU/TPU matrix accelerators during solver phases. - Scaling to Full ImageNet: Expanding to 1,000 output classes increases the linear systems to solve by $100\times$, and image resolution quadratically blows up pairwise computation.
- Need for Better Pairwise Approximations: While dataset-dimension approximations (inducing points/Nyström) degrade performance, future progress relies heavily on accurate sketching and fast embeddings for the pairwise inner products themselves.
Summary updated