[Paper Review] Statistical Mechanics of Generalization in Kernel Regression.
This paper uses statistical mechanics to derive an analytical expression for generalization error in kernel regression across all rotation-invariant kernels, revealing multiple learning stages in high-dimensional data. Each stage corresponds to learning degenerate spectral modes tied to kernel eigenvalues, with learning curves governed by effective regularizers and noise; optimal generalization occurs when effective regularization equals effective noise variance, and double-descent behavior emerges in each stage.
Generalization beyond a training dataset is a main goal of machine learning. We investigate generalization error in kernel regression using statistical mechanics and derive an analytical expression for it applicable to any kernel. Focusing on the broad class of rotation invariant kernels, which is relevant to training deep neural networks in the infinite-width limit, we show several phenomena. When data is drawn from a spherically symmetric distribution and the number of input dimensions, $D$, is large, we find that multiple learning stages exist, one for each scaling of the number of training samples with $\mathcal{O}_D(D^K)$ with $K\in Z^+$. In each stage $\mathcal{O}_D(D^K)$ degenerate spectral modes corresponding to the $K$-th kernel eigenvalue are learned. The mathematical analysis of a learning stage reduces to that of a solvable model with the dimensionality of the feature space extensive in the number of samples and a white kernel spectrum, including linear regression as a special case. The behavior of the learning curve in each stage is governed by an effective regularizer and an effective target noise that are related to the tail of the kernel and the target function spectra. When effective regularization is zero, we identify a first order phase transition that corresponds to a divergence in the generalization error. Each learning stage can exhibit sample-wise extit{double-descent}, where learning curves show non-monotonic sample size dependence. For each stage an optimal value of effective regularizer exists, equal to the effective noise variance, that gives minimum generalization error.
Motivation & Objective
- To understand generalization error in kernel regression using statistical mechanics, especially in high-dimensional settings relevant to deep learning.
- To analyze how learning dynamics and generalization depend on the spectral structure of rotation-invariant kernels.
- To identify distinct learning stages in high-dimensional input spaces, each corresponding to a scaling of training samples relative to input dimension D.
- To characterize the effective regularizer and effective noise that govern learning curve behavior in each stage.
- To determine optimal regularization for minimizing generalization error and identify phase transitions.
Proposed method
- The analysis uses statistical mechanics to model kernel regression in the high-dimensional limit, focusing on rotation-invariant kernels.
- It identifies learning stages based on the scaling of training samples as O_D(D^K) for positive integers K.
- Each stage reduces to a solvable model with extensive feature space and white kernel spectrum, generalizing linear regression.
- The effective regularizer and effective noise are derived from the tail of the kernel spectrum and target function spectrum, respectively.
- Phase transitions are identified when effective regularization vanishes, leading to divergent generalization error.
- The method reveals that each stage exhibits sample-wise double-descent due to non-monotonic dependence on training sample size.
Experimental results
Research questions
- RQ1How does generalization error behave in kernel regression when input dimension D is large and data is spherically symmetric?
- RQ2What are the distinct learning stages in high-dimensional kernel regression, and how do they depend on the scaling of training samples with D?
- RQ3How do effective regularizer and effective noise govern learning curve dynamics in each stage?
- RQ4Under what conditions does a first-order phase transition occur, and what is its impact on generalization error?
- RQ5What is the optimal effective regularizer for minimizing generalization error in each learning stage?
Key findings
- Multiple learning stages emerge, each corresponding to O_D(D^K) training samples for K ∈ Z^+, with degenerate spectral modes learned in each stage.
- Each learning stage reduces to a solvable model with extensive feature space and white kernel spectrum, generalizing linear regression.
- The learning curve in each stage is governed by an effective regularizer and effective noise derived from the kernel and target function spectra.
- A first-order phase transition occurs when effective regularization vanishes, leading to a divergence in generalization error.
- Each stage exhibits sample-wise double-descent, where generalization error first decreases then increases with sample size.
- The optimal effective regularizer that minimizes generalization error is equal to the effective noise variance in each stage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.