Generalization error of spectral algorithms
Maksim Velikanov, Maxim Panov, Dmitry Yarotsky
TL;DR
This work develops a unified spectral framework to quantify the generalization error of kernel methods trained by a broad family of spectral algorithms parameterized by a learning profile $h(\lambda)$. By expressing the generalization error as a quadratic functional of $h$, the authors derive explicit loss functionals for Circle and Wishart data models and introduce NMNO as a simple, universal-noise surrogate. Under power-law spectral assumptions, they obtain full loss asymptotics, reveal spectral localization of the error, and identify when overlearning or saturation occurs, including a notable overlearning transition at $\kappa=\nu-1$ in the noiseless regime. The results show universality of the loss with respect to non-spectral problem details under noisy observations and provide insights into optimal algorithm design beyond classical KRR, GF, and interpolation. Overall, the framework offers precise, model-dependent predictions for generalization in kernel-based learning and highlights how spectral scales control learning dynamics with practical implications for kernel methods and neural-kernel correspondences.
Abstract
The asymptotically precise estimation of the generalization of kernel methods has recently received attention due to the parallels between neural networks and their associated kernels. However, prior works derive such estimates for training by kernel ridge regression (KRR), whereas neural networks are typically trained with gradient descent (GD). In the present work, we consider the training of kernels with a family of $\textit{spectral algorithms}$ specified by profile $h(λ)$, and including KRR and GD as special cases. Then, we derive the generalization error as a functional of learning profile $h(λ)$ for two data models: high-dimensional Gaussian and low-dimensional translation-invariant model. Under power-law assumptions on the spectrum of the kernel and target, we use our framework to (i) give full loss asymptotics for both noisy and noiseless observations (ii) show that the loss localizes on certain spectral scales, giving a new perspective on the KRR saturation phenomenon (iii) conjecture, and demonstrate for the considered data models, the universality of the loss w.r.t. non-spectral details of the problem, but only in case of noisy observation.
