Stability Regularized Cross-Validation

Ryan Cory-Wright, Andrés Gómez
5/11/2025
math.OCcs.LGstat.ML

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We revisit the problem of ensuring strong test-set performance via cross-validation. Motivated by the generalization theory literature, we propose a nested k-fold cross-validation scheme that selects hyperparameters by minimizing a weighted sum of the usual cross-validation metric and an empirical model-stability measure. The weight on the stability term is itself chosen via a nested cross-validation procedure. This reduces the risk of strong validation set performance and poor test set performance due to instability. We benchmark our procedure on a suite of 13 real-world UCI datasets, and find that, compared to k-fold cross-validation over the same hyperparameters, it improves the out-of-sample MSE for sparse ridge regression and CART by 4% on average, but has no impact on XGBoost. This suggests that for interpretable and unstable models, such as sparse regression and CART, our approach is a viable and computationally affordable method for improving test-set performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{corywright2025stability,
  title  = {Stability Regularized Cross-Validation},
  author = {Ryan Cory-Wright and Andrés Gómez},
  year   = {2025},
  eprint = {2505.06927},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06927v1}
}

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/2505.06927.svg)](https://codeofpaper.com/paper/2505.06927)

Discussion