Generalization Error Curves for Analytic Spectral Algorithms under Power-law Decay

Yicheng Li, Weiye Gan, Zuoqiang Shi, Qian Lin · DOI

Introduction

In machine learning theory, the performance of an algorithm is often characterized by its minimax rate—the best possible error rate for the worst-case function in a given class. While these rates provide useful upper bounds, they fail to capture the precise behavior of an algorithm across its entire hyperparameter range. Specifically, they do not describe the exact generalization error curve as one tunes the regularization parameter ($\lambda$).

This research provides the first rigorous, exact characterization of these curves for a broad class of kernel methods. By moving beyond "Big-O" notation, the authors reveal the precise U-shaped bias-variance tradeoff and demonstrate why "overfitting" via interpolation (zero regularization) leads to a failure to generalize in these settings.

Analytic Spectral Algorithms and the Filter Function

The study focuses on Analytic Spectral Algorithms, a category that encompasses several widely used methods:

  • Kernel Ridge Regression (KRR)
  • Gradient Flow / Gradient Descent (GD)
  • Iterated Ridge Regression

The technical innovation of this paper is the analytic functional argument. Traditional proofs for KRR rely on the resolvent identity, which does not generalize to algorithms like Gradient Descent. To overcome this, the authors treat the algorithm's "filter function" $\phi_\lambda(z)$—which determines how the algorithm weights different eigenvalues of the kernel—as an analytic function in the complex plane.

Comparison of filter functions $\phi_\lambda(z)$ and remainder functions $\psi_\lambda(z)$ for various spectral algorithms including KRR and GD.

By employing Cauchy’s integral formula and contour integrals, the authors derived exact error estimates that apply to any algorithm with a sufficiently smooth (analytic) filter. As shown in the figure above, different algorithms exhibit distinct filter and remainder behaviors, which directly influence their generalization properties.

Key Insights: The Exact Error Curve

The authors prove that the generalization error follows the form $(1 + o_P(1)) \times (\text{Bias}^2 + \text{Variance})$. This "1 + small error" formulation is significantly stronger than standard bounds because it tracks exact constant factors. This mathematical framework confirms the classic U-shaped curve: error initially decreases as regularization drops (reducing bias) but eventually spikes as regularization becomes too weak (increasing variance).

The Danger of Interpolation

A critical finding of this work is the identification of an "interpolating regime." When the regularization parameter $\lambda$ is set too small, the paper proves the error is bounded below by a constant—specifically $\Omega_P((\ln n)^{-4}\sigma^2)$. This implies that for these kernel methods, perfectly fitting noisy training data (interpolation) prevents the model from converging to the true function, regardless of the sample size $n$.

Saturation and Adaptivity

The research also clarifies the "saturation" phenomenon. Some algorithms, like KRR, have a "qualification" limit; they cannot take full advantage of extremely smooth underlying functions to learn faster. In contrast, the authors show that Gradient Descent possesses "infinite qualification," allowing it to adapt to any level of smoothness in the target function.

Theoretical Results and Limitations

The primary result, Theorem 3.1, provides the exact asymptotic form of the generalization error curve under the assumptions of power-law eigenvalue decay and standard source conditions. This theory naturally recovers known optimal minimax rates when $\lambda$ is chosen optimally.

However, the current framework has limitations:

  • Analytic Requirement: The "analytic functional argument" excludes non-smooth algorithms like "Spectral Cut-off" (Truncated SVD), where the filter function contains jumps.
  • Power-Law Assumption: The results assume eigenvalues decay according to a power law ($j^{-\beta}$). Future work is needed to explore exponential decay settings, which characterize very smooth kernels and may exhibit different generalization dynamics.

Summary updated

BibTeX
@misc{li2024generalization,
  author = {Yicheng Li and Weiye Gan and Zuoqiang Shi and Qian Lin},
  title = {{Generalization Error Curves for Analytic Spectral Algorithms under Power-law Decay}},
  year = {2024},
  eprint = {2401.01599},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.01599},
}
Figure