Risk and cross validation in ridge regression with correlated samples

Alexander Atanasov, Jacob A. Zavatone-Veth, Cengiz Pehlevan
2/12/2026

No official code found. Best implementation: Pehlevan-Group/S_transform (13 stars, last commit 2024-10-14).

Abstract

Recent years have seen substantial advances in our understanding of high-dimensional ridge regression, but existing theories assume that training examples are independent. By leveraging techniques from random matrix theory and free probability, we provide sharp asymptotics for the in- and out-of-sample risks of ridge regression when the data points have arbitrary correlations. We demonstrate that in this setting, the generalized cross validation estimator (GCV) fails to correctly predict the out-of-sample risk. However, in the case where the noise residuals have the same correlations as the data points, one can modify the GCV to yield an efficiently-computable unbiased estimator that concentrates in the high-dimensional limit, which we dub CorrGCV. We further extend our asymptotic analysis to the case where the test point has nontrivial correlations with the training set, a setting often encountered in time series forecasting. Assuming knowledge of the correlation structure of the time series, this again yields an extension of the GCV estimator, and sharply characterizes the degree to which such test points yield an overly optimistic prediction of long-time risk. We validate the predictions of our theory across a variety of high dimensional data.

View on arXivView PDF

Code Implementations(1)

Reproducing all figures in upcoming draft

131Jupyter NotebookApr 10, 20242 years ago

Similar Papers

Cite this paper

@article{atanasov2026risk,
  title  = {Risk and cross validation in ridge regression with correlated samples},
  author = {Alexander Atanasov and Jacob A. Zavatone-Veth and Cengiz Pehlevan},
  year   = {2026},
  eprint = {2408.04607},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.04607},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.04607.svg)](https://codeofpaper.com/paper/2408.04607)

Discussion