MLLGAug 6, 2025

The Relative Instability of Model Comparison with Cross-validation

arXiv:2508.04409v1h-index: 1
Originality Incremental advance
AI Analysis

This highlights a critical limitation for researchers and practitioners relying on cross-validation to quantify uncertainty in algorithm comparisons, even with stable algorithms, making it an incremental but important cautionary finding.

The paper tackles the problem of using cross-validation to compare two machine learning algorithms, showing that even when algorithms like soft-thresholded least squares are individually stable, relative stability fails, leading to invalid confidence intervals for test error differences. Empirical results confirm this invalidity for soft-thresholding and Lasso in sparse low-dimensional linear models.

Existing work has shown that cross-validation (CV) can be used to provide an asymptotic confidence interval for the test error of a stable machine learning algorithm, and existing stability results for many popular algorithms can be applied to derive positive instances where such confidence intervals will be valid. However, in the common setting where CV is used to compare two algorithms, it becomes necessary to consider a notion of relative stability which cannot easily be derived from existing stability results, even for simple algorithms. To better understand relative stability and when CV provides valid confidence intervals for the test error difference of two algorithms, we study the soft-thresholded least squares algorithm, a close cousin of the Lasso. We prove that while stability holds when assessing the individual test error of this algorithm, relative stability fails to hold when comparing the test error of two such algorithms, even in a sparse low-dimensional linear model setting. Additionally, we empirically confirm the invalidity of CV confidence intervals for the test error difference when either soft-thresholding or the Lasso is used. In short, caution is needed when quantifying the uncertainty of CV estimates of the performance difference of two machine learning algorithms, even when both algorithms are individually stable.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes