Predicting kernel regression learning curves from only raw data statistics
Dhruva Karkada, Joseph Turnbull, Yuxi Liu, James B. Simon
TL;DR
This work develops an end-to-end theory for kernel regression on realistic, anisotropic data by introducing the Hermite eigenstructure Ansatz (HEA), which predicts the kernel eigensystem from the data covariance ${\bm{\Sigma}}$ and a Hermite decomposition of the target $f_*$. By showing HEA exactness for Gaussian data in certain limits and robust empirical agreement on real image datasets, the authors enable predicting test loss curves for kernel ridge regression without constructing the kernel matrix. They demonstrate end-to-end predictivity by (i) applying HEA to CIFAR-5m, SVHN, and ImageNet tasks, (ii) introducing a robust method to recover target Hermite coefficients via Gram-Schmidt, and (iii) connecting HEA predictions to MLPs in the feature-learning regime, where optimization time scales with the predicted eigenvalues. The results suggest a principled, data-driven pathway to anticipate learning curves and guide hyperparameters in nontrivial learning settings, advancing the prospect of end-to-end theories that bridge dataset structure and model performance. Overall, the paper provides a concrete, testable framework for predicting learning dynamics from simple data statistics and target structure, with demonstrated applicability to real-world vision data and neural network regimes.
Abstract
We study kernel regression with common rotation-invariant kernels on real datasets including CIFAR-5m, SVHN, and ImageNet. We give a theoretical framework that predicts learning curves (test risk vs. sample size) from only two measurements: the empirical data covariance matrix and an empirical polynomial decomposition of the target function $f_*$. The key new idea is an analytical approximation of a kernel's eigenvalues and eigenfunctions with respect to an anisotropic data distribution. The eigenfunctions resemble Hermite polynomials of the data, so we call this approximation the Hermite eigenstructure ansatz (HEA). We prove the HEA for Gaussian data, but we find that real image data is often "Gaussian enough" for the HEA to hold well in practice, enabling us to predict learning curves by applying prior results relating kernel eigenstructure to test risk. Extending beyond kernel regression, we empirically find that MLPs in the feature-learning regime learn Hermite polynomials in the order predicted by the HEA. Our HEA framework is a proof of concept that an end-to-end theory of learning which maps dataset structure all the way to model performance is possible for nontrivial learning algorithms on real datasets.
