Prediction Errors for Penalized Regressions based on Generalized Approximate Message Passing

Ayaka Sakata · DOI

Introduction

In the landscape of modern machine learning, models often operate in regimes where the number of parameters ($N$) is comparable to or even exceeds the number of available data points ($M$). This "overparametrized" regime challenges classical statistical assumptions, leading to phenomena like "double descent" where traditional error estimators fail. This paper introduces a high-precision framework for estimating prediction errors in penalized regressions using Generalized Approximate Message Passing (GAMP) and the replica method from statistical physics.

The Challenge of Overparametrization

Classical model selection tools, such as the Akaike Information Criterion (AIC) or Mallows’ $C_p$, are built on the assumption of an asymptotic limit where $M \gg N$. However, in the finite $\alpha$ regime ($\alpha = M/N$), these criteria become significantly biased. While Leave-One-Out Cross-Validation (LOOCV) provides a robust estimate of extra-sample error, its computational cost—requiring $M$ separate training runs—is often prohibitive for large-scale models.

Distinguishing between extra-sample error (generalization) and in-sample error (training) in regression models.

The goal is to achieve the accuracy of LOOCV with the computational efficiency of a single training session, bridging the gap between training performance and real-world generalization.

Methodology: GAMP and the Replica Method

The proposed approach leverages two powerful frameworks from the intersection of information theory and statistical physics:

  1. Generalized Approximate Message Passing (GAMP): An efficient $O(MN)$ algorithm for solving inference problems in Generalized Linear Models (GLMs). GAMP provides "cavity" variables that describe how model estimates shift when individual data points are perturbed or removed.
  2. The Replica Method: A technique from statistical physics used to derive the typical analytical behavior of systems with random predictors.

By integrating these methods, the author demonstrates that standard criteria like the Takeuchi Information Criterion (TIC) are essentially first-order approximations of the LOOCV error. The innovation lies in using GAMP to incorporate higher-order terms—specifically those related to the cumulant generating function of the likelihood—to derive a "corrected" estimator that remains accurate even when $\alpha$ is small.

Conceptualizing the leave-one-out approach by comparing a dataset with a removed point ($D_{\setminus \mu}$) to one with an added point ($D_{\setminus \mu^+}$) to estimate model sensitivity.

Key Insights: From Physics to Statistics

A central finding is the Fluctuation-Response Relationship, which links the generalization gap (the difference between training and test error) to the internal variance of the estimated parameters. This mirrors principles in physics where a system's response to external stimuli is determined by its internal fluctuations. Furthermore, the paper shows that the "effective" complexity of a model, or its Generalized Degrees of Freedom, can be expressed directly through the variance of GAMP estimates.

Empirical Validation and Results

The theoretical framework was tested across various models, including Ridge, LASSO, and Logistic regression, using both i.i.d. and correlated Gaussian predictors. Key results include:

  • High Fidelity to LOOCV: Numerical simulations confirm that the GAMP-based estimators track true LOOCV and extra-sample errors almost perfectly, even near the critical "cusp" ($\alpha \approx 1$) where traditional AIC/TIC fail significantly.
  • Single-Shot Estimation: The derived formulas allow researchers to estimate generalization performance using only the results of the full-data training run, eliminating the need for $M$ separate training cycles.
  • Robustness: The introduction of "cavity variance" corrections allows the estimators to handle correlated and rank-deficient feature matrices effectively, which are common in real-world engineering applications.

Conclusion

This work provides a mathematically rigorous bridge between statistical physics and machine learning, offering a practical solution for error estimation in overparametrized models. While currently focused on Gaussian predictors, the "Gaussian universality" suggests broader applicability. Future research will explore these estimators on highly structured real-world datasets and address the computational overhead of higher-order Hessian calculations in extremely high-dimensional settings.

Summary updated

BibTeX
@article{sakata2023prediction,
  author = {Ayaka Sakata},
  title = {{Prediction Errors for Penalized Regressions based on Generalized Approximate Message Passing}},
  journal = {Journal of Physics A Mathematical and Theoretical},
  year = {2023},
  doi = {10.1088/1751-8121/acb530},
}
Figure