<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>A Modern Theory of Cross-validation Through the Lens of Stability</title></titleStmt>
			<publicationStmt>
				<publisher>Emerald</publisher>
				<date>01/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10688365</idno>
					<idno type="doi">10.1561/3600000005</idno>
					<title level='j'>Foundations and Trends® in Statistics</title>
<idno>2978-4212</idno>
<biblScope unit="volume">1</biblScope>
<biblScope unit="issue">3-4</biblScope>					

					<author>Jing Lei</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Modern data analysis and statistical learning are characterized by two defining features: complex data structures and black-box algorithms. The complexity of data structures arises from advanced data collection technologies and data-sharing infrastructures, such as imaging, remote sensing, wearable devices, and genomic sequencing. In parallel, black-box algorithms—particularly those stemming from advances in deep neural networks—have demonstrated remarkable success on modern datasets. This confluence of complex data and opaque models introduces new challenges for uncertainty quantification and statistical inference, a problem we refer to as ``black-box inference''.The difficulty of black-box inference lies in the absence of traditional parametric or nonparametric modeling assumptions, as well as the intractability of the algorithmic behavior underlying many modern estimators. These factors make it difficult to precisely characterize the sampling distribution of estimation errors. A common approach to address this issue is post-hoc randomization, which includes permutation, resampling, sample splitting, cross-validation, and noise injection. When combined with mild assumptions, such as exchangeability in the data-generating process, these methods can yield valid inference and uncertainty quantification.Post-hoc randomization methods have a rich history, ranging from classical techniques like permutation tests, the jackknife, and the bootstrap, to more recent developments such as conformal inference. These approaches typically require minimal knowledge about the underlying data distribution or the inner workings of the estimation procedure. While originally designed for varied purposes, many of these techniques rely, either implicitly or explicitly, on the assumption that the estimation procedure behaves similarly under small perturbations to the data. This idea, now formalized under the concept of \emph{stability}, has become a foundational principle in modern data science. Over the past few decades, stability has emerged as a central research focus in both statistics and machine learning, playing critical roles in areas such as generalization error, data privacy, and adaptive inference.In this article, we investigate one of the most widely used resampling techniques for model comparison and evaluation---cross-validation (CV)---through the lens of stability. We begin by reviewing recent theoretical developments in CV for generalization error estimation and model selection under stability assumptions. We then explore more refined results concerning uncertainty quantification for CV-based risk estimates. By integrating these research directions, we uncover new theoretical insights and methodological tools. Finally, we illustrate their utility across both classical and contemporary topics, including model selection, selective inference, and conformal prediction.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>exchangeability in the data-generating process, these methods can yield valid inference and uncertainty quantification.</p><p>Post-hoc randomization methods have a rich history, ranging from classical techniques like permutation tests, the jackknife, and the bootstrap, to more recent developments such as conformal inference. These approaches typically require minimal knowledge about the underlying data distribution or the inner workings of the estimation procedure. While originally designed for varied purposes, many of these techniques rely, either implicitly or explicitly, on the assumption that the estimation procedure behaves similarly under small perturbations to the data. This idea, now formalized under the concept of stability, has become a foundational principle in modern data science. Over the past few decades, stability has emerged as a central research focus in both statistics and machine learning, playing critical roles in areas such as generalization error, data privacy, and adaptive inference.</p><p>In this article, we investigate one of the most widely used resampling techniques for model comparison and evaluationcross-validation (CV)-through the lens of stability. We begin by reviewing recent theoretical developments in CV for generalization error estimation and model selection under stability assumptions. We then explore more refined results concerning uncertainty quantification for CV-based risk estimates. By integrating these research directions, we uncover</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The primary goal of data science and statistics is to uncover and understand the underlying structures in observed data. Mathematically, these structures are often represented by a parameter that belongs to a set of possible values known as the parameter space. Because parameter estimates are derived from data subject to random noise, it is crucial to assess their quality and quantify the associated uncertainty.</p><p>There are two widely used approaches for accuracy assessment and uncertainty quantification. The first focuses on measuring the distance between the estimated parameter and the true value, and on characterizing the variability of the estimate around this target. Although conceptually straightforward, this approach typically relies on correct specification and parameterization of the data-generating process, making it sensitive to model misspecification.</p><p>An alternative approach emphasizes evaluating the predictive performance of the estimated parameter on future, unseen data. In his influential paper, <ref type="bibr">Breiman (2001)</ref>, Leo Breiman strongly advocated for this perspective, arguing that prediction should be the central focus of modeling in data science. Within this framework, a key task is to assess the predictive accuracy of a fitted model or parameter on new data points. A fitted model is commonly obtained by minimizing the empirical risk over a class of candidate parameters using training data. However, the model's performance on future data-referred to as the out-of-sample risk or test error-is typically worse than its performance on the training data, known as the in-sample risk or training error. This gap arises because the noise in training data influences both the fitting procedure and the evaluation of in-sample performance. The discrepancy between training and test error, referred to as optimism by <ref type="bibr">Efron (1986)</ref>, has become a central topic in the study of model selection and generalization error in both statistics and machine learning. This article focuses on this predictive performance evaluation approach, as it relies on weaker modeling assumptions and has broader applicability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Cross-validation: A Brief History</head><p>The concept of cross-validation has existed for nearly a century. By definition, the test error can be estimated without bias if an independent dataset is available for evaluating the risk of a fitted model. In practice, this is commonly achieved by splitting the data into two parts: one for model fitting and the other for risk evaluation. This idea of sample splitting is the foundation of cross-validation and can be traced back as early as the 1930s. Larson <ref type="bibr">(Larson, 1931)</ref> was among the first to formally study this approach, noting the inherent optimism in regression analysis and emphasizing the importance of out-of-sample accuracy. As he observed:</p><p>. . . ordinarily the practical employment of a regression equation involves its use with data other than those from which it was derived. Since Larson's initial proposal of sample splitting for out-of-sample risk estimation, the concept of cross-validation (CV) has emerged, evolved, and found application in various contexts. An early and clear formulation of leave-one-out cross-validation was provided by Mosteller and Tukey <ref type="bibr">(Mosteller and Tukey, 1968)</ref>. Building on these developments, CV was later formalized as a general method for model assessment and selection in the works of <ref type="bibr">Stone (1974)</ref> and <ref type="bibr">Geisser (1975)</ref>, which also provide additional historical insights into the use of CV during the 1950s and 1960s. Interestingly, cross-validation originated with an emphasis on predictive accuracy rather than parameter estimation, as captured by Geisser's observation <ref type="bibr">Geisser (1975)</ref>:</p><p>. . . the prediction of observables or potential observables is of much greater relevance than the estimation of what are often artificial constructs-parameters.</p><p>Since the mid-1970s, cross-validation (CV) has continued to find applications across nearly all areas of statistical inference and machine learning. Because CV requires only an estimator and a loss function, it is arguably the most broadly applicable method for assessing and comparing model quality. In contrast, alternative approaches often require specifying a likelihood function and/or a complexity measure for the candidate models. This simplicity has made CV a subject of study in its own right, with significant efforts devoted to understanding and enhancing its theoretical foundations and practical performance. The body of literature on the application, theory, and refinement of CV is extensive; therefore, we do not attempt a comprehensive review in this article. For a thorough survey of the CV literature from the 1970s through the 2010s, readers are encouraged to consult <ref type="bibr">Arlot and Celisse (2010)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">Risk Estimation and Model Selection Properties of CV</head><p>In the theoretical study of cross-validation (CV), two of the most extensively examined properties are risk estimation and model selection.</p><p>Risk estimation refers to the ability to quantify the predictive risk of a fitted model on future, unseen data. Alternatively, one might consider the estimation risk relative to a true underlying parameter, which requires assuming the existence of a true model for the datagenerating process. In this article, we focus on predictive risk estimation, also known as generalization error estimation in the machine learning literature.</p><p>General results of CV risk consistency mostly rely on empirical process theory <ref type="bibr">(Devroye, 1988;</ref><ref type="bibr">Vaart et al., 2006;</ref><ref type="bibr">Lecu&#233; and Mitchell, 2012)</ref>. Results in specific regression settings include nonparametric regression and density estimation <ref type="bibr">(Devroye and Lugosi, 2001;</ref><ref type="bibr">Gy&#246;rfi et al., 2006)</ref> and the Lasso <ref type="bibr">(Homrighausen and McDonald, 2017)</ref>.</p><p>Model selection concerns the ability to identify the best, or nearly the best, model from a set of candidates. This task is often divided into two variants: (i) identifying the true model that generated the data, and (ii) selecting the model with the best predictive performance, regardless of whether a true model exists within the candidate set. These are referred to as model selection for identification and model selection for estimation, respectively, in <ref type="bibr">Arlot and Celisse (2010)</ref>. Our focus in this article is primarily on the latter, as it requires fewer assumptions and subsumes the identification problem as a special case when the true model yields the smallest predictive risk.</p><p>The model selection properties of CV are generally more challenging to analyze. Early theoretical results indicate that conventional versions of CV-such as leave-one-out and K-fold CV-can be inconsistent even in simple linear regression settings <ref type="bibr">(Zhang, 1993;</ref><ref type="bibr">Shao, 1993)</ref>. These inconsistencies were later extended to more general frameworks in <ref type="bibr">Yang (2007)</ref>. The underlying reason is intuitive: standard CV procedures struggle to distinguish between the best parametric model and a slightly overfitting alternative, as both models tend to have estimation errors on the order of 1/ &#8730; n. Evaluating their performance on a sample of size O(n) leads to a constant-order probability of selection error. To address this limitation, CV must be applied in a nonstandard way using a vanishing fraction of the data for model fitting and the remainder for risk evaluation.</p><p>Additionally, it has been widely observed that CV often favors models with slight under-smoothing. While such models may yield near-optimal predictive accuracy, they frequently suffer from reduced interpretability. To counteract this under-regularization tendency, several heuristic adjustments have been proposed, including the ".632 bootstrap" <ref type="bibr">(Efron and Tibshirani, 1997)</ref> and the "1-standard-deviation rule" <ref type="bibr">(Tibshirani and Tibshirani, 2009)</ref>. Other examples and variants include <ref type="bibr">Yu and Feng (2014)</ref> and <ref type="bibr">Feng and Yu (2019)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3">Stability and Cross-validation</head><p>In a seminal work, <ref type="bibr">Bousquet and Elisseeff (2002)</ref> established the risk estimation consistency of cross-validation (CV) under the assumption of algorithmic stability. Broadly speaking, stability refers to the property that the output of a learning algorithm remains relatively unchanged when small perturbations are made to the training data. This notion is closely related to robustness <ref type="bibr">(Huber and Ronchetti, 2011)</ref> and aligns with the concept of sensitivity in differential privacy <ref type="bibr">(Dwork and Lei, 2009;</ref><ref type="bibr">Dwork and Roth, 2014)</ref>. As a technical condition, stability is natural and often satisfied by reasonable estimators and learning procedures.</p><p>The significance of <ref type="bibr">Bousquet and Elisseeff (2002)</ref> lies in demonstrating that stability alone can yield meaningful guarantees for CV-based risk estimates-without the need for complexity measures or empirical process theory. Subsequent work has further cemented stability as a central concept in modern statistical learning. Notably, it has been linked to learnability <ref type="bibr">(Shalev-Shwartz et al., 2010;</ref><ref type="bibr">Wang et al., 2016)</ref> and plays an important role in broader statistical methodology <ref type="bibr">(Yu, 2013;</ref><ref type="bibr">Yu and Kumbier, 2020)</ref>. Leveraging stability assumptions, <ref type="bibr">Zhang and Lei (2023)</ref> extended the model selection consistency results of <ref type="bibr">Yang (2007)</ref> to an online variant of cross-validation.</p><p>Another major theoretical advancement was contributed by <ref type="bibr">Bayle et al. (2020)</ref> and <ref type="bibr">Austern and Zhou (2024)</ref>, who established central limit theorems for CV-based risk estimates under general stability conditions. These results enable the construction of confidence sets for the best candidate model, as further developed in <ref type="bibr">Lei (2020)</ref> and <ref type="bibr">Kissel and Lei (2022)</ref>, connecting cross-validation to the model confidence set literature.</p><p>In the context of model confidence sets, the goal is not to identify a single best model, but to find the subset of models whose predictive risks are statistically indistinguishable from the minimum. This inferential target has a rich history in econometrics and statistics <ref type="bibr">(Jiang et al., 2008;</ref><ref type="bibr">Hansen et al., 2011;</ref><ref type="bibr">Gunes and Bondell, 2012;</ref><ref type="bibr">Ferrari and Yang, 2015)</ref>.</p><p>Model confidence sets are especially useful when model selection consistency is difficult to achieve, such as in settings with a limited signal-to-noise ratio. They offer a flexible and uncertainty-aware alternative to point selection and can be viewed as a rigorous counterpart to heuristic CV adjustments mentioned above. For instance, <ref type="bibr">Lei (2020)</ref> showed that selecting the most parsimonious model from the CV-based confidence set can yield consistent model selection in classical problems-such as best subset selection in linear regression-where standard K-fold CV fails.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.4">Cross-validation Beyond Model Selection and Evaluation</head><p>Beyond model comparison and selection, the cross-validation principleestimating a parameter and evaluating a functional on disjoint subsamples-has played a pivotal role in nonparametric functional estimation and semiparametric inference.</p><p>Consider a general setup where the goal is to estimate the expected value of g(X; &#181;)-denoted as &#185; = E[g(X; &#181;)]-from independent and identically distributed (i.i.d.) observations (X 1 , . . . , X n ), where g(&#8226;, &#8226;) is a known function and &#181; is a (possibly infinite-dimensional) parameter of the data-generating distribution. For example, if X i is a one-dimensional variable with unknown density f (x), and we define &#181; = f , g(x, &#181;) = log &#181;(x), then &#185; = -E[log f (X)] corresponds to the entropy of the distribution.</p><p>A common strategy for estimating such a functional is through influence function-based methods. This involves identifying an influence function &#966;(x) associated with the functional &#185;, and estimating it from data. The final estimator takes the form of a sample average:</p><p>where &#966; is a data-driven approximation of &#966;. Since &#966; depends on the data, inference must account for this randomness. A widely adopted solution is cross-fitting, which, like CV, uses disjoint subsamples to separately estimate &#966; and evaluate its expectation. This idea dates back to early work in nonparametric and semiparametric statistics <ref type="bibr">(Hasminskii and Ibragimov, 1979;</ref><ref type="bibr">Pfanzagl, 1985;</ref><ref type="bibr">Schick, 1986;</ref><ref type="bibr">Bickel and Ritov, 1988)</ref>, and has been extensively developed in recent literature <ref type="bibr">(Chernozhukov et al., 2019;</ref><ref type="bibr">Kennedy, 2024)</ref>.</p><p>In cross-fitting, a crucial requirement is that the estimated influence function &#966; converges sufficiently fast to a well-defined target &#966;. However, with the advent of algorithmic stability, it has been shown that explicit sample-splitting may not be necessary if &#966; is stable <ref type="bibr">(Chen et al., 2022)</ref>. More recently, <ref type="bibr">Zhang et al. (2024)</ref> demonstrated that even when &#966; does not converge to a fixed parameter, stability can still suffice to ensure valid one-sided inference for the target functional.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.5">Outline of This Article</head><p>In Section 2, we introduce the foundational setup of cross-validation along with the relevant stability conditions, and present the risk consistency and concentration results established by <ref type="bibr">Bousquet and Elisseeff (2002)</ref>. In addition, we provide a collection of general probabilistic tools concerning sub-Weibull random variables and their concentration properties. These tools can be used to extend the results of <ref type="bibr">Bousquet and Elisseeff (2002)</ref> to settings involving more general, potentially unbounded loss functions. As such, they will serve as a key component in the analysis presented in subsequent sections.</p><p>In Section 3, we present results on the model selection consistency of cross-validation. We begin with batch mode, revisiting the consistency result of <ref type="bibr">Yang (2007)</ref>, and provide a simplified proof. As an extension, we introduce an online model selection framework and propose an online variant of cross-validation <ref type="bibr">(Zhang and Lei, 2023)</ref>. While this online method resembles classical leave-one-out cross-validation-which is known to be inconsistent in the batch setting-it can, somewhat unexpectedly, achieve consistent model selection under appropriate stability conditions.</p><p>Section 4 focuses on central limit theorems (CLTs) for cross-validation risk estimates. We begin by presenting the CLT results under two different centering schemes, originally developed by <ref type="bibr">Bayle et al. (2020)</ref> and <ref type="bibr">Austern and Zhou (2024)</ref>, while streamlining and simplifying some of the proofs. In our treatment of the deterministic centering results, several technical conditions from the original work are either weakened or removed. We also unify the two centering approaches by identifying a condition under which they become equivalent. Finally, we discuss the extensions in <ref type="bibr">Kissel and Lei (2022)</ref>, which develop high-dimensional Gaussian approximation results in the spirit of <ref type="bibr">Chernozhukov et al. (2013)</ref> and <ref type="bibr">Chernozhukov et al. (2022)</ref>.</p><p>Section 5 presents several important applications of the theoretical developments in Section 2 and Section 4 across various contexts. The first application introduces a model confidence set based on Gaussian comparisons of CV risk estimates, representing a methodological advancement that emphasizes constructing confidence intervals for the differences in model performance, rather than for each model individually. Building on this framework, we establish a model selection consistency result for selecting the most parsimonious model within the K-fold CV model confidence set, offering a principled correction for the well-documented overfitting tendency of CV. In Section 5.3, we leverage the CLT results to propose a novel method for high-dimensional mean testing, providing a simple alternative to selective inference techniques. Extending this line of inquiry, Section 5.4 presents a procedure for constructing confidence sets for the location of the minimum entry in a vector observed with noise. Finally, in Section 5.5, we establish an asymptotic coverage guarantee for the cross-conformal prediction method under appropriate stability conditions.</p><p>Section 6 presents several examples of stable estimators. Sections 6.1 and 6.2 focus on the stochastic gradient descent (SGD) algorithm under general regularity conditions, providing batch-mode stability results needed for theorems in Sections 2 and 4. Section 6.3 examines the stability of the difference between two competing estimators in a prototypical nonparametric regression setting. Finally, Section 6.4 explores the stability properties of various SGD variants in the online setting, as required for the online model selection consistency results in Section 3.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.6">Other Related Topics</head><p>This article focuses on recent developments in cross-validation theory, particularly through the lens of stability conditions. While cross-validation is a widely used tool for model selection and risk estimation, it is by no means the only approach. Classical alternatives include regularized likelihood and data compression-based methods, such as used notation and symbols for the reader's convenience. The notation specifically related to the sample-splitting scheme of cross-validation is introduced in Section 2.1.</p><p>&#8226; We use (X i : i g 0) to denote an infinite sequence of i.i.d.</p><p>(independent and identically distributed) sample points, and D n = (X i : 1 f i f n) the dataset consisting of the first n sample points.</p><p>&#8226; X denotes the space of a single sample point, and X &#185;n the n-fold product space, so that D n &#8712; X &#185;n .</p><p>&#8226; For a positive integer n, [n] := {1, 2, ..., n}.</p><p>&#8226; E X (&#8226;) means taking expectation over the randomness of X, conditioning on everything else.</p><p>&#8226; R d denotes the d-dimensional Euclidean space.</p><p>&#8226; &#8741; &#8226; &#8741; q denotes the L q -norm of a random variable. More concretely, &#8741;X&#8741; q = (E|X| q ) 1/q if 1 f q &lt; &#8734;, and &#8741; &#8226; &#8741; &#8734; is the essential supremum of a random variable. For a function h acting on a random variable X, &#8741;h&#8741; q,X = &#8741;h(X)&#8741; q .</p><p>&#8226; &#8741; &#8226; &#8741; denotes the Euclidean, Hilbert, or Banach-space norm, depending on the context, and &#8741; &#8226; &#8741; op denotes the operator norm of a matrix or linear operator.</p><p>&#8226; For two non-random sequences a n and b n such that b n g 0, , where c n is a finite-degree polynomial of log n and perhaps the logarithm of other model quantities such as the dimensionality of the data and/or the number of models being compared.</p><p>&#8226; P &#8594; denotes convergence in probability.</p><p>&#8226; &#8669; denotes convergence in distribution.</p><p>&#8226; For two random variables U , V defined on the same space and q g 1, d Wq (U, V ) denotes the Wasserstein-q distance between U and V .</p><p>&#8226; For two sequences of possibly random variables U n and V n such that V n g 0,</p><p>&#8226; For a positive integer m: S m-1 denotes the (m -1)-dimensional simplex in R m : {(w 1 , ..., w m ) &#8712; R m : w r g 0, m r=1 w r = 1}.</p><p>&#8226; For a smooth function h defined on a Euclidean or Hilbert space, &#7715;(&#8226;) and &#7719;(&#8226;) denote the gradient and Hessian of h, respectively.</p><p>In applications of cross-validation, the estimation of f may be carried out on datasets with different sizes. To keep track of the potentially varying fitting sample size, we consider a collection of estimators indexed by different sample sizes. Let f : &#8734; n=1 X &#185;n &#8594; F be an estimation procedure that maps a sample of any size to the parameter space. We assume that f is permutation invariant (or symmetric).</p><p>Definition 2.1 (Symmetric Estimator). We say an estimator f :</p><p>Let &#8467; : X &#215; F &#8594; [-&#8734;, &#8734;] be a loss function used to evaluate the quality of model fit. This notation covers both supervised learning and unsupervised learning.</p><p>Examples in supervised learning include regression and classification.</p><p>&#8226; Classification: X = (Y, Z) &#8712; {0, 1} &#215; R p , and f is a function mapping Z to [0, 1] that predicts the conditional probability of Y = 1 given Z. A common choice of &#8467; in classification is the negative logistic likelihood &#8467; <ref type="bibr">((y, z)</ref></p><p>Examples in unsupervised learning include principal components analysis and mixture models.</p><p>&#8226; Principal components analysis (PCA):</p><p>where &#8741; &#8226; &#8741; denotes the Euclidean norm.</p><p>&#8226; Mixture models: X &#8712; R p , f is a density function (e.g., in a reproducing kernel Hilbert space or a Gaussian mixture), and</p><p>The overall quality of a fitted model f under the loss function &#8467;</p><p>Here the notation E X (&#8226;) means taking conditional expectation over the randomness of X only. We will often consider the risk of a fitted model f = f (D n ), which is obtained by applying the fitting procedure f to the input dataset D n . To simplify notation, we write</p><p>when there is no ambiguity on the fitting procedure.</p><p>Under such a setting, there are two natural quantities of interest. The first is R(D n ), the risk of the estimated parameter obtained by applying a particular fitting procedure f to the fitting dataset D n . This is a random quantity, because it depends on the random fitting dataset D n . Another quantity of interest is the population version of R(D n ):</p><p>which is a deterministic quantity that depends only on the fitting procedure f , the data distribution P X , and the sample size n.</p><p>Neither R(D n ) nor &#181; n can be straightforwardly estimated without additional assumptions, such as uniform convergence over the function class or, as we will see later this article, stability of f .</p><p>A common challenge in estimating the risk R(D n ) or the average risk &#181; n is to handle simultaneously the randomness in f (D n ) (estimation) and in approximating the risk of f (D n ) (evaluation). The cross-validation technique does this by splitting the dataset to create a holdout sample for empirical evaluation of the risk, and further reducing the estimation variability by repeated sample splitting. In this article, we focus on the commonly used K-fold cross-validation estimate, described as follows.</p><p>1. Fix K such that n te := n/K, the test subsample size, is an integer. <ref type="foot">2</ref>Let n tr = nn te be the training subsample size.</p><p>2. For k = 1, ..., K, let I n,k = {n te (k -1) + 1, ..., n te k} be the indices of the kth fold of the data, D n,k = {X i : i &#8712; I n,k } be the corresponding kth fold of the data, and</p><p>We may drop the dependence on n and K and simply write Rcv . We will consider the following two cases.</p><p>&#8226; K = O(1). This corresponds to the commonly used 5-fold or 10-fold CV.</p><p>The most typical case is K = n, which corresponds to the leave-one-out (LOO) CV.</p><p>While we might intuitively expect Rcv,n,K to approximate R(D n ) or &#181; n , it is important to note that, by construction, Rcv represents the risk of models trained on samples of size n tr rather than n, since each term in (2.2) is a loss evaluated at a parameter estimate fitted on a dataset of size n tr .</p><p>With a sample size n tr , the counterpart of &#181; n is simply &#181; ntr . But for the risk of the fitted model R(D), the CV procedure creates a total of K versions at the sample size n tr : {R(D n,-k ) : 1 f k f K}. Hence the counterpart of R(D n ) at sample size n tr targeted by the CV risk estimate Rcv,n,K in (2.2) should be their average:</p><p>It is straightforward to check that Rcv,n,K is unbiased for Rcv,n,K and &#181; ntr , in the sense that E( Rcv,n,K ) = E Rcv,n,K = &#181; ntr . The following picture describes the chain of approximation among the quantities of interest. Rcv,n,K</p><p>--&#8594; Rcv,n,K</p><p>where the approximation in each arrow has its own interpretation.</p><p>(a) : the sampling variability in the evaluation of empirical risk;</p><p>(b,b &#8242; ) : the concentration of the risk of estimated models around the expected value;</p><p>(c) : the continuity of the average risk as the sample size changes.</p><p>As we will see in this article, all three approximations can be established using appropriate stability conditions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Stability Conditions</head><p>Now we describe the specific notions of stability to be considered in this article. Intuitively, stability refers to a form of continuity of the fitting procedure f , such that f (D) &#8776; f (D &#8242; ) whenever D &#8776; D &#8242; . Because f is random, stability must be stated in a stochastic manner, such as via a norm or tail-probability bound on a random variable. We will consider two particular types of pairs (D, D &#8242; ) that are close to each other. In the first, D &#8242; is obtained by removing one element in D. Recall that D n = {X 1 , ..., X n } consists of a collection of i.i.d. sample points. We can use D n-1 to denote the dataset obtained by removing one sample point from D n . This leads to the leave-one-out stability.</p><p>a function that maps a dataset of any size and an auxiliary input in [0, 1] to a real number. For q &#8712; [1, &#8734;], define the Leave-One-Out L q stability (LOO-L q ) of h at sample size n as</p><p>In this definition, we allow h to involve additional randomness besides the dataset D n , through U &#8764; Unif(0, 1). There is no loss of generality by assuming U &#8764; Unif(0, 1) since we can use U to generate random vectors of arbitrary distribution. In particular, this definition covers the loss function &#8467;(X 0 , D n ), which involves the random evaluation point X 0 . For example, in Theorem 2.1 below, we will consider S loo q,n (&#8467;(X 0 , &#8226;)), which equals &#8741;&#8467;(X 0 , D n )&#8467;(X 0 , D n-1 )&#8741; q , where the &#8467; q norm is with respect to the joint randomness of the n + 1 independent sample points X 0 , ..., X n .</p><p>In another type of neighboring pairs (D, D &#8242; ), D &#8242; is obtained by replacing one entry of D by an i.i.d. copy. For each i &#8712; {0, 1, ..., n} we let X &#8242; i be an i.i.d. copy of X i , independent of everything else. For any i &#8712; [n] and function h : &#8734; n=1 X &#185;n &#8594; R 1 which may involve additional randomness, we define the perturb-one difference operator</p><p>where D i n is obtained by replacing the ith entry of D n by X &#8242; i . The perturb-one stability is defined as follows.</p><p>Definition 2.3 (Perturb-One Stability in L q -Norm). Let h : [0, 1] &#215; &#8734; n=1 X &#185;n &#8594; R 1 be a function that maps a dataset of any size and an auxiliary input in [0, 1] to a real number. For q &#8712; [1, &#8734;], define the Perturb-One L q (PO-L q ) stability of h at sample size n as</p><p>where U &#8764; Unif(0, 1) is independent of D n .</p><p>Although from a practical point of view the difference is not substantial, mathematically the Perturb-One stability is weaker than the Leave-One-Out stability. Roughly speaking, Perturb-One Stability only requires that each individual sample point contributes a small proportion to the output, while Leave-One-Out stability also requires continuity with respect to sample size. In particular, a simple application of triangle inequality implies that the PO-L q stability is no larger than twice the LOO-L q stability . Proposition 2.1 (LOO Stability &#8658; PO Stability). S po q,n (h) f 2S loo q,n (h).</p><p>Conversely, PO-L q stability does not necessarily imply LOO-L q stability. For example, consider the following h which does not use the auxiliary input:</p><p>Clearly, h satisfies PO-L q stability at rate O(1/n) whenever &#8741;X 1 &#8741; q &lt; &#8734; but h does not satisfy LOO-L q stability at the same rate.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Risk Consistency of LOOCV</head><p>Now we present a risk consistency result for the leave-one-out cross-validation under the LOO-L q stability condition of the loss function.</p><p>Theorem 2.1. Let 1 f q f r f &#8734; be such that 1/q + 1/r = 1. Assume the estimator f is symmetric, the loss function has bounded L r -norm:</p><p>The proof of Theorem 2.1 is quite elementary and elegant. The key step is a "label-swapping trick" that makes use of the symmetry of data, which further leads to the application of the stability condition.</p><p>Proof. The proof is based on a direct expansion of the squared difference between Rcv,n,n and R(D n ):</p><p>Next, we expand each of the three terms.</p><p>For the first term, we have</p><p>For the second term, we have, by definition of Rcv,n,n , symmetry of f and exchangeability of sample points,</p><p>(2.8)</p><p>For the third term, note that the assumptions 1 f q f r f &#8734; and 1/q + 1/r = 1 imply that r g 2, so</p><p>where the first inequality uses the fact that |&#8467;</p><p>, and symmetry of f and the data points. Putting (2.7), (2.8), and (2.9) in (2.6), we obtain</p><p>(2.10)</p><p>Recall that D i n is the perturb-one dataset obtained by replacing the ith entry of D n by an i.i.d. copy X i . We have the following key equation (the "label-swapping trick"). <ref type="bibr">(2.11)</ref> where the first equality holds due to exchangeability between X 1 and X &#8242; 1 , and the second equality holds due to exchangeability between X &#8242; 0 and X 1 . As a result,</p><p>By the LOO-L q stability of &#8467;(X 0 , D n ) we have</p><p>and by triangle inequality</p><p>Thus H&#246;lder's inequality implies that</p><p>A similar treatment of swapping X 2 , X &#8242; 2 , and X 0 in the term</p><p>leads to the same upper bound of 3B&#1013; n . Therefore the RHS of (2.10) is bounded by 6B&#1013; n , which leads to the claimed result.</p><p>The "label-swapping trick" (2.11) is a special case of a more general technique called the "free nabla trick" (Theorem 4.11). Besides its crucial role in proving CLTs for CV risk estimates, the free nabla trick also allows us to extend Theorem 2.1 by providing upper bounds on | Rcv,n,K -Rcv,n,K | for general values of K under a Perturb-One stability condition. An application of this upper bound is presented in Section 5.5, in the context of conformal prediction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">Concentration of CV Risk Estimate</head><p>Theorem 2.1 gives a general consistency result for the LOO-CV risk estimates. In this subsection, we study the concentration bounds for such estimates. The main challenge is that many mean-zero terms that disappear under expectation or are combined in the proof of Theorem 2.1, such as those in (2.7) and (2.8), have complicated correlations that contribute to the random fluctuation of Rcv,n,n around R(D n ). Therefore, we will need stronger stability conditions to establish exponential concentration inequalities for CV risk estimates.</p><p>The starting point is the following well-known bounded-difference concentration result.</p><p>Theorem 2.2 (McDiarmid's Inequality). For any function h that maps D n to a real number, if there exist constants c 1 , ..., c n such that |&#8711; i h| f c i almost surely for each i &#8712; [n], then</p><p>The bounded difference condition in McDiarmid's inequality corresponds to the PO-L &#8734; bound. Therefore, we consider the following perturb-one stability in the L &#8734; -norm condition on the loss function of the fitted model:</p><p>(2.12)</p><p>Again, in this subsection, we focus on the LOO-CV, where K = n and D n,-i denotes the dataset obtained by removing the ith entry.</p><p>Under condition (2.12), for any</p><p>Therefore,</p><p>then the triangle inequality implies that Rcv,n,n satisfies the bounded difference assumption in McDiarmid's inequality with c i = 2Bn -1 + &#1013; n . Therefore, we have the following result. Proposition 2.2. Assume &#8741;&#8467;(X 0</p><p>1. If the loss function &#8467;(&#8226;, &#8226;) and fitting procedure f satisfy (2.12), we have, for any t &gt; 0,</p><p>2. If the loss function &#8467;(&#8226;, &#8226;) and fitting procedure f satisfy S loo &#8734;,n (&#8467;(X 0 , f (&#8226;))) f &#1013; n , then we have, for any t &gt; 0,</p><p>and</p><p>In other words, Rcv,n,n concentrates around &#181; n at an O(n -1/2 + n 1/2 &#1013; n ) scale and a sub-Gaussian tail. This result can be extended to general K-fold cross-validation to bound | Rcv,n,K&#181; ntr |.</p><p>Remark 2.1. The concentration bounds based on McDiarmid's inequality presented in Proposition 2.2 have a much stronger requirement on the stability bound &#1013; n than in the consistency result Theorem 2.1. In the consistency result, Theorem 2.1 implies that Rcv,n,n -R(D n ) = o P (1) as long as &#1013; n = o(1). In contrast, the concentration results in Proposition 2.2 require &#1013; n = o(n -1/2 ) in order to have a vanishing bound. Such a difference reflects the subtle nature of the dependence between the cross-validated losses, which is a major challenge in uncertainty quantification for CV model evaluation and comparison.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5">Extensions to Sub-Weibull Stability</head><p>The concentration result Proposition 2.2 requires the perturb-one loss stability to be uniformly bounded, which may be too restrictive, as it precludes many common scenarios involving unbounded support, such as linear regression with Gaussian noise under the squared loss. Unlike the consistency result, which can avoid the uniform bound condition by leveraging different combinations of conjugate indices in H&#246;lder's inequality, relaxing the L &#8734; -norm stability assumption in the concentration result is less straightforward, as it typically requires extending the bounded-difference inequality to the case of infinite support. Here, we present an approach based on sub-Weibull tail conditions. Some results and properties of sub-Weibull random variables may be of more general interest.</p><p>Definition 2.4 (Sub-Weibull Random Variables). For a pair of fixed positive real numbers (&#187;, &#179;), we say a random variable Z is (&#187;, &#179;)-sub-Weibull (or (&#187;, &#179;)-SW) if</p><p>The definition of sub-Weibull random variables is concerned with the tail behavior. It involves two parameters: a scaling parameter &#187; and an exponent parameter &#179;. A larger &#179; corresponds to a heavier tail. In particular, a random variable Z is (&#187;, &#179;)-SW if and only if (Z/&#187;) 1/&#179; has a sub-exponential tail. The sub-Gaussian tail condition with standard deviation &#187; corresponds to (&#187;, 1/2)-SW, and the subexponential condition corresponds to (&#187;, 1)-SW. It may also be helpful to interpret the extreme case of &#179; = 0 as uniformly bounded.</p><p>Like sub-Gaussian and sub-exponential tail conditions, we can bound the L q -norms of a sub-Weibull random variable proportionally to the scale parameter.</p><p>Proposition 2.3 (Sub-Weibull Condition in L q -Norm). If a random variable Z satisfies (2.13) then</p><p>In most cases, we will only focus on the rates of the scale parameters of sub-Weibull residual terms and usually do not distinguish two scaling parameters differing by a constant factor. Therefore, we will use the two sub-Weibull conditions (2.13) and (2.14) interchangeably.</p><p>Proof of Proposition 2.3. For q g 1,</p><p>where &#915;(z) = &#8734; 0 t z-1 e -t dt is the gamma function. So for q g 1 we have</p><p>If 1 f k &lt; &#179;, then by Jensen's inequality</p><p>So in either case we have</p><p>Now using k! g (k/e) k for all k g 1 we have</p><p>. We have by Markov's inequality applied to e (&#188;|Z|) 1/&#945; for any t &gt; 0</p><p>The sum and product of sub-Weibull random variables are also sub-Weibull, with the scale parameter preserved through the sum and product, and a slightly different exponent parameter.</p><p>Proof. For the first part, take r, s &gt; 1 such that 1/r + 1/s = 1</p><p>where the last inequality follows from minimizing r &#179; 1 s &#179; 2 over all (r, s) such that 1/r + 1/s = 1, which is achieved at r</p><p>For the second part,</p><p>The third part is a direct consequence of Jensen's inequality.</p><p>To prove the fourth part, without loss of generality we assume Z 1 g 0 almost surely. Let q g 1 be a positive number. Consider two cases. First, if 1 f q &lt; 1/&#180;, then</p><p>&#180;.</p><p>Second, if q g 1/&#180;then</p><p>&#180;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>So in either case we have &#8741;Z</head><p>&#180;.</p><p>The following result will be useful in providing tail probability bounds for a collection of sub-Weibull random variables.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Lemma 2.3 (Maximal Inequality).</head><p>Let Z 1 , ..., Z m be (&#187;, &#179;)-SW random variables. Then there exists a constant c &#179; depending only on &#179;, such that max <ref type="bibr">Vaart and Wellner (1996)</ref> implies that, for another c &#8242; &#179; , max i Zi /(c &#8242; &#179; log m) is sub-exponential, i.e., max i Zi is (c &#8242;&#8242; &#179; log m, 1)-SW for another constant c &#8242;&#8242; &#179; . Therefore, the claimed result follows from Part (4) of Proposition 2.4. Now we return to the bounded-difference concentration inequality. For a function h acting on a dataset D n consisting of i.i.d. sample points, we want to generalize McDiarmid's inequality by establishing concentration of h(D n ) around its mean value under sub-Weibull tail conditions of the perturb-one differences &#8711; i h(D n ).</p><p>We begin with the standard martingale decomposition of h(D n ). With the convention D 0 = &#8709;, we have</p><p>(2.15)</p><p>Similar to the proof of McDiarmid's inequality, the summand {E(&#8711; i h(D n )|D i ) : 1 f i f n} is a martingale increment sequence adapted to the filtration of &#195;-fields generated by {D i : 1 f i f n}. On the other hand, Part (3) of Proposition 2.4 implies that if all the differences</p><p>are also sub-Weibull. However, a direct application of Part (2) of Proposition 2.4 may not yield a useful upper bound, since the resulting scaling parameter may involve n in an undesirable way.</p><p>The following theorem offers a good upper bound for sums of martingale increments with sub-Weibull tails.</p><p>Theorem 2.4 <ref type="bibr">(Rio's Inequality)</ref>. Let q g 2 and (S n ) ng0 be a sequence of random variables with finite L q -norm. Let</p><p>We refer readers to <ref type="bibr">Rio (2009)</ref> for the proof of Theorem 2.4. Using Rio's inequality we can prove a bounded difference inequality under sub-Weibull conditions. Theorem 2.5 (Sub-Weibull Difference Concentration). Let h be a realvalued function acting on X &#185;n and D n a set of n independent sample points in</p><p>Using Rio's inequality and the sub-Weibull condition of</p><p>The claim holds since (2/q) f 2.</p><p>This result shows that h(D n ) deviates from the mean value on the correct order of &#187; 2 1 + ... + &#187; 2 n . The original McDiarmid's inequality can be stated as a special case of Theorem 2.5 with &#179; i = 0 and c i = &#187; i . Now we have a concentration inequality for cross-validation risk estimates under a relaxed version of perturb-one stability. Definition 2.5 (Perturb-One Sub-Weibull Stability). Let h : [0, 1] &#215; &#8734; n=1 X &#185;n &#8594; R 1 be a function that maps a dataset of any size and an auxiliary input in [0, 1] to a real number. We say h satisfies the Perturb-One Sub-Weibull (PO-SW) stability with parameter (&#187; n , &#179;)</p><p>Theorem 2.6 (Concentration of LOO-CV Risk Under Sub-Weibull Stability). Assuming i.i.d. data, if &#8467;(X 0 , &#8226;) satisfies PO-SW stability with parameter (&#1013; n , &#179;) at sample size n-1, and &#8467;(X</p><p>Proof of Theorem 2.6. By definition</p><p>Using the triangle inequality and the sub-Weibull moment bound we have for q g 1</p><p>Then the claimed result follows from Theorem 2.5.</p><p>Theorem 2.6 shows that the LOO-CV risk estimate concentrates around the mean value at essentially the same rate as in Proposition 2.2, with the same dependence, up to constant factors, on (B, &#1013; n ). We will revisit sub-Weibull stability in Section 4.3 when proving highdimensional Gaussian comparison for cross-validated risks.</p><p>Similar to Theorem 2.1 and Proposition 2.2, the concentration result under sub-Weibull stability in Theorem 2.6 can be extended to bound | Rcv,n,K&#181; ntr | in general K-fold CV.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.6">Bibliographic Notes</head><p>The point estimation target of cross-validation is studied in <ref type="bibr">Bates et al. (2024)</ref>. The random target Rcv,n,K also appeared as the "random centering" in central limit theorems of cross-validation <ref type="bibr">(Austern and Zhou, 2024;</ref><ref type="bibr">Bayle et al., 2020)</ref>, and was used as an intermediate inference target for the construction of model confidence sets using cross-validation <ref type="bibr">(Lei, 2020;</ref><ref type="bibr">Kissel and Lei, 2022)</ref>.</p><p>The main consistency and concentration results, Theorem 2.1 and Proposition 2.2, are based on <ref type="bibr">Bousquet and Elisseeff (2002)</ref>. Other important contributions to the study of stability and generalization error include <ref type="bibr">Kutin and Niyogi (2002)</ref>, who developed similar generalization error bounds in parallel to <ref type="bibr">Bousquet and</ref><ref type="bibr">Elisseeff (2002), and</ref><ref type="bibr">Shalev-Shwartz et al. (2010)</ref> and <ref type="bibr">Wang et al. (2016)</ref>, who established the connection between stability and generalization error in a broader context of empirical risk minimization. More recently, <ref type="bibr">Bousquet et al. (2020)</ref> obtained sharper generalization error bounds under uniform stability.</p><p>The stability conditions introduced in Definitions 2.2, 2.3 and 2.5 are most directly relevant to the theoretical study of cross-validation. Alternative stability conditions have been considered in the study of other predictive inference tools. For example, <ref type="bibr">Barber et al. (2021)</ref> and <ref type="bibr">Liang and Barber (2023)</ref> used a notion of "out-of-sample stability" and a high-probability version of leave-one-out stability to analyze several variants of conformal prediction methods.</p><p>More discussion and details about sub-Weibull random variables can be found in <ref type="bibr">Vladimirova et al. (2020)</ref> and <ref type="bibr">Kuchibhotla and Chakrabortty (2022)</ref>. The combination of L q -norm upper bound for martingale increments (Theorem 2.4) and sub-Weibull difference (Theorem 2.5) originated from personal communication with Arun Kumar Kuchibhotla, and a similar form has appeared in Appendix B of <ref type="bibr">Kuchibhotla et al. (2023)</ref>. Alternative approaches to proving extensions of McDiarmid's inequality using high-probability bounded differences can be found in <ref type="bibr">Kutin (2002)</ref> and <ref type="bibr">Combes (2024)</ref>.</p><p>In this article, we consider generic cross-validation methods applied to an arbitrary learning algorithm f under stability conditions. Parameter estimation and risk consistency results for cross-validation have been established for specific estimators under more specific conditions, such as the lasso <ref type="bibr">(Homrighausen and McDonald, 2017;</ref><ref type="bibr">Chetverikov et al., 2021)</ref>, ridge regression <ref type="bibr">(Patil et al., 2021)</ref>, and gradient-descent least squares regression <ref type="bibr">(Patil et al., 2024)</ref>.</p><p>In this section, we consider another key application of cross-validation: model and tuning parameter selection. The overarching goal of inference in this context is to choose, from a finite collection of candidate models, one that best fits the data.</p><p>We adopt the perspective of model selection for estimation (see Section 1.2 and references therein), in which we neither assume that the true model is included in the candidate set nor require the existence of a true model at all. Instead, each candidate model is viewed as a specific procedure for producing a function that predicts future data points, and a good model is one that yields accurate predictions. In other words, in our context of model selection, each "model" simply corresponds to a particular estimator of an underlying parameter of the data-generating distribution, which further leads to a procedure for predicting future, unseen data.</p><p>This framework imposes minimal assumptions on both the datagenerating process and the model-fitting procedures, capturing the flexibility and broad applicability of cross-validation. All that is required is an i.i.d. sample, a loss function, and a collection of fitting procedures. Notably, this setup also encompasses tuning parameter selection, and for simplicity, we will refer to both tasks under the umbrella of "model selection." 423</p><p>Using the notation and terminology in Section 2.1, assume we have a collection of symmetric estimators { f (r) : 1 f r f m}, where for each r &#8712; M = {1, ..., m}, f (r) : &#8734; n=1 X &#185;n &#8594; F maps a dataset D n to a parameter f (r) (D n ). We would like to pick the r that gives the best predictive</p><p>The model selection consistency question we want to address is: When does rcv,n,K coincide with the "best candidate model"?</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Pairwise Selection Consistency</head><p>Intuitively, for the cross-validation model selection procedure described above to successfully identify the "best model," two conditions must be met. First, the best model should exhibit superior predictive accuracy at the population level-a quality gap must exist. Second, the crossvalidation risk estimates must concentrate around their corresponding population risks, ensuring that the variability in the estimates does not obscure the true differences between models.</p><p>In this section, we follow the setting in <ref type="bibr">Yang (2007)</ref>, where two further simplifications are made. The first simplification is to consider only two models: M = {1, 2}. This pairwise setting facilitates the articulation of some key intuitions, and the results can be easily extended to any finite candidate set such that m = |M| = O(1). The second is a regression setting with the squared loss:</p><p>where the noise &#1013; has a finite second moment and E(&#1013;|Z) = 0.</p><p>Under the regression model (3.1) and the squared loss, it is often more convenient to study the excess risk of each fitted candidate model. For each r &#8712; M define the excess risk</p><p>where &#182; (r)  n := f (r) (D n )f * is the estimation error of the regression function.</p><p>Without loss of generality, assume that the first model (r = 1) is better than the other. Intuitively, this requires &#936; 2,n to be larger than &#936; 1,n . In order to give a precise mathematical notion of "model 1 is better than model 2", we need to take into account the following issues:</p><p>(i) The quantities &#936; 1,n and &#936; 2,n are random, so the comparison between the models must be stated in a stochastic way.</p><p>(ii) The separation between &#936; 2,n and &#936; 1,n needs to be large enough to ensure consistency.</p><p>With these issues in mind, the following "risk dominance" condition seems natural.</p><p>Assumption 3.1 (Risk Dominance). The two sequences of random variables (&#936; r,n : n g 1) satisfy &#936; 2,n &gt; 0 almost surely and</p><p>where (x) + := max(x, 0), with the convention 0/0 = &#8734;.</p><p>In other words, the risk dominance condition requires that, with high probability, &#936; 2,n exceeds &#936; 1,n by at least a constant proportion of &#936; 1,n . This definition precludes the scenario of &#936; 2,n /&#936; 1,n &#8594; 1 in probability, where the two risk sequences become asymptotically equivalent.</p><p>We can derive some useful consequences from the risk dominance condition.</p><p>Proposition 3.1. (a) An equivalent statement of the risk dominance condition (3.3) is that for any &#949; &gt; 0 there exists c &#949; &gt; 0 such that</p><p>(c) Condition (3.3) also implies that (with the convention</p><p>Proof of Proposition 3.1. Part (a) follows from a direct rearrangement of the tail probability of</p><p>The claim follows by picking c = c &#949; large enough in the above equation so that the probability is no larger than &#949; for all sufficiently large n. Part (b) follows from the fact that &#936; 2,n f &#936; 1,n implies</p><p>Part (c) follows from the following:</p><p>Now we state the following pairwise comparison consistency result for K-fold cross-validation, originally due to <ref type="bibr">Yang (2007)</ref>. Recall that in K-fold cross-validation, the training sample size is n tr = n(1 -1/K) and the test sample size is n te = nn tr = n/K. Theorem 3.1. Assume D n consists of i.i.d. data from the regression model (3.1) with &#1013; independent of Z, E&#1013; = 0, and</p><p>2 and all sample sizes n. If the excess risks &#936; r,n (r = 1, 2) satisfy Assumption 3.1 and</p><p>then, for K-fold CV risk estimates with K = O(1), we have</p><p>Before proving Theorem 3.1, we briefly discuss the additional conditions stated above. The boundedness condition &#8741; f</p><p>is more or less standard, and is needed to establish rates of convergence for empirical approximations of the excess risks using the test sample. It can be relaxed to</p><p>and is not too heavy-tailed. The second condition n te &#936; 2,ntr P &#8594; &#8734; is more nontrivial and specifies a requirement on the test and training split ratio determined by the convergence rate of the inferior model. Intuitively, the test sample evaluates the empirical risk with a standard error rate &#936; 2,ntr / &#8730; n te . Then we need &#936; 2,ntr -&#936; 1,ntr , which is asymptotically the same order as &#936; 2,ntr , to dominate this risk evaluation error. We illustrate the effect of split ratio in a simple example below, which also reflects the tightness of the condition (3.4).</p><p>Further extensions, such as other sample splitting schemes and diverging K, and the implications of Theorem 3.1 in traditional parametric and nonparametric regression settings, are discussed in Remarks 3.1 and 3.2.</p><p>Example 3.1. Consider the following comparison of two models:</p><p>and f (2) are constant functions, where f (1) uses the constant 0 and f (2) uses the sample average in D n . In this case, f * = f (1) . By construction, &#936; 1,n = 0 for all n and &#936; 2,n = (n -1 n i=1 Y i ) 2 &#8781; 1/n. Let Rss,r (r = 1, 2) be the contribution to the CV risk estimate from a single test sample fold, defined in (3.5) below. It is straightforward to verify that n te ( Rss,2 -Rss,1 ) = -2 &#562;te &#562;tr + &#562; 2 tr , and P( Rss,2 -Rss,1 f 0) &#8594; 0 if and only if (3.4) holds.</p><p>Proof of Theorem 3.1. We drop the dependence on n whenever there is no confusion. We focus on such a single sample split with D tr and D te denoting the fitting and validation data, with corresponding index sets I tr , I te .</p><p>For r = 1, 2, use simplified notation</p><p>Observe that</p><p>For r = 1, 2, consider the sample-split risk estimate Rss,r defined as</p><p>(3.5) Further define,</p><p>Our argument is based on the following two facts about &#192; i . Fact (i): Conditioning on D tr , (&#192; i : i &#8712; I te ) are i.i.d. with mean zero. Fact (ii), Rss,1 g Rss,2 if and only if</p><p>The plan is to use Tchebyshev's inequality to bound the probability of the event in (3.6). We first need to control the conditional variance of &#192; i given D tr .</p><p>where the first inequality uses E(&#1013; i |Z i ) = 0 and the boundedness of &#182; 1 + &#182; 2 , and the second inequality follows from Cauchy-Schwartz.</p><p>Let E be the event that &#936; 2,ntr -&#936; 1,ntr &gt; 0. Then</p><p>Using Tchebyshev's inequality conditionally given D tr we have</p><p>where the second inequality follows from the conditional variance bound (3.7), the O P (&#8226;) term follows from part (c) of Proposition 3.1, and the o P (&#8226;) term follows from the theorem assumption (3.4).</p><p>As a result,</p><p>where the exchange of expectation and limit is guaranteed by the boundedness of P( Rss,1 &gt; Rss,2 |D tr )1 E . Finally, part (b) of Proposition 3.1 guarantees that P(E c ) = o(1). Combining this with (3.9) we conclude that the RHS of (3.8) is o(1).</p><p>Remark 3.1 (Other variants of K-fold CV). Theorem 3.1 also applies to other CV variants than the standard K-fold CV, such as repeated random split, where I tr is repeatedly generated by uniformly sampling n tr indices from [n] without replacement, and I te = [n] \ I tr . Another example is "reversed K-fold CV", which uses the same K-fold split but</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Remark 3.2 (Large values of K).</head><p>The only reason to require K = O(1) in Theorem 3.1 is to allow a simple union bound so that the consistency of a single split carries over to the K-split case. If specific rates of convergence are available in conditions <ref type="table">(3.3)</ref> and <ref type="table">(3.4</ref>), then we can allow K to grow slowly, as permitted by the union bound argument.</p><p>Implications and practical concerns. We briefly discuss more concrete versions of the sufficient conditions implied by Theorem 3.1 in standard parametric and nonparametric regression models.</p><p>1. Parametric case. If both models are parametric and correctly specified, then &#936; 2,n &#8781; 1/n and Theorem 3.1 requires n te /n tr &#8594; &#8734;, which turns out to be tight, as seen in Example 3.1. Such a split ratio is not achievable by any K-fold split but is achievable by the reversed K-fold split with a diverging K.</p><p>) is sufficient for model selection consistency using sample splitting and hence K-fold CV with a constant K.</p><p>In practice, reversed K-fold cross-validation (CV) is rarely used or recommended because it severely reduces the training sample size. The principal reason is that such an extreme split ratio is only required to guarantee model selection consistency when squared loss risks differ on the order of O(n -1 )-a regime of limited practical relevance when prediction accuracy, rather than model identification, is the primary objective. CV is more commonly used to tune nonparametric and highdimensional procedures, for which it is important to keep the training sample size close to the full sample. In the next two subsections, we introduce a variant of CV that achieves strong model selection properties under conventional split ratios. In Section 5, we present methods based on model confidence sets that accommodate weak separation among candidate models. We further discuss the choice of split ratio in Section 7.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Online Model Selection</head><p>In this subsection, we introduce the online model selection problem, setting the stage for a variant of cross-validation tailored for the online setting.</p><p>So far, we have only considered the batch setting, where the fitting algorithm f takes in a static dataset D n of an arbitrary sample size n and outputs f (D n ) &#8712; F. The online setting, which becomes increasingly popular in large-scale machine learning, differs from the batch setting with profound algorithmic and computational consequences. Definition 3.1 (Online Estimator). Let X be the sample space of a single data point, and F a parameter space. An online algorithm f = ( fn : n g 1) is an infinite sequence of mappings such that (a) f1 : X &#8594; F , (b) For i g 2, fi : F &#215; X &#8594; F , (c) After obtaining fi , the sample points {X j : j f i} and previous estimates { fj : j &lt; i} are not used again by the algorithm in the future.</p><p>An online estimator f = ( fi : i g 1) takes in a (possibly infinite) stream of sample points (X i : i g 1) in X , with an initial estimate f0 , and updates the estimate from fi to fi+1 = fi+1 ( fi , X i+1 ) after seeing the (i + 1)th sample point (i g 0). Part (c) ensures that the online algorithm satisfies the "single-pass" (or constant memory) property, meaning that the sample points and estimates are only processed at the time of sampling and will not be stored. This does not exclude the popular Polyak averaging estimate, which outputs the final estimate as the average of ( fi : i g 1), because we only need to store the current average estimate, which costs a constant amount of memory.</p><p>Online algorithms often come with great computational efficiency and play a crucial role in modern machine learning. Perhaps the most important example of such online estimators is stochastic gradient descent.</p><p>Example 3.2 (Online Stochastic Gradient Descent). Suppose the estimation target is f * = arg min E X &#966;(f, X), for an objective function &#966;(&#8226;, &#8226;). The stochastic gradient descent estimate fn estimates f * by minimizing the empirical average objective function n i=1 &#966;(f, X i ) using an online update scheme.</p><p>(i) Initialize f0 = 0</p><p>The sequence (&#179; i : i g 1) specifies the learning rate at each step.</p><p>To provide a more concrete example, and better connect to recent literature, we consider the following variant of "sieve-SGD" tailored for nonparametric regression under squared loss, where each sample point X = (Y, Z), with Y &#8712; R 1 and F being a class of functions mapping from Z to R 1 . Let (&#981; j : j g 1) be a set of orthonormal basis functions in L 2,Z . The sieve-SGD initializes f0 = 0 and the update from fi-1 to fi is:</p><p>(3.10)</p><p>Here &#179; i is the learning rate, J i &#8712; N is the number of basis functions used at sample size i, and w is a shrinkage exponent. It has been shown in <ref type="bibr">Zhang and Simon (2022)</ref> that with suitable choices of (&#179; i , J i ) and w, the sieve-SGD estimate nearly achieves the minimax optimal error rate over Sobolev classes of functions. When model selection is of interest, a fundamental difference emerges between the batch setting and the online setting. In the batch setting, the evaluation criterion for model selection is often tied to a particular sample size, which is typically n but could also be n tr such as in Kfold cross-validation. The batch cross-validation can approximate the quantities &#181; ntr and Rcv,n,K because the algorithm can access versions of f (D ntr ) through f (D n,-k ), and repeatedly evaluate their losses at many independent sample points. This is not possible in the online setting, where, as specified in Definition 3.1, for each sample size i, the loss function of the estimate fi at sample size i can only be evaluated once using &#8467;(X i+1 , fi ). As a result, the model selection criterion in the online setting must have the following two distinct features.</p><p>1. The model selection criterion in the online setting needs to be asymptotic, as it must describe the behavior of an infinite sequence.</p><p>2. As a consequence, in the online setting, a candidate in the model selection problem must be a sequence itself, which specifies the update rule for each sample size.</p><p>Given these thoughts, suppose we have m online algorithms, ( f (r) i : i g 1) for r = 1, ..., m, we can define the online model selection target as the r * &#8712; [m] such that, assuming its existence,</p><p>where &#936; r,i is the excess risk of the fitted model f (r) i , as defined in (3.2) in the squared loss regression setting.</p><p>Such an optimal r * naturally exists in many nonparametric regression settings. Consider the sieve-SGD example in (3.10). For simplicity, suppose we only need to choose the number of basis (J i : i g 1).</p><p>Existing theory <ref type="bibr">Zhang and Simon (2022)</ref> suggests the optimal choice is J i = Bi &#196; for a pair of positive constants (B, &#196; ) that depends on the function class. Thus, the candidate set of m online algorithms correspond to m distinct combinations {(B (r) , &#196; (r) ) : r = 1, ..., m}, where for each r &#8712; [m], the corresponding online algorithm uses the update rule (3.10) with</p><p>In this example, an online model selection procedure should point us to a choice of sequence {J (r) i : i g 1} that will eventually become the best for each i when the sample size keeps increasing. In contrast, standard batch model selection methods only focus on a single sample size and do not suggest a good choice of model for a different sample size. For example, if batch model selection returns a choice of J = 10 at sample size 100, it is unclear whether this J comes from a (B, &#196; ) combination of (1, 1/2) or ( &#8730; 10, 1/4), which would lead to different choices of J for other values of sample size.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Rolling Validation</head><p>In this subsection, we present an online version of the LOOCV model selection method, and establish consistency results under the same linear regression setting with the squared loss as in Section 3.1.</p><p>Recall that in the regression model, we have</p><p>Suppose we have two sequences of online estimates of f * : ( f (r) i : i g 1) for r &#8712; {1, 2} satisfying Definition 3.1. Again, the excess risk &#936; r,n , defined in (3.2), will play an important role. Unlike in the batch setting, where we used the stochastic version of model quality gap (Assumption 3.1), in the online setting we will use a more transparent approach, where the model quality gap is stated in the expected excess risks &#200; r,n := E&#936; r,n .</p><p>(3.12)</p><p>We will assume that the expected excess risks converge at a certain rate, serving the purpose of model quality comparison.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Assumption 3.2 (Model quality).</head><p>There exist</p><p>Assumption 3.2 involves a chain of three inequalities. The most crucial one is the first inequality, which implies that the expected excess risk of model 1 is less than that of model 2 with a sufficient gap. When the two models have the same rates of convergence (a 1 = a 2 ), the strict inequality ensures that model 1 is better than model 2 by at least a constant fraction, similar to Assumption 3.1. A notable difference is that Assumption 3.2 makes assumptions about the expected excess risks, which are deterministic quantities. In contrast, Assumption 3.1 is about the risks of fitted models, which are random quantities.</p><p>While it is more convenient to describe the model quality gap in terms of the expected excess risk &#200; r,n , the randomness of online model fittings needs to be controlled in order to guarantee concentration of &#936; r,n around &#200; r,n . This will be achieved through stability conditions in Assumption 3.3 below.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Assumption 3.3 (Estimator stability).</head><p>There exist positive constants c, b 1 , and b 2 such that, for j f i, r = 1, 2,</p><p>Recall that &#8711; j is the perturb-jth-entry operator defined in (2.5). If we ignore the conditional expectation, which makes the L 2 -norm smaller, (3.13) roughly requires that the value of fi at a future sample point change no more than i -br when one of the fitting sample points is replaced by an i.i.d. copy. Intuitively, if each fitting sample point contributes equally to the estimate, then the influence of a single sample point on the outcome should be of order i -1 and such a stability condition can be plausible if b r f 1. The almost-sure bound condition can be relaxed to L q norm bounds with different choices of conjugate indices in H&#246;lder's inequality, together with stronger moment conditions on the risk function. We provide examples satisfying (3.13) in Section 6.4.</p><p>We consider the following online rolling validation risk estimate.</p><p>The RV risk estimate has some promising features.</p><p>1. The RV risk estimate &#926; r,n resembles the leave-one-out cross-validation, as each fitted model f (r) i -fitted using all sample points up to time i-is evaluated at one independent sample point X i+1 .</p><p>2. The RV risk estimate &#926; r,n is fully compatible with the online learning protocol described in Definition 3.1, as one can obtain</p><p>3. When n becomes large, &#926; r,n is increasingly representative of the asymptotic behavior of &#936; r,n and &#200; r,n , thereby serving the purpose of online model selection objective in (3.11).</p><p>The intuition is that, if the fitting procedure does not too heavily rely on any single sample point, as implied by the stability condition (3.13), then the contribution of each single sample point to &#936; r,i will vanish as i increases. Thus each single sample point still only contributes a small proportion of the sum &#926; r,n , making the sum concentrate around its expected value. This is formally stated in the following theorem.</p><p>Theorem 3.2 (Model Selection Consistency of Rolling Validation). Under the regression model (3.1) and the squared loss function, assume that the function space is uniformly bounded:</p><p>then the rolling validation risks &#926; r,n defined in (3.14) satisfy</p><p>where, recall the notation D i = (X j : 1 f j f i). The first three terms are mean zero noises, and the last term is the signal, which will be negative for large values of n. The plan is to derive upper bounds for each of the noise terms so that their sum is unlikely to override the signal. In this proof, since the claimed result is consistency, we will not keep track of all constant factors. To simplify notation, we will use "&#8818;" to denote that the inequality holds up to a constant factor.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Controlling term (I):</head><p>Term (I) has zero mean and martingale increments, and can be bounded similarly as in the proof of Theorem 3.1:</p><p>Controlling term (II): Term (II) also has zero mean and martingale increments.</p><p>Controlling term (III): Term (III) does not have martingale increments. Each term E(U i |D i )-EU i is a function of D i , which involves all sample points (X j : 1 f j f i). We will use a further martingale decomposition of this term:</p><p>, is a martingale increment sequence with respect to the filtration (D j : j g 1). Now we control the L 2 norm of M n,j . Observe that</p><p>where the &#8711; notation is defined in (2.5).</p><p>Recall that D j n = (X 1 , ..., X &#8242; j , ..., X n ) is the perturb-one dataset obtained by replacing the jth entry of D n by an i.i.d. copy</p><p>be the counterpart of &#182; r,i obtained as if the input dataset were D j n . By construction,</p><p>where the last step follows from conditional H&#246;lder's inequality and conditional Jensen's inequality. By Assumption 3.2, &#200; r,i &#8818; i -ar , and hence</p><p>Using the martingale property, Term (III) has variance</p><p>whose upper bound depends on the value of c.</p><p>So in all cases we have</p><p>Putting together, we have the noise terms bounded by</p><p>On the other hand, the signal term is</p><p>Thus a sufficient condition for</p><p>Remark 3.3 (Growing number of candidate models). If we strengthen the stability condition to &#8711; j f (r) i (X i+1 ) being (i -br , &#179;)-sub-Weibull, then we can derive exponential probability bounds for correct model selection. This would allow the number of candidate models to diverge subexponentially as the sample size grows. Online learning with a growing number of candidate models is naturally motivated by the need to gradually refine the tuning grid as the training sample size grows, which can be viewed as a sieve method on the regularity parameter space. However, such stability conditions will be harder to rigorously verify. In Section 6 we provide further discussions and examples of stability bounds for some commonly used estimators such as stochastic gradient descent.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Weighted Rolling Validation</head><p>In the online model selection criterion (3.11) and the model quality assumption Assumption 3.2, it is clear that the better model is defined through its superior asymptotic prediction risk. When reflected in the rolling validation risk &#926; r,n , the expected model quality difference is</p><p>Under Assumption 3.2, this quantity diverges as n increases, and is driven by the contributions from large values of i. In other words, these assumptions suggest that the model quality is better reflected by the performance of f (r) i at larger values of i. This intuition leads to the following weighted version of rolling validation (wRV).</p><p>&#926; r,n,&#192; :=</p><p>where &#192; g 0 is a positive constant controlling the fraction of weight tilted towards the larger values of i.</p><p>The original rolling validation risk &#926; r,n defined in (3.14) corresponds to the special case of &#926; r,n,0 , and it is straightforward to check that the wRV risks are also fully compatible with the online learning protocol in Definition 3.1. More generally, we can write wRV as</p><p>where (w i : i g 1) is a non-decreasing sequence of positive weights such that lim</p><p>The specific choice of w i = i &#192; is quite natural, as a constant fraction of all sample points will have a constant fraction of the maximum weight. For example, at time i, a (1 -2 -1/&#192; ) proportion of sample points will have weights at least half as much as the maximum weight i &#192; . These sample points are also the most recent and thus more representative of the asymptotic model quality than the earlier sample points. In contrast, the exponential weighting w i = e &#192;i will only assign non-trivial weights to a constant number of sample points, leading to an overly large variance in the wRV statistic.</p><p>Consistency of wRV. Interestingly, weighted rolling validation enjoys the same consistency properties, regardless of the value of &#192;.</p><p>Corollary 3.3. Let &#926; r,n,&#192; be the wRV statistic defined in (3.15). Then, for any &#192; g 0, under the same conditions as in Theorem 3.2, we have</p><p>Intuitively, the weights i &#192; affect the variance and model quality gap in the same manner and will cancel out in the final signal-to-noise ratio calculation. The proof follows exactly the same procedure as that of Theorem 3.2.</p><p>The effect and practical choice of &#958;. Although Theorem 3.3 shows that wRV can be consistent for any nonnegative value of &#192;, it does not reflect the benefit of using a positive value of &#192;. In practice, the choice of &#192; may still impact the finite sample bias-variance trade-off, and wRV with a positive &#192; generally outperforms the original RV with &#192; = 0. In general, a small &#192; leads to smaller variance but also larger bias (one way to interpret the bias is the representativeness of the wRV statistic for the asymptotic model quality). A theoretically rigorous understanding of the effect of &#192; requires a finite sample analysis of the wRV model selection error probability, which is an open problem. Here we provide a heuristic argument to demonstrate the "quick response" effect of a positive &#192; in a noiseless scenario, and give a simple rule-of-thumb choice of &#192;.</p><p>Assume that the expected risks have the form</p><p>We hope to have &#926; 1,i &lt; &#926; 2,i soon after i exceeds i * . In the noiseless case, &#926; r,i,&#192; reduces to its expected value, which equals (when r = 1)</p><p>provided that &#192;a &#824; = -1. A similar equation can be derived for r = 2. Thus, approximately the noiseless wRV would be able to correctly favor the better model (r = 1) when i is large enough such that</p><p>The quantity 1/(&#192; + 1a) in the above equation can be interpreted as the asymptotic delay ratio caused by the rolling sum. It is apparent that although the delay ratio is a monotone decreasing function of &#192;, the improvement vanishes as &#192; increases. In practice, a rule-of-thumb choice of &#192; is &#192; RoT &#8801; 1 , which controls the asymptotic delay ratio to be at most 1, while keeping the variance at a reasonable level. Empirically, the model selection accuracy of wRV often observes the most significant improvement when &#192; increases from 0 to 1, and becomes relatively stable for &#192; &#8712; [1, 3].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5">Bibliographic Notes</head><p>The pairwise model selection consistency of K-fold CV in mean regression under the squared loss is largely based on <ref type="bibr">Yang (2007)</ref>. Our Theorem 3.1 is a simplified version of Theorem 1 in <ref type="bibr">Yang (2007)</ref>, which covers more general tail conditions. As shown in Example 3.1, the condition n te &#200; 2,ntr &#8594; &#8734; captures the correct sufficient condition in this simple example. In terms of difference, our result is stated without the "convergence at exact rate" condition, which is required in Yang's Theorem 1. This simplification comes from a more streamlined treatment. Earlier investigations of model selection consistency by cross-validation include <ref type="bibr">Zhang (1993)</ref> and <ref type="bibr">Shao (1993)</ref>.</p><p>The online model selection problem is motivated by recent developments in nonparametric stochastic approximation, such as kernel SGD <ref type="bibr">(Kivinen et al., 2004;</ref><ref type="bibr">Dieuleveut and Bach, 2016)</ref> and sieve SGD <ref type="bibr">(Zhang and Simon, 2022;</ref><ref type="bibr">Quan and Lin, 2024)</ref>. The rolling validation and weighted rolling validation results are based on <ref type="bibr">Zhang and Lei (2023)</ref>, which contains a detailed treatment of the diverging candidate set setting, as well as numerical examples demonstrating the practical advantage of wRV over traditional CV model selection.</p><p>This section focuses on mean regression with squared loss. A natural question is whether similar results can be obtained for more general learning problems and loss functions. In this direction, <ref type="bibr">Yang (2006)</ref> developed CV model selection consistency in binary classification that parallels Section 3.1 and <ref type="bibr">Yang (2007)</ref>. <ref type="bibr">Wang and Shen (2006)</ref> also attempted to obtain a similar extension, requiring an accurate estimate of the conditional probability of Y given X used for a resampling step. In contrast, the proofs of the consistency results in this section mainly rely on the concentration of loss functions around their mean values. The general tools developed in Section 2.3, Section 2.4, and Section 2.5 could be used to provide useful results to establish similar model selection guarantees for general loss functions and online algorithms.</p><p>The model selection consistency of cross-validation has also been studied outside of the i.i.d. case. For example, <ref type="bibr">Racine (2000)</ref> developed a variant of cross-validation for consistent time series model selection. Some early explorations of methods similar to the weighted rolling validation in the time series forecasting setting include <ref type="bibr">Wei (1992)</ref> and <ref type="bibr">Ing (2007)</ref>. In the network analysis literature, Chen and Lei (2018), <ref type="bibr">Li et al. (2020)</ref>, and <ref type="bibr">Qin and Lei (2022)</ref> used different sample splitting and cross-validation techniques for community-structured network model selection.</p><p>The focus of this section shifts back to risk estimation, where the target of CV risk estimate Rcv,n,K , defined in (2.2), is either the average risk of the leave-one-fold-out estimates defined as Rcv,n,K in (2.3) or its population version &#181; ntr defined in (2.1). Consistency and exponential concentration of Rcv,n,K around these targets have been established under various stability conditions in Sections 2.3 to 2.5. In this section, we are interested in pushing these results one step further to establish corresponding central limit theorems. These results, which are of independent theoretical interest, also pave the way for new methodological developments in a variety of inference problems, including constructing model selection confidence sets. As shown in Section 5.2, these can be further developed into improved model selection methods that overcome the theoretical limitation of standard CV methods observed in Section 3.</p><p>Starting in this section, we will use a new notation. For i &#8712; [n], let k i &#8712; [K] be the fold index such that i &#8712; I n,k i . So we can write the cross-validation risk estimate as a sum over i:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">CLT with Random Centering</head><p>We first consider the "random centering" case, where the quantity Rcv,n,K is treated as the target of Rcv,n,K and hence the centering of the central limit theorem. Proposition 2.2 and Theorem 2.6 suggest that perturb-one stability of the loss function with rate o(1/ &#8730; n) implies sub-Gaussian type concentration of Rcv,n,K at rate n -1/2 + o(1). In this section, we further refine the analysis to show that under essentially the same stability condition the CV risk estimate centers at Rcv,n,K with &#8730; n-asymptotic normality.</p><p>Our starting point is an intuition that if the risk function &#8467;(X 0 , D n ) is perturb-one stable at a rate that vanishes faster than 1/ &#8730; n, then the variance contributed to &#8467;(X 0 , D n ) by the fitting part D n will be upper bounded by o(1) using the Efron-Stein inequality.</p><p>Theorem 4.1 <ref type="bibr">(Efron-Stein Inequality)</ref>. Let h be a function that maps D n to a real number, where D n = (X i : 1 f i f n) consists of independent entries (not necessarily identically distributed or even defined in the same space). Then</p><p>The proof of the Efron-Stein inequality is elementary and is based on the telescoping decomposition (2.15). A full proof can be found in <ref type="bibr">Boucheron et al. (2013, Chap. 3.1)</ref>.</p><p>As a consequence, one can expect the summand term &#8467;(X i , D n,-k i ) in Rcv,n,K to behave like its de-randomized version</p><p>The subindex n tr in the notation &#8467; ntr (&#8226;) emphasizes that this function only depends on the training sample size. More generally, we can define, for any n g 1,</p><p>(4.1)</p><p>The following result quantifies the contribution to the total variance of the loss function &#8467;(X i , D n,-k i ) from D n,-k i , i.e., the fitting randomness.</p><p>Proposition 4.1. Assume the fitting procedure is symmetric in the sense of Definition 2.1 and D n consists of i.i.d. sample points. Let</p><p>Proof of Proposition 4.1. Using the variance decomposition</p><p>Thus it suffices to show</p><p>Using the Efron-Stein inequality on the conditional distribution of &#8467;(X 0 , D n ) given X 0 we have</p><p>The desired result follows by taking expected value on both sides.</p><p>Proposition 4.1 suggests that if the loss function is stable enough then the randomness in &#8467;(X 0 , D n ) comes mostly from X 0 and it is reasonable to expect</p><p>which is the average of n i.i.d. random variables. However, (4.2) may not be accurate enough in general cases for the purpose of Gaussian approximation. We will need a slight modification on the LHS so that it focuses on the randomness contributed from the loss function evaluation, as detailed in the following theorem.</p><p>Theorem 4.2 (CV-CLT, Random Centering). Let (X i : i g 0) be an i.i.d. sequence of sample points in X and</p><p>where</p><p>for all &#1013; &gt; 0 and &#8467; n (X 0 ), ln (X 0 ) defined in (4.1). Then for any value of K that evenly divides n and is allowed to change with n, the K-fold cross-validated risk Rcv,n,K satisfies</p><p>where the symbol "&#8669;" means "convergence in distribution", and Rcv,n,K is defined in (2.3).</p><p>Proof of Theorem 4.2. The proof proceeds by rigorously establishing a modified version of the "approximate linearity" of Rcv,n,K in (4.2).</p><p>The rest of the proof consists of two main steps. In the first step we show that</p><p>In fact, by construction, the LHS of (4.5) multiplied by</p><p>For the squared term (&#192; i -&#192;i ) 2 we have, using the same argument as in Proposition 4.1,</p><p>where the second inequality follows from the fact</p><p>as implied by Theorem 4.12 in Section 4.4. As a result, the total contribution from the squared terms in (4.6) is o(n&#195; 2 ntr ). For the cross term (&#192; i -&#192;i )(&#192; j -&#192;j ), if k i = k j , then by conditioning on D n,-k i and using conditional independence of X i and X j given D n,-k i we have E(&#192; i -&#192;i )(&#192; j -&#192;j ) = 0. Now we only need to control the cross-term contributed by (i, j) pairs such that j / &#8712; I k i . The main trick here is the "free nabla" lemma (Theorem 4.11 in Section 4.4). By applying Theorem 4.11 twice we have, for j /</p><p>whose absolute value is o(&#195; 2 ntr /n tr ). Thus the total contribution from the cross-terms in (4.6) is o(n&#195; 2 ntr ). This establishes (4.5). It remains to show that</p><p>&#192;i &#8669; N (0, 1) , which, under (4.4), follows from the standard Lindeberg central limit theorem for triangular arrays <ref type="bibr">(Durrett, 2019, Theorem 3.4.5)</ref>.</p><p>Remark 4.1. The proof of Theorem 4.2 implies that</p><p>where d W,1 is the Wasserstein-1 distance. Moreover, if we assume a specific rate of convergence in (4.3), as well as a stronger integrability condition than (4.4), such as uniform boundedness of &#8741;[&#8467; n (X 0 )&#181; n ]/&#195; n &#8741; 3 , then we can establish the Berry-Esseen-type finite sample error bounds of normal approximation in the Wasserstein-1 and Kolmogorov-Smirnov distances.</p><p>Remark 4.2. In most applications, it is reasonable to assume that there exists a pair of positive constants (c, c) such that</p><p>for all n. For example, in regression problems, the lower bound corresponds to the aleatoric uncertainty that comes from the observation noise, and cannot be reduced by the prediction function. The upper bound usually corresponds to the parameter space and the total variability of the random variables.</p><p>As another consequence of Proposition 4.1, one can expect to obtain a consistent estimate of &#195; ntr using the sample variance of {&#8467;(X i , D n,-k i ) : i &#8712; [n]} as the variance is mainly contributed by the evaluation point X i .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theorem 4.3 (Variance Estimation). Let</head><p>In addition to the same condition as in Theorem 4.2, assume that</p><p>The additional uniform integrability assumption ensures that the sample variance of { lntr (X i ) : 1 f i f n} is a consistent estimate of its population version. It can be satisfied under moment conditions, such as uniformly bounded &#8741; ln (X 0 )/&#195; n &#8741; 2+ &#182; for any &#182; &gt; 0.</p><p>Proof of Theorem 4.3. Define</p><p>It suffices to show that &#195;2 ntr -&#195;2 ntr = o P (&#195; 2 ntr ). By construction, we have</p><p>Using Jensen's inequality and the same argument as bounding</p><p>Following the proof of Theorem 2.6, we can obtain, under the stability condition (4.3),</p><p>which, by Efron-Stein, further implies that</p><p>Then Cauchy-Schwartz and the triangle inequality imply that</p><p>, which concludes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">CLT with Deterministic Centering</head><p>In this subsection, we develop a central limit theorem for the CV risk estimate with the deterministic centering: &#181; ntr = E Rcv,n,K .</p><p>The random centering CLT proved in the previous subsection provides a head start. A key intermediate step in that proof is, under the loss stability condition (4.3) and recalling that ln</p><p>which can be rewritten equivalently as</p><p>where</p><p>accounts for the difference between the random centering Rcv,n,K and the deterministic centering &#181; ntr .</p><p>The additional challenge in order to establish a deterministic centering CLT for Rcv,n,K is to characterize the randomness in G, a mean zero random variable that involves each sample point in a symmetric fashion. Unlike the loss function, where each sample point X i is evaluated exactly once in &#8467;(X i , D n,-k i ), the randomness in G features the sum of the risks of parameters fitted from different leave-one-fold-out subsamples, and each X i contributes, in a symmetric fashion as other fitting sample points, to all but one such risks. Thus we will proceed by considering the projection of G onto each X i , which is involved in the parameter fitting part in R(D n,-k j ) for all j / &#8712; I k i . Define</p><p>and &#7713;n (x) = g n (x)n&#181; n . (4.10)</p><p>The quantity g n (X i ) is the counterpart of &#8467; n (X i ) when considering the contribution of X i to the fitting variability.</p><p>By construction, it is straightforward to check that</p><p>It is reasonable to expect the linear decomposition</p><p>If we can establish (4.11) with enough level of accuracy, then one can establish a CLT with deterministic centering from (4.8) using standard i.i.d. sums.</p><p>To further explore the plausibility of (4.11), we consider the following martingale decomposition of G:</p><p>with the convention D 0 = &#8709;.</p><p>The martingale increment E(&#8711; i G|D i ) represents the contribution to G from the ith sample point. We shall also see that, at least intuitively, when the loss function is stable, the choice of ordering of i in (4.12) does not matter. Now it seems natural to expect this increment to be close to &#7713;ntr (X i ). Indeed we have, using another round of martingale decomposition with respect to the &#195;-fields generated by (D j , X i ),</p><p>(4.13)</p><p>Now we arrive at the following approximate linear form for G:</p><p>It remains to control the residual term n i=1 &#923; i . Two observations are useful.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">The sequence (&#923;</head><p>with respect to the filtration corresponding to</p><p>2. For each i, we have</p><p>To prove (4.15), using the martingale decomposition of &#923; i , we have</p><p>The above derivation essentially proves the following central limit theorem for CV risk estimates with deterministic centering.</p><p>Theorem 4.4 (CV-CLT, Deterministic Centering). Let (X i : 0 f i &lt; &#8734;) be a sequence of i.i.d. sample points in X , f : ng1 X &#185;n &#8594; F a symmetric estimation procedure, and &#8467; : X &#215; F &#8594; R a loss function. Let K be an integer that evenly divides n and is allowed to change with n. Suppose &#196; 2 n := Var(&#8467; n (X 0 ) + g n (X 0 )) &gt; 0 for all n and the following stability condition holds 1. For any</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">For any</head><p>Proof of Theorem 4.4. According to the proof of Theorem 4.2, the first stability condition establishes (4.8). Now the second stability condition ensures that n -1/2 i &#923; i = o P (&#196; ntr ) according to (4.15). The result then follows from the standard Lindeberg CLT for the triangular array { lntr (X i ) + &#7713;ntr (X i ) :</p><p>The asymptotic variance &#196; 2 ntr is the total variance of the sum of two parts: &#8467; ntr (X i ) and g ntr (X i ), which corresponds to the evaluation and estimation randomness contributed by the sample point X i , respectively. In contrast, the random centering CLT Theorem 4.2 only captures the evaluation part involving &#8467; ntr (X i ), leaving the randomness of estimation to the random centering Rcv,n,K . While it is relatively straightforward to assume the boundedness of Var(&#8467; ntr (X 1 )), the behavior of Var(&#8467; ntr (X 1 )+ g ntr (X 1 )) is harder to track in general. The correlation between &#8467; ntr (X 1 ) and g ntr (X 1 ) was analyzed in several special cases in <ref type="bibr">Austern and Zhou (2024, Sec. 4)</ref>, and it may be positive, negative, or zero. In particular, when f is obtained by an M-estimator whose objective function coincides with the loss function &#8467;(x, f ) and satisfies regularity conditions such as convexity and smoothness, the correlation is shown to be zero. This makes a positive constant lower bound of Var(&#8467; ntr (X 1 ) + g ntr (X 1 )) more or less reasonable. In order to assume an upper bound on Var(g ntr (X 1 )), it helps to consider the variability of n tr &#8711; 1 R(D ntr ), because there are n tr terms in G that involves X 1 . An upper bound on Var[g ntr (X 1 )] can be obtained through the first-order risk stability &#8711; 1 R(D ntr ):</p><p>(4.17)</p><p>In order for the upper bound in (4.17) to be O(1), it would require a risk stability rate of O P (1/n tr ), which seems substantially more stringent than the corresponding rate assumed for the loss stability in (4.3) as well as Part 1 of the stability assumption in Theorem 4.4. We argue that in many machine learning contexts, the risk can have much better stability than the loss function itself. As a first example, consider</p><p>More generally, suppose that F is a Hilbert space, and we have the first-order approximation</p><p>Usually &#8711; i f corresponds to the stability of the loss function &#8467;(X 0 ; f (D n )) if &#8467;(X 0 , f ) is smooth in f , which could be as small as O(n -1 ). For risk minimization estimators, it is typically the case that dR(f ) df f = f (Dn) &#8776; 0. Thus for such approximate risk minimization estimators it is reasonable to expect &#8711; i R(D n ) to be much smaller than &#8711; i &#8467;(X 0 , D n ), making the requirement of |&#8711; i R(D n )| j n -1 plausible. This intuition also helps explain the condition</p><p>) required in Theorem 4.4. We will resume this discussion after presenting the variance estimation result below. Further discussion and examples of stable algorithms are presented in Section 6, especially in Section 6.3 for the risk stability.</p><p>Variance estimation with deterministic centering. It is unclear how to construct a consistent estimate of the asymptotic variance of Rcv,n,K without auxiliary sample points that are not in D n . Now suppose we do have access to some auxiliary sample points, independently drawn from the same distribution. The question we seek to answer here is how many such auxiliary sample points would be sufficient to guarantee a consistent estimate of the asymptotic variance of the CV risk estimate with deterministic centering.</p><p>If we have &#201;(n) auxiliary sample points, then we can generate &#201;(1) i.i.d. copies of Rcv,n,K and then obtain a consistent variance estimate from these i.i.d. copies. Now we show that one can also obtain a consistent variance estimate using only &#201;(1) auxiliary sample points.</p><p>We begin with the proof of Theorem 4.4, which is based on the following more refined version of (4.8) and (4.11) with an explicit expression of the residual,</p><p>where</p><p>To study the variance of Rcv,n,K , it is natural to consider &#8711; i Rcv,n,K . In particular we will consider i = n, and, assuming that</p><p>18) The convenience of choosing i = n in &#8711; i is reflected in the last term of the equation above, where all (&#923; i : i &lt; n) disappear under the &#8711; n operator. It is important to note that (4.18) also holds for arbitrary index i &#8712; [n], with the last term becoming &#8711; i &#923; i,n , where &#923; i,n is the counterpart of &#923; n when one swaps index i and index n in the martingale decompositions in (4.12) and (4.13).</p><p>The first term in the RHS of (4.18) gives us the desired i.i.d. random variable with the desired asymptotic variance. Thus, if we can show that the other terms in the RHS of (4.18) are all sufficiently small with vanishing L 2 norms, then one can use the empirical variance of n&#8711; i Rcv,n,K with &#201;(1) many distinct i's, which would only require &#201;(1) auxiliary sample points.</p><p>Among the residual terms in the RHS of (4.18), the most nontrivial one to control is the second term &#8711; n i / &#8712;I K (&#192; i -&#192;i ). In the proof of Theorem 4.2 we have shown</p><p>thus we only need the &#8711; n operator to cancel out the additional &#8730; n factor in this upper bound. While this is intuitively plausible, we will need some additional assumptions for a rigorous result. We consider the following.</p><p>The two parts of Assumption 4.1 represent different possible strengthening of the stability condition (4.3). Part (a) is easy to hold when the number of folds K is a constant or grows with n at a slow rate. When K is a constant, Part (a) of Assumption 4.1 is equivalent to the original stability condition (4.3). On the other hand, part (b) of Assumption 4.1 requires a "second-order stability". Intuitively, if applying the perturbone difference operator &#8711; i reduces the magnitude of &#8467;(X 0 , D n ) by a factor of o(1/ &#8730; n), then applying two such operators will reduce the magnitude by a factor of o(1/n). The advantage of Part (b) is that it can potentially cover the case of large values of K, such as K = n. But such an advantage comes at the cost of having to verify the second-order stability condition. We will discuss examples of second-order stability in Section 6.2.</p><p>Formally, assume we have auxiliary sample points X &#8242; 1 , ..., X &#8242; naux independent of D n with sample size n aux = &#201;(1). Consider the following pseudo-estimate of the asymptotic variance of the CV risk with deterministic centering. If &#8741; lntr (X 1 ) + &#7713;ntr (X 1 )&#8741; 4 = O(&#196; ntr ), then Theorem 4.5 implies consistent estimation with n aux = &#201;(1). In practice, we can hold out n aux = &#8730; n for variance estimation and conduct cross-validation on the remaining sample points.</p><p>Proof of Theorem 4.5. Using (4.18), we have</p><p>where &#8710; i equals the sum of the last three terms in the RHS of (4.18).</p><p>The second and third terms on the RHS of the above equation has L 1 norm bounded by o(1) because &#8741;W i /&#196; ntr &#8741; 2 = &#8730; 2 and &#8741;&#8710; i /&#196; ntr &#8741; 2 = o(1) uniformly over i according to Theorem 4.14. Thus it suffices to show the first term is o P (1). In fact, the first term has mean 0 and variance</p><p>Revisiting the risk stability conditions. The variance estimation argument above also provides further insights to the asymptotic variance &#196; 2 ntr and the risk stability condition in Theorem 4.4. To begin with, we repeat the derivation of (4.12), (4.13), (4.14), (4.15), and (4.18) for the risk R(D n ). In particular, (4.14) becomes</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#923;i</head><p>where &#923;i is the counterpart of &#923; i in (4.14). Also (4.18) becomes (suppose we put i = 1 in the final position in the first martingale decomposition (4.12))</p><p>where</p><p>&#8741; 2 by a similar argument used in (4.15). Therefore, we have the following result on the relationship between the variances of &#8711; 1 R(D ntr ) and g ntr (X 1 ), which provides the reverse direction of (4.17).</p><p>Proof of Theorem 4.6. Equation (4.17) shows that the ratio is upper bounded by 1/2. On the other hand, recall that</p><p>, which provides the other direction.</p><p>Putting things together we can have the following more refined view of Theorem 4.4 as well as its relationship with Theorem 4.2. Proposition 4.2 (CV-CLT, Consolidated Version). Assuming an i.i.d. sequence of X i : i g 0 and a symmetric loss function &#8467;(&#8226;, &#8226;).</p><p>that (4.22), (4.16) hold. Proof of Proposition 4.2. For the first part, it suffices to show that &#8741; Rcv,n,K&#181; ntr &#8741; 2 = o(&#195; ntr / &#8730; n), which is in turn implied by &#8741;R(D ntr )&#181; ntr &#8741; 2 = o(&#195; ntr / &#8730; n) using symmetry among the folds and triangle inequality. The condition n&#8741;&#8711; 1</p><p>For the second part, it suffices to show that the conditions in Theorem 4.4 are satisfied. In particular, we only need to verify the second-order risk stability in Theorem 4.4. First, Theorem 4.6 ensures that &#8741;g ntr (X</p><p>Thus the second-order risk stability condition (part 2) of Theorem 4.4 is satisfied because by (4.22) we have</p><p>Proposition 4.2 provides a more transparent view of the role played by the risk stability quantities</p><p>CLT with deterministic centering. In the first part of Proposition 4.2, the condition n&#8741;&#8711; 1 R(D n )&#8741; 2 = o(&#195; n ) indicates that the fitting randomness in nR(D n ) contributed from a single sample point X 1 has much smaller variability than the evaluation &#8467; n (X 1 ). In this case the second-order risk stability &#8741;&#8711; 1 &#8711; 2 R(D n )&#8741; 2 is irrelevant and the deterministic centering essentially behaves like the random centering.</p><p>In the second part of Proposition 4.2, the condition n&#8741;&#8711; 1 R(D n )&#8741; 2 = &#8486;(&#195; n ) means that the variability in the fitting is at least as large as that in the evaluation. The condition &#196; n = &#8486;(&#195; n ) ensures that these two sources of variability do not cancel each other when we add up &#8467; n (X 1 ) and g n (X 1 ). As mentioned in the discussion after Theorem 4.4, it is often plausible to assume a nonnegative correlation between &#8467; n (X 1 ) and g n (X 1 ), and hence no cancellation of variance. In this case, the key condition on the second-order risk stability is that</p><p>So this is analogous to the original loss stability condition (4.3) in the sense that we obtain an o(n -1/2 ) factor from applying one more &#8711;-operator.</p><p>because the fitting variability dominates and we can have a higher tolerance of the instability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">High-dimensional Gaussian Comparison</head><p>The central limit theorems developed in Section 4.1 and Section 4.2 are concerned with a single estimator f . In the context of model selection and model comparison, it is necessary to study the simultaneous fluctuation of the CV risk estimates of multiple estimators. While the extension of the central limit theorem to multivariate cases with a finite and fixed number of estimators is straightforward, in this subsection we consider the situation with a potentially large number of estimators.</p><p>To begin with, we first introduce a high-dimensional Gaussian comparison result for sums of independent random vectors, initiated by <ref type="bibr">Chernozhukov et al. (2013)</ref>. A typical form of high-dimensional Gaussian comparison is to compare the distribution of the maximum of a random vector to that of a Gaussian vector with matching mean and variance. For a vector z = (z r : 1 f r f m) &#8712; R m , let max z = max r&#8712;[m] z r be the value of the maximum entry of z. The following result is a simplified version of Theorem 2.5 of <ref type="bibr">Chernozhukov et al. (2022)</ref> adapted for our setting.</p><p>Theorem 4.7 (Gaussian Approximation, Simplified i.i.d. Case). Let (Z i :</p><p>for a constant C &#187; depending on &#187; only.</p><p>Gaussian comparison results like this provide probability-theoretic foundations for high-dimensional inference tasks, such as construction of simultaneous confidence intervals for high dimensional mean vectors.</p><p>When studying the joint randomness of the CV risk estimates of m estimators, it is more convenient to use vector notation. Let &#8467; be the vector version of (&#8467; (r) : 1 f r f m). Define &#8467; n , ln , Rcv,n,K , and Rcv,n,K accordingly. Let S n be the m &#215; m diagonal matrix with the rth diagonal entry being &#195; (r)</p><p>n (X 0 )), and &#915; n the correlation matrix of &#8467; n (X 0 ):</p><p>Our goal is to characterize the simultaneous fluctuation of Rcv,n,K as an m-dimensional random vector. Theorem 4.2 implies that the mdimensional vector &#8730; nS -1 ntr ( Rcv,n,K -Rcv,n,K ) is entry-wise asymptotically standard normal, provided that, among other regularity conditions, the loss stability condition (4.3) holds for each estimator f (r) . Therefore, it is natural to consider the corresponding multivariate Gaussian vector Y n &#8764; N (0, &#915; n ) as the target in the high-dimensional Gaussian comparison.</p><p>More specifically: Does (4.23) still hold when W n is replaced by</p><p>The following result provides a positive answer to this question under a strengthened version of the stability condition (4.3).</p><p>Theorem 4.8. Let (X i : i g 0) be a sequence of i.i.d. sample points, and ( f (r) : r &#8712; [m]) a collection of symmetric estimators. Assume 1. there exists a positive constant &#179; and a sequence &#1013; n such that, for all r &#8712; [m] and all n, &#8730; nK</p><p>2. and there exists a finite positive constant &#187; such that for all r and n l(r) </p><p>In Theorem 4.8, we allow the number of models m = m n to vary with n. Equations (4.25) and (4.26) are counterparts of (4.3) and (4.4) respectively. The sub-Weibull tail enables a simultaneous upper bound on many residual terms. The factor of &#8730; K on the LHS of (4.25) is necessary here because the "free nabla trick" used in the proof of Theorem 4.2 no longer works for general L q norms and we can only use Rio's inequality within each test sample fold and resort to triangle inequality to combine the folds. Condition (4.25) is less stringent for smaller values of K, and becomes comparable to (4.3) if K = O(1). In practice, K-fold CV with a constant K, such as K = 5 and K = 10, is perhaps the most common version.</p><p>Remark 4.3. Theorem 4.8 is stated for the maximum entry of the marginally standardized error vector, which corresponds to one-sided simultaneous confidence bound. The same result can be easily extended to a two-sided version in that (4.28) holds true, under the same conditions, for the corresponding vectors of absolute values | Rcv,n,K -Rcv,n,K | and |Y n |. This can be achieved by considering m more loss functions &#8467; (r+m) = -&#8467; (r) for r &#8712; [m] and applying Theorem 4.8 to these 2m loss functions.</p><p>Proof of Theorem 4.8. The proof is based on a more refined version of the asymptotic linear representation (4.5) using the sub-Weibull stability condition. Let</p><p>By Theorem 4.</p><p>15, each &#8226; n,r , the rth coordinate of &#8226; n , is (2&#1013; ntr , &#179;+1)-SW. Consider i.i.d. random vectors Z i = S -1 ntr lntr (X i ). Condition (4.26) and Theorem 2.3 imply that max |Z 1 <ref type="formula">1</ref>) , (4.29) where the last o(1) statement comes from the first part of (4.27).</p><p>Under the second part of (4.27), one can find a &#182; n such that</p><p>where the first o(1) in the second inequality comes from (4.29), the second o(1) in the same line comes from the fact that max |&#8226; n | is (c &#179; &#1013; ntr (log m) &#179;+1 , &#179; + 1)-SW as guaranteed by Theorem 2.3 and the choice of &#182; n , and the last inequality comes from a Gaussian anticoncentration result <ref type="bibr">(Chernozhukov et al., 2022, Lemma J.3</ref>). Similarly we can obtain the other direction and conclude the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>High-dimensional Gaussian comparison with deterministic centering.</head><p>It is possible to extend Theorem 4.8 to deterministic centering. While it is desirable to have a result analogous to Proposition 4.2, the dichotomy of whether the validation uncertainty dominates the fitting uncertainty needs to be checked for each coordinate. Define &#181; n , g n (X 0 ), and &#7713;n (X 0 ) as the vector versions of &#181; n , g n (X 0 ), and &#7713;n (X 0 ), respectively. For simplicity, we consider the following two scenarios.</p><p>In the first scenario, where</p><p>n &#1013; n , &#179;)-SW for all r &#8712; [m] with &#1013; n vanishing fast enough in the sense of (4.27), then Theorem 4.8 would hold for the deterministic centering without much modification. The following theorem is a deterministic centering counterpart of Part 1 of Proposition 4.2. Theorem 4.9. Assume the same conditions in Theorem 4.8.</p><p>n &#949;n , 3)-SW for all r &#8712; [m] with &#949;n (log m) 3+1 = o(1), then</p><p>Proof of Theorem 4.9. For the first part, let &#8226;n = &#8730; n max |S -1 ntr ( Rcv,n,K -&#181; ntr )|. The sub-Weibull condition assumed on &#8711; 1 R (r) (D n ) implies that, by Theorem 2.5 and triangle inequality, each coordinate of</p><p>for some constant c 3 depending only on 3.</p><p>The condition &#949;n (log m) 3+1 = o(1) ensures existence of a sequence &#182;n such that &#182;n = o(1/ &#8730; log m) and (log m) 3+1/2 &#1013; ntr = o( &#182;n ). Therefore,</p><p>where the first inequality follows from union bound, the second inequality from Theorem 4.8 and the sub-Weibull tail of &#8226;n , the third from Gaussian anti-concentration (Lemma J.3 of <ref type="bibr">Chernozhukov et al. (2022)</ref> since &#182;n = o(1/ &#8730; log m). The other direction can be established similarly.</p><p>In the second scenario, when &#8711; 1 R (r) is large as in the second case in Proposition 4.2 for some values of r, the deterministic centering would lead to a different asymptotic correlation matrix, whose (r, s)-entry equals Corr( l(r)</p><p>The following theorem is a deterministic centering counterpart of Theorem 4.4.</p><p>n is (&#187;, &#179;)-SW with constants (&#187;, &#179;), and &#1013; n such that (4.27) holds, then</p><p>where T n is an m &#215; m diagonal matrix with the rth diagonal entry being</p><p>n , and Y n a centered Gaussian vector whose covariance matrix has (r, s)-entry Corr( l(r) ntr (X 0 ) + &#7713;(r) ntr (X 0 ), l(s) ntr (X 0 ) + &#7713;(s) ntr (X 0 )).</p><p>Proof of Theorem 4.10. Using the vector versions of (4.8), (4.9), and (4.14), we have</p><p>where &#8226;n is the analogous version of &#8226; n in the proof of Theorem 4.8 with S n replaced by T n . The first-order stability condition implies that &#8226;n is component-wise (c &#179; &#1013; n , &#179; + 1/2)-SW, and the martingale decomposition of</p><p>The rest of the proof follows a similar argument as in Theorem 4.9.</p><p>A fully consolidated version of deterministic centering Gaussian comparison would involve studying the scenario where the risk stability condition &#8711; 1 R (r) (D n ) j n -1 for some but not all coordinates r &#8712; [m],</p><p>which is an open problem. Practically, the random centering Gaussian comparison is easier to use with easier-to-verify assumptions. In some applications, random centering Gaussian comparison provides sufficient theoretical support for non-trivial inference problems. We provide a couple of such examples in Section 5.</p><p>Variance and correlation estimation. In order to use the high-dimensional Gaussian comparison Theorem 4.8 to construct confidence sets for Rcv,n,K , one needs to estimate not only the marginal variances (&#195; (r) ntr ) 2 for r &#8712; [m], but also the pairwise correlation &#915; ntr (r, s) in (4.24). The same argument in the proof of Theorem 4.3 can provide entry-wise L 2 -consistency of the sample variance and correlation estimates. However, such entry-wise consistency is not sufficient for high-dimensional inference, because when m = m n increases with n, the Gaussian comparison result is not a central limit theorem as there is no fixed limit of convergence in distribution. To make valid inference with the estimated variances and correlations, we need a more refined error analysis of the estimated variance and covariance, which will be detailed in Section 5.1 below.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Rates of Convergence.</head><p>In this article we do not keep track of the rates of convergence in CLT or Gaussian comparison as we focus on asymptotically valid inference which only requires vanishing Kolmogorov-Smirnov distance between the scaled and centered CV risk estimate and the corresponding Gaussian distribution. As mentioned in Remark 4.1, such rates of convergence are available by adapting the proofs, assuming a specific rate of convergence on the loss stability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Auxiliary Lemmas</head><p>In this subsection we collect the auxiliary lemmas used in earlier subsections.</p><p>The following lemma explains the "free nabla" trick.</p><p>Lemma 4.11 (Free Nabla Lemma). Let D = (X 1 , ..., X n , X &#8242; 1 , ..., X &#8242; n , W ) be independent random objects such that for each i &#8712; [n], X i and X &#8242; i have the same distribution. Let h and g be two functions that act on subsets of D such that for some i &#8712; [n] 1. g(D), h(D), and g(D)h(D) all have finite L 1 norms, 2. E X i g = 0, and 3. h does not involve X &#8242; i .</p><p>Then</p><p>The operator &#8711; i in this lemma is defined in the usual sense since h does not involve X &#8242; i . In particular, &#8711; i h is the difference between the original h and the one obtained by replacing X i by X &#8242; i in the calculation of h.</p><p>Proof of Theorem 4.11. Let h i be the version of h obtained by swapping X i and X &#8242; i in D. It suffices to show that E(gh i ) = 0. In fact, by construction h i does not involve X i since h does not involve X &#8242; i . Thus</p><p>The following lemma provides a convenient bound on &#8711; i &#192; j for i / &#8712; I k j .</p><p>Lemma 4.12.</p><p>Proof of Theorem 4.12. Let D i n,-k j be the dataset obtained by replacing X i by X &#8242; i in D n,-k j while keeping everything else the same. Then</p><p>where the last step follows from</p><p>by first taking expectation over X j .</p><p>The following lemma is a special case of Rio's inequality Theorem 2.4 and generalizes Theorem 2.5. Lemma 4.13 (Rio's Inequality For Conditionally Independent Sequences). Let Z 1 , ..., Z n be random variables that are conditionally independent given a &#195;-field C such that E(Z i |C) = 0 for all i. Then for any q g 2,</p><p>Proof of Theorem 4.13. The proof is identical to that of Theorem 2.5.</p><p>Theorem 4.13 can be used to prove various important consequences of the loss stability, collected in the following lemma. </p><p>The following holds for any fixed q g 2 and each i &#8712; [n],</p><p>3.</p><p>Proof of Theorem 4.14. For Part 1, the first inequality follows from the conditional version of Rio's inequality as applied to the martingale increment sequence</p><p>for 1 f i f n, as in the proof of Theorem 2.5. The second inequality follows from the first one and Jensen's inequality. The third one follows from triangle inequality.</p><p>In the proofs of Parts 2 and 3, without loss of generality we assume i = 1 and k 1 = 1.</p><p>For Part 2, observe that</p><p>where the second line follows from an application Theorem 4.11. For Part 3, consider k &#824; = 1 and observe that (&#8711; 1 &#192; i : i &#8712; I n,k ) is a martingale increment sequence with respect to the collection of nested &#195;-fields:</p><p>where the first inequality follows from Theorem 4.13 because (&#8711; 1 &#192; i : i &#8712; I n,k ) are conditionally i.i.d. given (D n,-k , X &#8242; 1 ) and have conditional expectation 0. Then the desired result follows from the triangle inequality by summing over k &#8712; {2, ..., K}.</p><p>For Part 4, fix a k &#8712; [K], then using Theorem 4.13 and Part (1) we obtain</p><p>Thus the claimed result follows from triangle inequality.</p><p>The following lemma provides &#8467; q norm bound for the random centering residuals.</p><p>Lemma 4.15. Let (X i : i g 0) be an i.i.d. sequence, f a symmetric estimator, and &#8467;(&#8226;, &#8226;) a loss function.</p><p>Proof of Theorem 4.15. Use notation</p><p>and the result follows from Part 4 of Theorem 4.14.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">Bibliographic Notes</head><p>The rigorous normal approximation of cross-validated statistics has been conjectured and regarded as an open problem in <ref type="bibr">Yang (2006)</ref>.</p><p>The univariate and low-dimensional central limit theorems for crossvalidated risk estimates are first established in <ref type="bibr">Bayle et al. (2020)</ref> and <ref type="bibr">Austern and Zhou (2024)</ref>. The random centering CLT based on the first-order loss stability (4.3) presented in Theorem 4.2 largely follows the argument in <ref type="bibr">Bayle et al. (2020)</ref>. The same random centering CLT is also proved in <ref type="bibr">Austern and Zhou (2024)</ref>, which relied on an additional second-order loss stability as in Part (b) of Assumption 4.1. This secondorder stability condition turned out to be redundant for the random centering CLT. While <ref type="bibr">Bayle et al. (2020)</ref> does not offer a deterministic centering CLT, Austern and Zhou (2024) provides one. Our deterministic centering CLT (Theorem 4.4) requires fewer assumptions and offers additional insights through the asymptotic linear representation of the G term as well as the consolidated version Proposition 4.2. In particular, unlike <ref type="bibr">Austern and Zhou (2024)</ref>, our deterministic centering CLT does not require the second-order loss stability or a specific bound on the first-order risk stability. Our consolidated version Proposition 4.2 also makes it clear that, when the risk variability is non-negligible, it is the relative size of the second-order risk stability to the first-order risk stability that matters. In addition to simplified assumptions, our proof of the deterministic centering CLT is also substantially simpler than that of <ref type="bibr">Austern and Zhou (2024)</ref>. Our proof clearly reflects the role played by stability, which is solely in the asymptotic linearity of the CV risk estimate. The deterministic asymptotic variance estimate presented in (4.19) is the same as the one proposed in <ref type="bibr">Austern and Zhou (2024)</ref>.</p><p>A deterministic-centering CLT for K-fold cross-validation is established by <ref type="bibr">Li (2023)</ref> for regression under high-level assumptions, including (i) the third derivative of the loss with respect to the regression function's value is identically zero, and (ii) the estimated regression function admits an asymptotic linear representation. These assumptions are highly nontrivial: The third-derivative condition forces &#8467;((z 0 , y 0 ), f ) to depend on f quadratically in f (z 0 ), and the asymptotic linear representation is an abstract property of the loss/estimator pair which requires verification. The developments in Section 4.2 show that the stability conditions in Theorem 4.4 and proposition 4.2 are sufficient to guarantee such asymptotic linear representations.</p><p>The high-dimensional Gaussian comparison for independent random vectors has been studied as early as in <ref type="bibr">Bentkus (2003)</ref>, with a major breakthrough in <ref type="bibr">Chernozhukov et al. (2013)</ref> that allows the dimensionality to be exp(n a ) for small values of a. Many further developments have been made since <ref type="bibr">Chernozhukov et al. (2013)</ref>, with the most recent ones being <ref type="bibr">Chernozhukov et al. (2022)</ref> and <ref type="bibr">Chernozhukov et al. (2023)</ref>. Readers are referred to those papers for a more comprehensive literature review on this topic. In our case we used results from <ref type="bibr">Chernozhukov et al. (2022)</ref> as it does not require the asymptotic covariance matrix &#915; n to be non-degenerate. It is possible to use more refined techniques, such as those in <ref type="bibr">Chernozhukov et al. (2023)</ref>, to obtain approximation error bounds with better dependence on n.</p><p>The high-dimensional Gaussian approximation for cross-validated risks presented in Section 4.3 is developed in <ref type="bibr">Kissel and Lei (2022)</ref>, which is motivated from the model selection literature <ref type="bibr">(Lei, 2020)</ref>. The proofs presented in this article are much simpler and more streamlined than those in <ref type="bibr">Kissel and Lei (2022)</ref>, and feature a similar reduction in required assumptions as in the univariate CLT. Our Gaussian comparison result for cross-validation can also be viewed as an instance of high-dimensional Gaussian comparison for dependent data. Existing results in the literature include vector-valued U -statistics <ref type="bibr">(Chen, 2018</ref>) and vector-valued stochastic processes with mixing properties <ref type="bibr">(Chang et al., 2024;</ref><ref type="bibr">Kurisu et al., 2024)</ref>. These results are based on a short-range dependence structure, where the dependence between two random vectors decays quickly as the indices move apart from each other. However, such a structure does not hold for cross-validation, where the loss functions evaluated at any two sample points have a small but nonzero correlation due to the involvement of sample points in both evaluation and estimation. tuning parameter selection, the stochastic dominance condition becomes less plausible, and, in order to take into account the uncertainty in the CV risk estimates, it becomes more reasonable to aim at finding all "nearly optimal" models. The tools developed in Section 4.3 are suitable for this purpose.</p><p>From risk confidence set to model confidence set. Suppose we run K-fold CV for each of the m candidate estimators. Our goal is to learn</p><p>and in the case that there exist multiple good models with close to optimal values, find a confidence set &#920; &#166; [m] such that</p><p>for some pre-specified Type I error level</p><p>&#180;. It may not seem entirely natural to choose r * as the target parameter of interest, as it is the average risk of K fitted parameters obtained from K leave-one-fold-out estimates. This choice is aligned with Theorem 4.8, which provides simultaneous uncertainty quantification of Rcv,n,K -Rcv,n,K . Moreover, Theorem 4.9 suggests that if the risks are stable enough, then such a random centering result is equivalent to the deterministic centering with sample size n tr .</p><p>Let &#180;&#8712; (0, 1) be a nominal Type I error level and &#931; a positive semi-definite matrix. Define</p><p>where | &#8226; | means entry-wise absolute value. Then according to Theorem 4.8, under the conditions therein, the following is an asymptotic (1 -&#180;) simultaneous confidence set<ref type="foot">foot_4</ref> of Rcv,n,K :</p><p>where &#915; ntr is the correlation matrix defined in (4.24). However, the confidence set in (5.4) is not practical as it involves unknown quantities: (&#195; (r) ntr , &#915; ntr , t &#180;,&#915;n tr ). We can estimate &#195; ntr for each r as in Theorem 4.3. Similarly, we can estimate &#915; ntr (r, s) by</p><p>(5.5)</p><p>After obtaining &#915;ntr , we can numerically approximate t &#180;,&#915; n tr using Monte Carlo methods. The quality of approximation depends on the Monte Carlo sample size and can be made arbitrarily small. In the following analysis we will ignore this approximation error and simply work under the assumption that t &#180;,&#915; n tr is available. However, our analysis does explicitly account for the estimation error in &#915;ntr and the difference between t &#180;,&#915; n tr and t &#180;,&#915;n tr .</p><p>Theorem 5.1. If (4.25) and (4.26) hold and</p><p>then for any &#180;&#8712; (0, 1)</p><p>Recall that (4.25) and (4.26) are the stability and tail conditions of the loss &#8467; (r) (X 0 , D n ), respectively. These conditions are stated uniformly over r &#8712; [m]. Intuitively, a K-fold version of Theorem 2.6 suggests that each coordinate of Rcv,n,K concentrates around its expected value at scale O(n -1/2 +&#1013; ntr ). The additional (log m) 3&#179;+4 factor required in (5.6) is used to ensure (i) the concentration of Rcv,n,K holds for all entries at the same time, and (ii) the correlation matrix estimation is uniformly accurate over all entries.</p><p>Proof of Theorem 5.1. We use simplified notation by dropping the subindices whenever there is no confusion: R = Rcv,n,K , R = Rcv,n,K , &#915; = &#915;ntr , &#915; = &#915; ntr . Let &#348; be the m &#215; m diagonal matrix whose rth diagonal entry is &#195;(r) ntr , and S its population version whose corresponding entry is &#195; (r) ntr . Define</p><p>We first control |W 0 -W 1 |, observe that</p><p>By Theorem 4.15 and Proposition 2.4, each entry of</p><p>)-SW and hence, by Theorem 2.3, the maximum entry-wise absolute value of</p><p>). Combine this with Part 1 of Theorem 5.2 we have</p><p>Next we relate t &#180;,&#915; to t &#180;,&#915; . Under the assumption that (&#1013; ntr + n -1/2 )(log m) 3&#179;+4 = o(1), there exists a sequence &#182; n such that</p><p>. By the Gaussian-to-Gaussian comparison result (Proposition 2.1 of <ref type="bibr">Chernozhukov et al. (2022)</ref>) we have, on E,</p><p>where c is a universal constant, and hence</p><p>Finally we arrive at the following inequalities</p><p>where the first inequality follows from union bound, the second from another union bound over (E, E c ) and the fact that t &#180;,&#915; f t &#732;,&#915; on E, the third from Theorem 4.8, the fourth from the Gaussian anti-concentration (Lemma J.3 of <ref type="bibr">Chernozhukov et al. (2022)</ref>), and the last line follows from the choice of &#182; n . A similar argument provides the other direction and concludes the proof.</p><p>Theorem 5.1 leads to a confidence set &#920; satisfying (5.2):</p><p>(5.7) In other words, this confidence set includes all models whose confidence lower bound is not dominated by all the confidence upper bounds, because otherwise we are 1 -&#180;confident that there exists an s such that R(s) cv,n,K &lt; R(r) cv,n,K , as witnessed by the s that violates the inequality in (5.7).</p><p>Proposition 5.1. Under the same conditions in Theorem 5.1, we have</p><p>Remark 5.1. The model confidence set given in (5.7) and its theoretical guarantee, Proposition 5.1, do not require the minimizer of Rcv,n,K to be unique. The interpretation of the coverage guarantee in Proposition 5.1 is that it holds marginally for each individual r * that minimizes R(r) cv,n,K .</p><p>Model confidence set based on differences. The model confidence set &#920;0 given in (5.7) is often too conservative as it compares the least optimistic prediction of R(s) cv,n,K with the most optimistic prediction of R(r) cv,n,K . Here the term "most optimistic" corresponds to the lower bound of the simultaneous confidence set and vice versa. In practice, the correlation between the loss functions calculated from different estimators tends to be positive, as they are targeting the same task of estimating the parameter. Therefore, it is highly unlikely that a large positive fluctuation of the CV risk estimate in one estimator is associated with a large negative fluctuation in another.</p><p>To take into account the likely positive correlation between the cross-validated risks, one approach is to consider the difference of CV risks and loss functions. For a given r, we want to test whether r &#8712; arg min s R(s) cv,n,K , which is equivalent to test</p><p>To this end, consider the difference loss function</p><p>(5.8)</p><p>The difference based model confidence is obtained by constructing a confidence lower bound for</p><p>by applying Theorem 4.8 to the (m -1)-dimensional vectors (&#8467; (r,s) (X i , D n,-k i ) : s &#824; = r). We include r in the model confidence set &#920; if and only if this confidence lower bound is non-positive.</p><p>Similarly define &#8467; (r,s) <ref type="figure">r</ref>,<ref type="figure">s</ref>) ntr be the empirical standard deviation estimated from {&#8467; (r,s) (X i , D n,-k i ) : 1 f i f n}, and &#915;(r) ntr the corresponding (m -1) &#215; (m -1) empirical correlation matrix.</p><p>To construct a confidence lower bound for max s&#824; =r R(r) cv,n,K -R(s) cv,n,K , we only need the quantile of the maximum of a one-sided Gaussian vector. For a positive semidefinite matrix &#915;, define u &#180;,&#915; = upper &#180;-quantile of max N (0, &#915;) .</p><p>(5.9)</p><p>Then we have the following result. , respectively, and (5.6) holds, then, for each r</p><p>Moreover, the confidence set</p><p>The proof of Proposition 5.2 is almost identical to that of Theorem 5.1 and is omitted.</p><p>Remark 5.2. As we mentioned in the motivation of the difference based CV model confidence set, the loss functions &#8467; (r) (&#8226;, &#8226;) and &#8467; (s) (&#8226;, &#8226;) are often positively correlated. If the estimators f (r) and f (s) are very similar, such as the same algorithm with two slightly different tuning parameter values, then the correlation can even be close to 1. Such a high correlation may lead to a very small standard deviation &#195; (r,s) n of the difference loss function, and hence pose additional challenge for the stability condition (4.25) to hold. Nevertheless, (4.25) is still conceptually similar to the original version in that it requires an o(1/ &#8730; n) factor after taking a &#8711; i operator in the parameter estimation part. We will provide an example of the difference loss stability in Section 6.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Lemma 5.2 (Correlation Estimation Accuracy</head><p>). Under the setting as in Theorem 4.8, assuming (4.25) and (4.26) such that (5.6) holds. Then</p><p>Proof of Theorem 5.2. For any r &#8712; [m] and i &#8712; [n], we use simplified notation</p><p>Condition (4.26) and Proposition 2.4 imply that li,r li,s is</p><p>Next we control &#196;rs -&#196;rs where &#196;rs = n -1 n i=1 (&#8467; i,r -Rr )(&#8467; i,s -Rs ) is the empirical estimate of &#196; rs . Using a decomposition</p><p>by Part 1 of Theorem 4.14 we have, for each r, &#8467; i,r -Rrli,r is (2 &#8730; &#196; rr &#1013; ntr , &#179; + 1/2)-SW. As a result, by Proposition 2.4, &#8467; i,r -Rr is ((&#187; + 2&#1013; ntr ) &#8730; &#196; rr , &#179; + 1/2)-SW, and therefore by Proposition 2.4,</p><p>Thus for n large enough, we have</p><p>The first part of the claimed result follows from the fact that | &#8730; x -1| f |x -1| for all x g 0. Now we prove the second part. Let</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Consistent Subset Selection Using CV Confidence Sets</head><p>What can we do with a model confidence set as constructed in either (5.7) or (5.10)? In general, model confidence sets can be used in the following three ways.</p><p>1. Model elimination. The coverage guarantee of model confidence sets ensures that we can only keep those in the confidence set for future exploration.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2.</head><p>Stopping rule in sequential model building. For example, in order to determine the number of steps in forward stepwise regression, in each step one can construct a confidence set by comparing the current model and all models with one more variable, then if the current model is included in the confidence set, it means going one more step will not significantly increase the performance and the procedure should stop.</p><p>3. Improved single model selection. In many scenarios, it is straightforward to pick a single element from the model confidence set. For example, one can pick a model having a particular desired feature suggested by subject knowledge. In the common situation of nested models, it is often beneficial to select the most parsimonious model in the confidence set. The motivation is a simple reflection of Occam's razor: With similar performance, the simpler one wins.</p><p>In this section, we will focus on a concrete example related to the third item in the list above: improved single model selection. What we will see is that, under fairly standard conditions in a classical linear subset selection problem, the most parsimonious model in the CV model confidence set can yield consistent subset selection while the ordinary CV fails.</p><p>To proceed, we consider a fixed-dimensional subset selection problem, where the data D n consists of n i.i.d. copies of X = (Y, Z) with</p><p>where Z &#8712; R p is the covariate vector, f &#8712; R p the regression coefficient, and &#8226; a mean-0 noise, independent of Z. Let J = {0, 1} p be the collection of all possible subsets of [p]. The goal is to recover J * , the support of f . It is well known, as illustrated in Example 3.1, that K-fold cross-validation that chooses</p><p>is generally inconsistent, regardless of the value of K. Instead, consistency requires reversed K-fold with a diverging K. The following result shows that, under certain regularity conditions, the most parsimonious element in the CV model confidence set (5.7) is consistent for conventional K-fold CV. In particular, let &#308;cvc = arg min{|J| : J &#8712; &#920;0 } .</p><p>Here the subindex "cvc" refers to "Cross-Validation with Confidence" <ref type="bibr">(Lei, 2020)</ref>. By construction, it is straightforward to check that &#308;cv is always contained in &#920;0 (and &#920;) as long as t &#180;,&#915; n tr g 0. Therefore, &#308;cvc is guaranteed to be at least as parsimonious as &#308;cv , and can be viewed as a correction of &#308;cv , which is known to be prone to overfitting in practice. In this regard, &#308;cvc is a principled approach to reflect a common intuition about CV: The ordinary CV tends to select a slightly over-fitting model, so the best model is usually achieved by one that is slightly more regularized than the ordinary CV choice.</p><p>Proposition 5.3. Assume the linear regression model with a fixed distribution of (Z, &#8226;) that does not change with n, such that</p><p>and all entries of Z and &#8226; are (1, &#179;)-SW for an &#179; &gt; 0. Let &#8467;(x, f ) = (yz T f ) 2 be the squared loss. If, for each J, f (J) (D n ) is supported only on J and satisfies the stability condition</p><p>for a sequence &#1013; n = o(1); and for each</p><p>(5.13)</p><p>for all n large enough, and &#180;= &#180;n satisfies &#180;n = o(1) and &#180;n &gt; 1/n then</p><p>Here, the inner &#8741; &#8226; &#8741; denotes the Euclidean norm of a p-dimensional vector.</p><p>Remark 5.3. Proposition 5.3 is stated with a set of pretty strong but reasonable conditions to deliver the desired model selection consistency result. These conditions can be verified in the setting of Example 3.1 to show that the most parsimonious element in the confidence set can lead to consistent (or bounded error probability if &#180;is a fixed constant) model selection with a standard K-fold cross-validation scheme. Nearly all the conditions can be relaxed to some extent with lengthier bookkeeping and/or more refined arguments. We list some possible relaxations below.</p><p>1. The dimensionality p, the smallest non-zero entry of f , and the eigenvalues of &#931; Z , can be allowed to change with n at slow enough rates. These may require faster rates of the stability term. In particular, let &#188; min and f min be the smallest eigenvalue of &#931; Z and the smallest non-zero entry of f , respectively. Instead of (5.13), now assume that</p><p>to ensure (5.15), and p 1/2 &#1013; n = o(1) to establish (5.16).</p><p>2. The stability condition can be relaxed to L 2 -norm instead of sub-Weibull, with the addition of the uniform integrability as in Theorem 4.3 (which implies the Lindeberg condition (4.4)).</p><p>3. The requirement of J * = arg min &#181;</p><p>n can be relaxed to</p><p>using the Gaussian anti-concentration inequality.</p><p>Moreover, it is also possible to obtain a similar consistency of &#308;cvc for the difference-based CV model selection confidence set &#920; in (5.10). The conditions and arguments would be similar to those of Proposition 5.3, with everything stated for the difference of the estimated parameters.</p><p>Now we examine the practical plausibility of the two conditions (5.12) and (5.13). First, (5.13) corresponds to the standard root-n-consistency for correctly specified linear regression models. The maximum likelihood estimator and least squares estimator often satisfy this in the fixed-p setting. To examine the stability condition (5.12), let f be an estimate of f obtained from D n using the least squares method. For notational convenience we will consider &#8711; n instead of &#8711; 1 . Let &#931;n be the sample covariance matrix from D n , and &#915;n = n -1 n i=1 Z i Y i . Then we have, by the Sherman-Morrison formula,</p><p>where only the second terms in each factor involve (Z n , Y n ), both of which are of order O P (1/n). Thus &#8711; n f = O P (n -1 ), making (5.12) plausible for any &#1013; n k n -1/2 .</p><p>Proof of Proposition 5.3. Let J 0 = {J &#166; [p] : J * &#170; J} and J 1 = J \J 0 . For an arbitrary J &#8712; J , using f and</p><p>which is (cn -1/2 &#1013; n , &#179; &#8242; )-SW for some universal constant c and &#179; &#8242; depending only on &#179;.</p><p>Therefore, the K-fold version of Theorem 2.6 implies that R(J) cv,n,K = &#181; (J) ntr + O P (n -1/2 + &#1013; n ) for each J. For J &#8712; J 0 , the corresponding f (J) satisfies &#181; (J) ntr g Var(&#8226; 0 ) + C for a positive constant C depending on the minimum eigenvalue of &#931; Z and the minimum nonzero entry of f , while &#181;</p><p>As a result, with probability tending to 1 we have</p><p>&#915;n tr , (5.14) because the fluctuation &#195;(J) ntr t &#180;n, &#915;n tr / &#8730; n in the confidence set is of order at most log(p/&#180;n)/ &#8730; n, which is not enough to override the gap between &#181; (J)</p><p>ntr and &#181;</p><p>ntr . As a result we have <ref type="formula">1</ref>) .</p><p>(5.15)</p><p>Now for J &#8712; J 1 , we have, letting</p><p>which is (cn -1 &#1013; n , &#179; &#8242; )-SW. Thus using the deterministic version of Theorem 5.1 and Theorem 4.9, we have</p><p>where &#915;ntr,1 is the submatrix of &#915;ntr restricted to J 1 . Because t &#180;n, &#915;n tr g t &#180;n, &#915;n tr ,1 , (5.16) also holds for t &#180;n, &#915;n tr . Now combine this with (5.15) we conclude that P( &#308;cvc = J * ) = 1o(1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Testing Many Means</head><p>In this subsection, we demonstrate an application of the tools developed in Section 4 in a prototypical inference problem at the intersection of high-dimensional inference, multiple comparison, and selective inference. Let (X i : 1 f i f n) be an i.i.d. sample in R m with EX 1 = &#977; = (&#977; 1 , ..., &#977; m ) T . We are interested in testing H 0 : max &#977; f 0 , vs H a : max &#977; &gt; 0 .</p><p>(5.17)</p><p>This problem has many connections to other well-studied problems. Here we briefly mention two examples. A more comprehensive literature review is given in Section 5.6. One example is marginal regression, where we have a response variable and an m-dimensional covariate vector. Let each X i,r be the product of the response and the (centered) rth covariate in the ith sample point; then the problem (5.17) corresponds to testing whether any covariate has positive correlation with the response, and it can be extended to testing any non-zero correlation. Such a test is useful, for example, in deciding the stopping rule in forward stepwise regression. Another example is evaluation of many fitted prediction models. Assume there are m regression or classification probability functions, fitted from external training data. We want to compare their performance on a target data distribution from which we have n i.i.d. samples points. Then each X i,r corresponds to the realized loss function of the rth prediction function on the ith sample point. The testing problem (5.17) corresponds to testing whether any of these m prediction models are better than a benchmark, assuming, after re-centering, that the benchmark has 0 risk.</p><p>Our proposed solution to the testing problem (5.17) is based on constructing a confidence lower bound for the parameter &#185; = max &#977; and shares some similarity with the problem of selective inference. To begin with, observe that (5.17) is equivalent to</p><p>&#977; s or an arbitrary element in arg max s&#8712;[m] &#977; s if the maximum is achieved at multiple entries. The optimal index s * is usually unknown and can be regarded as an auxiliary parameter (or nuisance parameter), the knowledge of which would make the inference problem much easier. If s * were known, then one can apply any one-sample location test such as Student's t-test or its robust versions to solve (5.17). When s * is unknown, the ordinary one-sample location test applied to &#349;, defined as the argmax of the sample mean &#952;, will generally lead to biased inference due to the "double-dipping" or "selection bias" issue, meaning that the same data is used to select the index &#349; and to compute the test statistic. Thus any valid inference must take into account the randomness in &#349;. Existing approaches include the following.</p><p>&#8226; Selective Inference. This framework aims at making the p-values conditionally valid on the event &#349; * = s for each s &#8712; [m]. These methods typically require non-trivial assumptions on the data distribution and the power can be less than ideal due to the conditioning.</p><p>&#8226; Simultaneous Inference. This framework relies on controlling the simultaneous fluctuation of the sample mean vector &#952;, such as in the high-dimensional Gaussian comparison result in a similar fashion as in Proposition 5.2. This approach does not require conditioning but the worst-case bound could be loose if there are many "obviously bad" coordinates.</p><p>Our approach aims at striking a balance between these two: We want to focus on the few entries that showed enough promise to be legitimate candidates for s * , which allows us to avoid having the typical &#8730; log m additional width of the confidence bound as in the simultaneous inference. On the other hand, we also want to avoid conditioning on selection. The key idea is that conditioning is unnecessary if the selection is stable and the test statistic is cross-validated. In fact, we have more to offer: If the selection is stable and the test statistic is cross-validated, a confidence lower bound on max &#977; can be constructed from an asymptotically normal test statistic with a small conservative bias.</p><p>Cross-validated max-entry evaluation. The first idea for fixing the double-dipping issue with data-driven max-entry selection is to split the sample used for selecting &#349; and to evaluate &#977; &#349;. Consider a leave-one-out CV scheme:</p><p>Unfortunately this Tn is not generally asymptotically normal. To see why, observe that for each i, the quantity</p><p>The stability condition (4.3) does not hold for this &#8467;(x, D). In particular, consider the case of m = 2, &#977; 1 = &#977; 2 = 0, X i &#8764; N (0, I 2 ). The contribution of sample point j in the comparison between &#952;(-i)</p><p>if X j is replaced by an i.i.d. copy X &#8242; j . When this happens, the resulting change in</p><p>). Even such a narrow miss of o(&#8226;) to O(&#8226;) would lead to a failure of the CLT, as demonstrated in the simulation in Figure <ref type="figure">5</ref>.1, where the histogram of Tn in (5.18) is plotted in green, which clearly deviates from the standard normal density curve (black curve). This also demonstrates the sharpness of the stability condition (4.3) in Theorem 4.2 -even relaxing o P (n -1/2 ) to O P (n -1/2 ) may lead to failure of the CLT! Stabilizing the maximum value. The main reason for the instability of X i,&#349; (-i) is that &#349;(-i) may change completely when a single data point is perturbed. Such an instability of discrete argmax can be treated using techniques developed in differential privacy <ref type="bibr">(Dwork and Roth, 2014)</ref>. In general, differential privacy requires a statistic to be "insensitive" to perturbations at any individual sample point, which is closely related to the first-order stability condition. Inspired by the "exponential mechanism" <ref type="bibr">(McSherry and Talwar, 2007)</ref>, we consider the following cross-validated softmax statistic:</p><p>with weights &#373;(-i)</p><p>) .</p><p>The exponential mechanism stabilizes the maximum value by "softening" the indicator of the maximum entry to a weight vector, &#373;(-i) , with larger entries receiving more weight. By construction, the weights are smooth functions of the sample means, and hence enjoy a similar level of stability as the sample means. The quantity</p><p>where s(-i) is sampled according to the weight &#373;(-i) , which is a smoothed version of &#349;(-i) .</p><p>The coefficient &#188; is a tuning parameter in the exponential mechanism. A larger &#188; puts more weight on large entries, which has less bias but is less stable. In the extreme case</p><p>Theorem 5.3 is a direct consequence of Theorem 4.2. The choice of notation R i has a direct correspondence with R(D n,-i ) in the context of Theorem 4.2.</p><p>The conditions in Theorem 5.3, although directly corresponding to those in Theorem 4.2, are still somewhat abstract in the context of the many means testing problem. In particular, Theorem 5.3 does not specify which &#188; would lead to the stability condition</p><p>We provide a set of more transparent sufficient conditions in the proposition below.</p><p>Proposition 5.4. Let &#931; = E(X 1&#977;)(X 1&#977;) T be the covariance matrix. Assume</p><p>&#8226; There exist a pair of positive constants c 1 , c 2 such that w</p><p>Remark 5.4. In Theorem 5.3 and Proposition 5.4, we allow for the triangular-array setting where m may change with n. Moreover, all the theoretical results and methods developed below can be extended to K-fold CV for any value of K. It would be possible to relax the L &#8734; -norm bound on X i,s to sub-Weibull type bound using more refined arguments.</p><p>The choice of &#188; n = o( &#8730; n) is used to cover the worst-case scenario.</p><p>In most realistic situations, such as when there are a few coordinates whose &#977; s values are substantially larger than the rest, then the stability condition can be satisfied by larger values of &#188; n . We discuss data-driven choices of &#188; below after proving Proposition 5.4 and describe the test procedure.</p><p>Proof of Proposition 5.4. We first show that &#195; n = &#8486;(1). In fact</p><p>To simplify notation, we write &#373;(-i)</p><p>as w s , and &#373;(-i,j)</p><p>obtained from replacing X j by X &#8242; j . We also write &#952;(-i) as &#952;, and &#952;&#8242; the corresponding perturb-one version. By construction</p><p>Recall that n tr = n-1 since we are considering LOOCV. By construction we have for each s &#8712; [m]</p><p>Similarly we can show w &#8242; s ws g exp(-4&#188; n n -1 tr B), and the claimed result follows.</p><p>Remark 5.5. One may wonder whether the exponential weighting trick alone can fix the failure of CLT in the statistic Tn in (5.18) without cross-validation. That is, consider</p><p>Qi with Qi = s&#8712; <ref type="bibr">[m]</ref> ws X i,s and ws &#8733; exp(&#188; &#952;s ). The empirical distribution of Tn is plotted as the blue histogram in Figure <ref type="figure">5</ref>.1, showing a clear shift from the desired standard normal curve. This demonstrates that both cross-validation and exponential weighting are necessary to achieve asymptotic normality for the (randomly centered) statistic T n in (5.19).</p><p>Inference. As seen in the proof of Proposition 5.4, we have &#195; 2 n &#8781; 1, and</p><p>Thus the conditions required in Theorem 4.3 are also satisfied, which leads to the following.</p><p>Corollary 5.4. Let &#195;n be the empirical variance of (Q i : i &#8712; [n]). Under the conditions in Proposition 5.4, &#195;n /&#195; n &#8594; 1 in probability, where</p><p>Moreover, for &#180;&#8712; (0, 1), let u &#180;be the (1-&#180;)-quantile of the standard normal, then the statistic T n defined in (5.19) satisfies</p><p>(5.20)</p><p>Proof of Theorem 5.4. The consistency of variance estimation follows directly from Theorem 4.3. Now we prove the second claim.</p><p>where the inequality follows from the fact that R i f max &#977;, and the last equation follows from Theorem 5.3. Therefore, the following rejection rule is asymptotically valid for the testing problem (5.17) at nominal level</p><p>&#180;,</p><p>Bias and power analysis. In the confidence lower bound in Theorem 5.4, the term due to the variance, which is &#195;n u &#180;/&#8730; n, does not involve the dimensionality m. This is in sharp contrast with the simultaneous inference approach, which, in the case of independent coordinates, would typically involve a &#8730; log m factor associated with the variance term. Such a reduction in variance is gained at a price of a bias term max &#977;-n -1 i&#8712;[n] R i . Empirically the cross-validated and exponentially weighted confidence lower bound in (5.20) with an adaptively chosen &#188; (see below) usually achieves a favorable bias-variance trade-off when compared to other methods. Here we provide a simple upper bound of this bias under a boundedness condition. Proposition 5.5. If |X i,s | f B &lt; &#8734; almost surely for all i, s, and</p><p>Then there exists a constant C such that</p><p>Proof of Proposition 5.5. Without loss of generality, assume</p><p>and s &#8712; T if we pick C large enough in the definition of T . Therefore, on event E, we have</p><p>Proposition 5.5 implies that the test statistic T n is asymptotically powerful against alternatives with signal size &#201;(log(m + n)/&#188; n ). See Section 5.6 for further references on power analysis and numerical results.</p><p>Choosing the tuning parameter. As mentioned in the discussion after Remark 5.4, the requirement of</p><p>4 is for the worst-case scenario. For an example of a non-worst-case scenario, suppose the largest entry &#977; s * k &#977; s for s &#824; = s * , the selection of arg max &#952;s would be stable even without the exponential mechanism. In general, the optimal choice of &#188; n should be as large as allowed by the stability condition, and is often a complex function of the mean vector &#977; and covariance matrix &#931;.</p><p>Suppose we are given a finite collection L of candidate values of &#188;, a plausible strategy is to select the largest one in this set such that the stability condition holds approximately.</p><p>By the insight in Proposition 4.1, the stability condition we want to check for each &#188; &#8712; L is the following:</p><p>for j &#824; = i, where &#195; 2 ntr is defined as in Theorem 5.3. The quantity &#195; 2 ntr can be estimated using the sample variance of (Q i : 1 f i f n) as in Theorem 4.3. Here we only need to estimate</p><p>2 . We use a leave-two-out bootstrap estimate. For a distinct triplet</p><p>Thus we estimate</p><p>dently sampled index triplets. Here B is the bootstrap sample size. Denote this estimate as &#182;2 (&#188;) for each &#188; &#8712; L.</p><p>Finally, we choose &#188; as the largest value in a given candidate set such that, for some small constant &#949; (e.g., &#949; = 0.05),</p><p>where &#195;2 (&#188;) is the corresponding estimate of &#195; 2 ntr .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">Argmin Confidence Set</head><p>In this subsection, we shift our focus to inference on the location of the minimum of &#977;, rather than the minimum value itself. Specifically, the inference target is &#920; = arg min s &#977; s , the set of indices that achieve the minimum value of &#977;. This problem is closely related to tasks such as identifying the univariate regression model with the highest marginal correlation or selecting the best prediction function based on a validation dataset. The confidence lower bound for the maximum value of the mean vector, constructed in the previous subsection, can be readily transformed into a confidence set for the argmin of the mean vector.</p><p>The idea is similar to the difference-based model confidence set approach introduced in Section 5.1. For each r &#8712; [m], let &#977; (r) = (&#977; r -&#977; s :</p><p>Thus we construct a confidence set for arg min s &#977; s as follows.</p><p>0 is the hypothesis testing problem (5.17) for the mean vector &#977; (r) and sample (X</p><p>). Formally, we have the following.</p><p>Corollary 5.5. Assume that for all r &#8712; [m], |X (r) i,s | f B almost surely with a positive constant B, and that &#931; = E(X 1 -&#977;)(X 1 -&#977;) T has eigenvalues bounded and bounded away from zero by positive constants. If &#920; is constructed by testing each H (r) 0 using the rejection rule (5.21) corresponding to the mean vector &#977; (r) and data (X</p><p>One minor difference between Theorem 5.5 and Proposition 5.4 is the minimum eigenvalue condition. This is because, letting r = 1 for simplicity, the variance of E(Q</p><p>, where w(r) = (1, -w2 , -w3 , ..., -wm ) T and ws the expected value of &#373;(r,-i)</p><p>. Thus the variance is bounded and bounded away from zero whenever all eigenvalues of &#931; are so.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.5">Asymptotics of Cross-conformal Inference</head><p>In this subsection, we use the tools developed in Section 2 and Section 4 to study the asymptotic properties of cross-conformal prediction, a variant of split conformal prediction methods. In general, conformal prediction is a general framework that uses the exchangeability between sample points to convert arbitrary point estimators into prediction sets that enjoy certain worst-case coverage guarantee under very mild conditions. To keep the presentation concise and self-contained, we will focus on a regression setting, where each sample point</p><p>(5.23)</p><p>for a nominal non-coverage level &#180;&#8712; (0, 1). Here &#264;(z) := {y &#8712; Y : (y, z) &#8712; &#264;}, and hence (5.23) is equivalent to</p><p>Therefore, the coverage guarantee in (5.23) is marginal, which averages over the randomness of both (Y n+1 , Z n+1 ) and</p><p>One popular method to construct such a &#264; satisfying (5.23) is the split conformal method, which works as follows.</p><p>1. Let n tr &#8712; [1, n) be a fitting sample size, and n te = n -n tr be the corresponding calibration sample size.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Split the sample D</head><p>, which correspond to the fitting subsample and calibration subsample, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Fit a function s</head><p>The function s(x), known in the conformal prediction literature as the "conformity score function", measures the level of conformity (or agreement) of a sample point x with respect to the fitting subsample D tr . It usually consists of two components: a fitting part and an evaluation part. A typical example of s is s(y, z) = |y -f (z)|, where f is a fitted regression function obtained from D tr . It can be shown that, by exchangeability among {s(Y i , Z i ) : n tr + 1 f i f n + 1}, &#264;sc satisfies (5.23) for an arbitrary choice of s. The quantity psc (y, z) in Step 4 of the procedure above is called the "split conformal p-value" (a variant of conformal p-value.)</p><p>The split conformal method is simple and universal. However, its practical usefulness is often limited by two concerns: the reduced sample size used for model fitting and the added randomness due to sample splitting. Both concerns can be alleviated by the natural extension to a cross-validated version of split conformal.</p><p>The connection between split conformal and cross-validation is almost obvious: we fit a model from the fitting sub-sample and evaluate the average conformity on the calibration sub-sample. Then it seems natural to follow the cross-validation scheme to repeat this procedure by rotating the sample splitting through K folds and average over the resulting split conformal p-values. This leads to the cross-conformal prediction, as formally described below using the notation introduced in Section 2.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">For a given</head><p>where s(&#8226;, &#8226;; D) is the conformity score function fitted from D.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Let</head><p>In the above description of cross-conformal prediction, we omitted the rounding, ignored the 1/(n te + 1) term in the definition of pk (y, z), and changed the normalization factor from 1/(n te + 1) to 1/n te . These will only cause negligible differences in the resulting quantities and will disappear in the asymptotic analysis below. In return, we gain a perfect matching between the cross-conformal p-value pcc and a general cross-validation statistic considered in this article.</p><p>Due to the dependence caused by the fold rotation, the fold-specific conformal p-values pk (y, z) are often dependent and hence it is hard to claim the finite-sample distribution-free coverage guarantee (5.23) for the cross-conformal prediction set &#264;cc . However, in practice it is often observed that cross-conformal prediction sets offer accurate coverage with favorable efficiency (measured as the size of the prediction set) compared to the split conformal prediction set, thanks to a more efficient use of the data.</p><p>Here we use the tools developed in Section 2 and Section 4 to prove an asymptotic coverage guarantee for the cross-conformal prediction under two mild assumptions. In the rest of this subsection, we will use x to denote (y, z), and X i = (Y i , Z i ). Theorem 5.6. Under Assumption 5.1, if &#8741;&#8711; 1 s(X 0 ; D n )&#8741; q f &#1013; n for q g 1 and a sequence &#1013; n , then the cross-conformal p-value satisfies</p><p>As a consequence, if</p><p>In practice, it is often the case that &#1013; n &#8819; n -1 , thus the condition &#1013; n = o(n -1/2-1/q ) is plausible for q &gt; 2. The requirement of &#1013; n = o(n -1/2-1/q ) can be further relaxed if we strengthen the stability condition to &#8711; 1 s(X 0 ; D n ) being (&#1013; n , &#179;)-sub-Weibull. In this case it suffices to require &#1013; n = &#245;(n -1/2 ), where &#245;(&#8226;) means "o(&#8226;) up to a polylog factor".</p><p>Proof of Theorem 5.6. Define</p><p>Here we keep in mind that such an &#8467;(&#8226;; &#8226;) depends on an external random quantity X n+1 .</p><p>The proof consists of two steps. The first step is to show that, in the same spirit of Theorem 4.2,</p><p>In fact, letting</p><p>&#8818;n -1 + &#1013; q/(1+q) n .</p><p>(5.24)</p><p>To bound E&#192; i &#192; j in the final step of the inequality above, observe that E&#192; i &#192; j &#824; = 0 only if k i &#824; = k j and in this case using the "free-nabla" lemma (4.11), we have, using the bounded density assumption,</p><p>where the last equation follows from Theorem 5.7.</p><p>The next step is to show that</p><p>By construction, for each individual k, s(X 0 ; D n,-k ) and s(X n+1 ; D n,-k ) have the same conditional distribution given D n,-k . As a result we have</p><p>We have, using the martingale decomposition and Efron-Stein (Theorem 4.1)</p><p>Therefore, for any pair of k, k &#8242; &#8712; [K] we have</p><p>which further implies that</p><p>) .</p><p>(5.26) The claimed result follows from (5.24) and (5.26) because (5.25) implies that Q(X n+1 ; D n,-1 ) &#8764; U (0, 1).</p><p>Lemma 5.7. Under Assumption 5.1, there exists a constant c 1 such that</p><p>Proof of Theorem 5.7. We use shorthand notation to denote s(</p><p>By definition</p><p>(5.27) because the binary difference is nonzero only if the gap s(X 0 ) -s(X n+1 ) is dominated by the perturbation, whose absolute value equals &#8710;. Now we prove Part (a) as follows. For any &#1013; &gt; 0 we have</p><p>where the first inequality follows from (5.27), the second from union bound, the third from the bounded conditional density of s(X 0 ) given everything except X 0 , and the last by choosing &#1013; = &#1013; q/(1+q) n . For Part (b), the proof is similar except that taking expectation over X 0 before taking the L 2 norm increases the stability. For any &#1013; &gt; 0 we have</p><p>Now using triangle inequality we have</p><p>The claimed result follows by choosing &#1013; = &#1013; q/(2+q) n</p><p>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.6">Bibliographic Notes</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.6.1">Model Confidence Sets</head><p>The model confidence set problem appeared in the statistics and econometrics literature in various forms, including the "Fence Method" <ref type="bibr">(Jiang et al., 2008)</ref>, the penalized regression tuning confidence set <ref type="bibr">(Gunes and Bondell, 2012)</ref>, model confidence sets via backward F -tests <ref type="bibr">(Hansen et al., 2011;</ref><ref type="bibr">Ferrari and Yang, 2015)</ref>. Among these methods, the Fence Method is closest to the model confidence sets developed in Section 5.1, as it also computes a quality measure for each candidate model and accounts for the uncertainty of such measures. The model confidence sets developed in Section 5.1 are applicable in high-dimensional settings and have more flexible applications. The idea of using normal approximations to assess the uncertainty of CV model selection appeared as early as <ref type="bibr">Yang (2006)</ref>, who also pointed out necessity of, and challenges in, using the difference instead of individual losses. The CV model confidence sets based on high-dimensional normal approximations are rigorously studied in <ref type="bibr">Lei (2020)</ref> for single sample splits and in <ref type="bibr">Kissel and Lei (2022)</ref> for K-fold CV under stability conditions. In particular, <ref type="bibr">Kissel and Lei (2022)</ref> contains numerical examples demonstrating the advantage of the difference-based model confidence set ( &#920; in (5.10)) over the original confidence set based on simultaneous confidence interval of individual models ( &#920;0 in (5.7)).</p><p>The single-model selection estimator &#308;cvc , based on the "most parsimonious element in the confidence set", was proposed and studied in <ref type="bibr">Lei (2020)</ref>, who provided a consistency proof of &#308;cvc in a fixed-dimensional best subset selection setting for the difference-based CV confidence set. The model selection estimator &#308;cvc is a rigorously justifiable approach to correct for the overfitting issue of &#308;cv . See <ref type="bibr">Efron and Tibshirani (1997)</ref>, <ref type="bibr">Tibshirani and</ref><ref type="bibr">Tibshirani (2009), and</ref><ref type="bibr">Lim and</ref><ref type="bibr">Yu (2016)</ref> for some examples of existing heuristic approaches. Another method that improves the K-fold CV model selection consistency is the "profile electoral college CV" (PEC-CV, <ref type="bibr">Zhan and Yang, 2022)</ref>, which considers the winning frequency of each candidate model under repeated K-fold splits and varying values of K. This method exhibits promising empirical performance and can also be used to visualize the level of model selection uncertainty.</p><p>As mentioned at the beginning of Section 5.2, another potential use of the model confidence set is to provide stopping rules for sequential model building procedures. An early form of this application appeared in <ref type="bibr">Lei (2020)</ref> in comparing linear vs quadratic models. It would be possible to apply this idea to similar settings, such as variants of forward stepwise regression <ref type="bibr">(Wieczorek and Lei, 2022;</ref><ref type="bibr">Kissel and Mentch, 2024)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.6.2">Testing Many Means</head><p>The inference of maximum values in a vector considered in Section 5.3 is connected to many threads in the literature. The sample-splitting and stabilization idea is partially inspired by the "adaptive bootstrap" approach in <ref type="bibr">McKeague and Qian (2015)</ref> for detecting marginal correlations. The connection to selective inference is straightforward; a general introduction to selective inference can be found in <ref type="bibr">Taylor and Tibshirani (2015)</ref>. A more directly relevant selective inference work on inference for the max value is <ref type="bibr">Reid et al. (2017)</ref>.</p><p>It is natural to extend the maximum value inference to high-dimensional mean testing, for which a vast literature exists; see <ref type="bibr">Huang et al. (2022)</ref> for a recent overview of this topic. A particularly relevant work is <ref type="bibr">Chernozhukov et al. (2019)</ref>, who used high-dimensional Gaussian comparison to achieve asymptotically valid inference.</p><p>The argmin confidence set problem considered in Section 5.4 also has many connections in the literature and is a subject of active development. The problem of identifying the optimal population in a finite collection from noisy observations has been studied as early as <ref type="bibr">Gibbons et al. (1977)</ref> and <ref type="bibr">Gupta and Panchapakesan (1979)</ref>, with further developments such as <ref type="bibr">Futschik and Pflug (1995)</ref>, <ref type="bibr">Hansen et al. (2011</ref><ref type="bibr">), Mogstad et al. (2024)</ref>, <ref type="bibr">Dey et al. (2024)</ref>, and <ref type="bibr">Kim and Ramdas (2025)</ref>. Other related problems include discrete MLE <ref type="bibr">(Hammersley, 1950;</ref><ref type="bibr">Choirat and Seri, 2012)</ref> and rank verification <ref type="bibr">(Hall and Miller, 2009;</ref><ref type="bibr">Xie et al., 2009;</ref><ref type="bibr">Hung and Fithian, 2019)</ref>.</p><p>The testing-many-means problem and the related argmin inference problem can also be viewed from a nuisance parameter perspective. Let S m-1 be the (m -1)-dimensional simplex. Then for any w &#8712; S m-1 define &#185; w = &#977; T w f max &#977;. Then any valid confidence lower bound of &#185; w is also a valid confidence lower bound for max &#977;. The method developed in Section 5.3 uses a data-driven version of a particular w * , the indicator of the maximum entry of &#977;:</p><p>This idea can be taken one step further: the current target w * aims to maximize w T &#977; and does not account for the variance of w T X. A strictly more efficient target w is</p><p>where &#931; = E(X -&#977;)(X -&#977;) T is the noise covariance matrix. The objective function in the definition of w above is known as the Sharpe ratio <ref type="bibr">(Palomar, 2025)</ref>. It can also be modified to other similar forms such as w = arg max</p><p>for some penalty parameter &#188;. Then it would be possible to extend the procedure in Section 5.3 to such weight vectors w , with a potentially improved bias-variance trade-off.</p><p>The softmax statistic Q i in Section 5.3 is an example of making and using stable algorithms for statistical inference. The idea of using stable nuisance parameter estimates in semiparametric inference without de-biasing or cross-fitting has been explored in <ref type="bibr">Chen et al. (2022)</ref>. In particular, the use of soft-min for stabilized optimal policy choice has been studied in <ref type="bibr">Chen et al. (2023)</ref>. The presented method of data-driven choice of &#188; works by numerically verifying the desired stability level. An important theoretical and methodological research topic is to estimate and test the stability of a given algorithm. This is challenging; see <ref type="bibr">Kim and Barber (2023)</ref> and <ref type="bibr">Luo and Barber (2024)</ref> for some early results.</p><p>In the next section we present additional results on stability implied by regularization.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.6.3">Conformal Prediction</head><p>For a general introduction to conformal prediction, we refer the reader to the books <ref type="bibr">Vovk et al. (2005)</ref> and <ref type="bibr">Angelopoulos et al. (2024)</ref>. Some early references on conformal prediction for outlier detection and regression include <ref type="bibr">Lei et al. (2013)</ref>, <ref type="bibr">Lei and Wasserman (2014)</ref>, and <ref type="bibr">Lei et al. (2018)</ref>. The split conformal method is also known as inductive conformal prediction <ref type="bibr">(Papadopoulos et al., 2002;</ref><ref type="bibr">Lei et al., 2014)</ref>. The cross-conformal prediction method was introduced by Vovk (2015) and analyzed in <ref type="bibr">Vovk et al. (2018)</ref>, achieving a coverage level of approximately 1-2&#179;. A variant of cross-conformal, called CV+, was introduced and analyzed in <ref type="bibr">Barber et al. (2021)</ref>, with asymptotic coverage 1 -&#179; under a similar but different set of stability and bounded density conditions. A key component in our proof for cross-conformal is the transfer of stability from the conformity score function to the ranking indicator function (Theorem 5.7), where the inequality (5.27) is adapted from a similar analysis in <ref type="bibr">Hu and Lei (2024)</ref>.</p><p>In this section we examine the stability of several general classes of estimators. To simplify discussion, we will focus on the case where the loss function &#8467;(x, f ) is Lipschitz in f , so that the stability of loss function is implied by the stability of f itself. Although we do not specify the parameter space F, it would be helpful to think of it as either a finite-dimensional Euclidean space or a Hilbert space so that the gradients and Hessians can be defined in the usual sense.</p><p>So far, the least squares regression estimate in Section 5.2 is the only example in which stability has been checked. This example can be extended to the general class of asymptotically linear estimators. Recall that an estimator f is asymptotically linear with influence function h</p><p>where the o P (n -1/2 ) should be interpreted in terms of the norm of the residual vector. Then for such asymptotically linear estimators, we have</p><p>507 However, this is still heuristic, as o P (n -1/2 ) is still weaker than the L 2 and sub-Weibull stability conditions required in the previous sections. Typically, establishing such stability conditions is nontrivial and may require specific tools depending on the model and estimator. For example, random matrix theory may be useful in establishing L 2norm stability of the least squares estimate.</p><p>We will consider the more general and abstract approach of establishing stability of estimators via regularization. For example, penalized M -estimators such as ridge regression and support vector machines are known for their stability due to their strongly convex optimization formulation. In Sections 6.1 and 6.2, we make this more rigorous and general for the stochastic gradient descent algorithm. In Section 6.3, we illustrate the subtlety of the stability of the difference loss functions (see Section 5.1 for the context) in a prototypical nonparametric regression example, where the stability is achieved by another form of regularization: truncated basis expansion. In Section 6.4 we consider the stability conditions involved in the consistency analysis of online rolling validation in Section 3.3, focusing on a combination of stochastic gradient descent and nonparametric basis expansion, known as the sieve SGD (introduced in (3.10) in Section 3.2). Other related results in analyzing the stability of M-estimators, as well as alternative ways to construct stable estimators, such as resampling and bootstrap-aggregating, are discussed in Section 6.6.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">Stability of Stochastic Gradient Descent</head><p>Consider the M-estimation problem</p><p>for some objective function &#966; : F &#215; X &#8594; R, and the stochastic gradient descent algorithm (SGD):</p><p>1. Initialize f0 = 0 2. For t = 0, ..., n -1, update ft+1 = ft -&#179; t+1 &#966;( ft ; X t+1 ) , where (&#179; t : 1 f t f n) is a sequence of learning rates, and &#966;(&#8226;; x) is the gradient of &#966;(&#8226;; x) viewed as a function of f . 3. The final estimate f (D n ) = fn .</p><p>One may also consider the averaged final estimate f (D n ) = n -1 n t=1 ft . The stability results derived below can be carried over to the averaged case. The SGD estimate may appear to violate the symmetry condition in Definition 2.1. This issue can be resolved by randomizing the order of sample points in the SGD update sequence.</p><p>The motivation of analyzing (approximate) M-estimators obtained by SGD is quite natural. First, M-estimators cover a wide range of parametric and nonparametric estimators such as the maximum likelihood estimator, the least squares estimator, local polynomial regression, their robust counterparts, as well as machine learning tools such as kernel regression, support vector machine, and neural networks. Second, the SGD algorithm is arguably the most popular method for large-scale Mestimation. Under convexity and smoothness conditions on the objective function &#966;, the simple form of SGD allows precise characterization of the algorithmic behavior of the estimated parameter and hence facilitates a general and abstract stability analysis.</p><p>As seen in the ridge regression, the strong convexity of the objective function &#966;(&#8226;, x) plays an important role in the stability of the resulting estimator. Definition 6.1 (Strong convexity). Let &#181; be a positive number. A function h :</p><p>, where &#8741; &#8226; &#8741; denotes the Euclidean or Hilbert space norm. Assumption 6.1 (Smoothness and convexity of objective function). There exists positive constants (&#181;, C 0 , &#180;) such that for all x &#8712; X</p><p>Part (c) of Assumption 6.1 is also known as "&#180;-smoothness". These are among the standard assumptions in the analysis of the convergence and stability of SGD. In deep neural networks, it is unrealistic to assume convexity of &#966;(&#8226;; x), but we can assume that these conditions hold within a local convergence basin. Parts (a) and (c) require that &#181; f &#180;. When &#181; = &#180;, &#966;(&#8226;; x) is close to a quadratic function. The gap between &#181;/&#225; nd 1 reflects how close &#966;(&#8226;; x) is to quadratic; the conditions are more stringent when a large value of &#181;/&#180;is required.</p><p>Example 6.1 (Ridge Regression). Consider x = (y, z) and X &#166; B(r x ), F = B(r f ) (B(r) denotes a centered ball with radius r.)</p><p>Then &#966;(&#8226;; x) satisfies Assumption 6.1 with &#181; = &#188;, C 0 = r 2 x (1 + r f ) + &#188;r f , and &#180;= r 2</p><p>x + &#188;.</p><p>In practice, the objective function &#966;(&#8226;, ; x) usually is not strongly convex without a regularizing penalty term such as the ridge penalty. It is still possible to establish similar stability results for SGD if E X &#966;(&#8226;; X) is strongly convex. We provide a detailed example in Section 6.4 for the sieve SGD estimator introduced in Section 3.2.</p><p>The main consequence of Assumption 6.1 is the following contractivity result of SGD. Proposition 6.1 (Contractivity of SGD). Assume &#966; satisfies parts (a), (c) of Assumption 6.1, and &#179; &#8712; (0, 2/(&#180;+ &#181;)). The SGD update mapping</p><p>The proof of Proposition 6.1, though elementary, is non-trivial. We will not provide a proof here. See the bibliographic notes in Section 6.6 for further references. However, a one-line proof can be obtained, with a different contraction factor, if we assume that &#966;(&#8226;, x) is twice differentiable: Let &#966;(&#8226;, x) be the Hessian matrix, which is lower bounded by &#181;I because of strong convexity. Then, by the mean value theorem we have</p><p>where <ref type="bibr">[u, v]</ref> denotes the line segment joining u and v. Theorem 6.1 (First-order stability of SGD). Under Assumption 6.1, if the learning rate satisfies &#179; t = &#180;-1 t -a for an a &#8712; (0, 1) and</p><p>The intuition behind Theorem 6.1 is straightforward. If X i is perturbed to X &#8242; i , the SGD algorithm will remain the same up to time i, and future updates apply to the perturbed solution at time i. If i is small, X i appears early in the SGD iteration, and the perturbation on fi will shrink exponentially in later steps due to the regularity conditions in Assumption 6.1. If i is large, the learning rate is already very small, limiting the perturbation from changing X i to X &#8242; i . In classical theoretical convex stochastic approximation, the most popular learning rates are a &#8712; (1/2, 1], ensuring t &#179; t = &#8734; and t &#179; 2 t &lt; &#8734; <ref type="bibr">(Nesterov, 2013;</ref><ref type="bibr">Bubeck, 2015)</ref>. The range of a allowed by Theorem 6.1 covers &#179; &#8712; (1/2, 1) but not &#179; = 1. This is due to the much weaker contraction upper bound, since t i=1 i -a grows polynomially in t when a &lt; 1 while only logarithmically when a = 1. A potential sharper stability result for a = 1, or showing its absence, remains an open problem.</p><p>As mentioned in the intuition above, the proof of Theorem 6.1 is a direct consequence of the following lemma, which establishes the multiple-step contractivity of SGD updates under Assumption 6.1. Lemma 6.2. Under Assumption 6.1 and the conditions in Theorem 6.1, we have for all t g i</p><p>Proof of Theorem 6.2. By construction, &#8741;&#8711;</p><p>. By contractivity of SGD (Proposition 6.1), for all t &gt; i,</p><p>If i f n/2, according to Theorem 6.2 with t = n we have</p><p>Remark 6.1 (Extension to Multi-epoch SGD). In practice, SGD is more commonly implemented in multiple epochs. The results and proof technique of single-epoch SGD presented above may be useful in establishing the stability of multi-epoch SGD algorithms. For a simple example, consider a second epoch using the same learning rate sequence. Let f (e) t denote the estimate f at step t in epoch e with e &#8712; {1, 2}. Let f (e),i t be the corresponding estimate with X i replaced by X &#8242; i in both epochs, and f (e),i t the estimate with X i in the first epoch and X &#8242; i in the second epoch. Then &#8741;&#8711; i</p><p>&#8818; n -a . The same argument extends to any finite number of epochs. A more refined stability analysis of multi-epoch SGD under general learning-rate schemes is an interesting direction for future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Second-order Stability</head><p>The second-order stability concerns the quantity</p><p>and is used in the deterministic centering CLT in Section 4.2. Although the discussion in Section 4.2 emphasizes that it is more important to compare</p><p>We first show how to control the second-order loss stability through the second-order parameter stability. Proposition 6.2. If the loss function &#8467;(x, f ) : X &#215;F &#8594; R is c 0 -Lipschitz, and l(x, &#8226;) is c 1 -Lipschitz for all x &#8712; X , then</p><p>where &#1013; n,i,j = max{&#8741;&#8711; j fn &#8741; , &#8741;&#8711; i f j n &#8741; , &#8741;&#8711; j f i n &#8741;}, and f i n ( f j n ) denotes the estimate obtained with X i (X j ) replaced by its i.i.d. copy.</p><p>One example of such &#1013; n,i,j is given in Theorem 6.2, which implies that &#1013; 2 n,i,j has order n -2a . The main result in this subsection is to show that &#8741;&#8711; i &#8711; j fn &#8741; can also be bounded by n -2a up to a logarithmic factor.</p><p>Proof of Proposition 6.2. Let f ij n be the estimate obtained with (X i , X j ) replaced by their i.i.d. copies. By the mean value theorem, there exists</p><p>The claimed result follows from the fact that</p><p>Our main additional condition for the second-order stability of SGD estimates is the smoothness of Hessian of &#966;(&#8226;; x). Assumption 6.2. The Hessian matrix of &#966;(&#8226;; x), denoted &#966;(&#8226;; x), is C 2 -Lipschitz for a constant C 2 and all x:</p><p>It may be possible to avoid such a smooth-Hessian condition using a similar co-coerciveness argument as in the proof of Proposition 6.1. Here we work under Assumption 6.2 for simplicity and transparency. Example 6.2. Ridge logistic regression: x = (y, z) &#8712; B(r x ), and f &#8712; B(r f ).</p><p>Then &#966; satisfies Assumption 6.1 and Assumption 6.2 with &#181; = &#188;, C 0 = r x + &#188;r f , &#180;= r 2 x /4 + &#188;, and C 2 = r 3 x .</p><p>Theorem 6.3 (Second-Order Stability of SGD). Under the same assumptions as in Theorem 6.1, assume in addition that &#966; satisfies Assumption 6.2 such that &#179; t &#181; f 1 for all t, then</p><p>for a constant c depending on (a, &#180;, &#181;, C 0 , C 2 ).</p><p>The proof of Theorem 6.3 is lengthy and deferred to Section 6.5. Similar to the proof of first-order stability, the key idea is to establish a contractivity result analogous to (6.1) for the second-order difference. This is enabled by the smoothness of the Hessian (Assumption 6.2). A technical challenge is handling the remainder term of the first-order Taylor expansion of &#966;, which must be tracked across all SGD iterations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3">Difference Loss Stability</head><p>According to Remark 5.2, a technical condition needed for the validity of the difference-based CV model confidence set involves stability conditions on the standardized loss differences, which is used to establish high-dimensional Gaussian comparison for the cross-validated risk differences. This often becomes tricky because the loss differences usually have vanishing variances, and standardization means dividing the difference loss function by a vanishing standard deviation, which could make the stability condition less likely to hold. However, a more optimistic argument is that this condition retains its original intuition: taking a &#8711; operator reduces the magnitude of the difference loss by more than a factor of 1/ &#8730; n, even though the difference loss itself may be vanishing. In this subsection we illustrate this intuition through a simplified nonparametric regression problem using truncated basis expansion estimates.</p><p>Ignoring constant factors, we use the symbol "&#8818;" to denote "upper bound up to a constant factor" and "a &#8781; b" for "a &#8818; b and b &#8818; a".</p><p>Let (X i :</p><p>The assumptions on the data distribution are the following.</p><p>Assumption 6.3. 1. &#1013; i is independent of Z i , has mean zero, finite variance &#195; 2 &#1013; , and is uniformly bounded by a constant;</p><p>2. Z ij is mean zero, has unit variance, is uniformly bounded by a constant, and the components are mutually independent;</p><p>3. The regression coefficients f j &#8781; j -1+a 2 for some a &gt; 0 for all j g 1.</p><p>The conditions in Assumption 6.3 are stronger than technically necessary and are made for a simpler presentation. The uniform bound on &#1013; and Z can be relaxed to sub-Weibull tail conditions, and the independence between the entries of Z can be relaxed to E(Z ij |Z i1 , ..., Z i,j-1 ) = 0 for all j. The independence between &#1013; and Z can be relaxed in a similar fashion. The assumed exact rate of f j in Part 3 is more stringent than the usual Sobolev ellipsoid condition which only assumes upper bound on |f j |. We need the lower bound on |f j | to track the bias and variance precisely. More discussion can be found in Section 6.6.</p><p>For each j, we can naturally estimate f j by</p><p>We consider a truncated estimate of f = (f j : j g 1). Let J be a positive integer,</p><p>where f (J)</p><p>The tuning parameter J controls the number of basis functions used in the truncated estimation.</p><p>The optimal choice of J depends on the sample size. For each candidate fitting procedure r, let J r be a positive integer varying with the sample size n such that lim n&#8594;&#8734; J r = &#8734; at a speed specified by the estimator r. For example J r = n &#196;r , where {&#196; r : r &#8712; [m]} is a collection of positive numbers corresponding to different growth rates of J r as the sample size n increases. We will use f (r) to denote f (Jr) for convenience and the estimators will be evaluated under the squared loss: &#8467;((y, z), f ) = (y -f (z)) 2 . Now we are ready to quantify the stability conditions for the difference loss &#8467; (r,s) (X 0 , D n ) and the difference risk R (r,s) (D n ). Proposition 6.3 (Difference Loss Stability). Assume the regression model (6.2) and the conditions for &#1013;, Z, f in Assumption 6.3. If J r &lt; J s and J r /J s either converges to 0 or stay bounded away from 0 as n increases, then there is a positive constant &#187; depending only on the model such that (a)</p><p>The proof of Proposition 6.3 is deferred to Section 6.5. The idealized analytical form of the model and the estimator enables us to track bias and variance terms precisely, as well as their perturb-one stability.</p><p>The optimal choice of J with minimum risk is J * &#8781; n 1/(1+a) . Thus, for the scaling parameter on the RHS of (6.4) and (6.5) to be o(1), one needs J s J a r j n = (J * ) 1+a . This is possible if both J s and J r are no larger than J * , or J s is slightly larger than J * but J r is sufficiently small. In other words, the stability condition is more likely to hold when comparing over-smoothing estimators. This condition is violated if J r g J * , suggesting that the stability condition required by the CLT may not hold for under-smoothing estimators. Such subtleties in the stability condition of the difference loss resemble the well-known behavior of the regular CV: it can eliminate inferior estimators with large bias (over-smoothing) but struggles to distinguish slightly overfitting estimators.</p><p>When J r /J s stays bounded away from 0, the sufficient stability condition required by the CLT becomes J s j J * , meaning that if the two estimators under comparison are too similar, the stability conditions can only hold for over-smoothing estimators.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.4">Stability of Online Algorithms</head><p>In this subsection, we provide examples of the stability of online algorithms, specifically addressing (3.13) in Assumption 3.3. We focus on a simplified setting where the basis functions are given by the individual coordinates of the covariate vector Z, that is, &#981; j (Z i ) = Z ij . Under this simplification, the basis expansion estimator in (3.10) reduces to the setting considered in Section 6.3.</p><p>Notation Declaration: In this subsection we will explicitly track the evolution of each coordinate of f over time. Thus, we need to use the following notation.</p><p>&#8226; f = (f j : j g 1) denotes the true vector of coefficients.</p><p>&#8226; fi = ( fi,j : j g 1) denotes the estimated vector of coefficients at the end of step i, whose jth coordinate is fi,j . Note that this notation fi has a different meaning from the notation " fj " in Section 6.3 (where fj denotes the jth coordinate of the estimated coefficient f .) Generally speaking, in this subsection the symbol "i" (and similarly "t" and "n") is used to denote a time point or sample size, whereas the symbol "j" is used to denote a coordinate of Z or f .</p><p>&#8226; f &#8242; i and f &#8242; i,j correspond to the perturb-one version of fi and fi,j respectively, with the perturbed sample point clear from context.</p><p>&#8226; (J n : n g 1) is a sequence of positive numbers indicating the number of basis functions used by sieve SGD at sample size n.</p><p>Batch truncated series estimate. To warm up, first consider the truncated estimator f (Jn) given in (6.3). The derivation from the previous subsection implies that E [&#8711; i ft (X t+1 )] 2 |D i &#8818; J t t -2 . Thus if J t &#8781; t &#196; then (3.13) holds with b = 1 -&#196; /2. If the true coefficient f belongs to a Sobolev ellipsoid:</p><p>for a pair of positive constants (&#982;, L), then the minimax optimal error rate is achieved by J n &#8781; n 1/(1+2&#982;) . Now consider two estimators with basis cardinality sequences J n,1 &#8781; n &#196; 1 and J n,2 &#8781; n &#196; 2 respectively, with J n,1 being the better choice. The sufficient stability condition for wRV to consistently select the better sequence J n,1 is quite similar to that in Section 6.3: &#196; 2 must be either (i) smaller than &#196; * = 1/(1 + 2&#982;) while &#196; 1 is equal to or slightly larger than &#196; * , or (ii) slightly larger than &#196; * while &#196; 1 is sufficiently small. In other words, wRV, like CV, is theoretically more reliable when eliminating highly biased estimators (small &#196; 2 versus moderate &#196; 1 ), or when comparing two very different estimators (moderately large &#196; 2 and small &#196; 1 ).</p><p>Sieve SGD. To illustrate a more challenging and less explored regime of online estimator stability, we consider the sieve SGD estimator defined in (3.10). Due to its relatively recent introduction, theoretical analyses of convergence rates for general sieve SGD algorithms with non-optimal tuning values are not yet available. Thus, the stability analysis of sieve SGD is still an ongoing line of research. Here we provide some initial results in this direction.</p><p>In the simplified setting with data generated from (6.2) and basis</p><p>where &#179; i is the learning rate, &#923; i is a diagonal truncation/shrinkage matrix whose jth diagonal entry equals j -2w 1(j f J i ), and J i is the number of basis functions used at sample size i. As discussed in Section 3.2, the tuning parameter of sieve SGD is the entire sequence (J i : i g 1), which typically takes the form J i &#8781; i &#196; . The multiplier j -2w provides coordinate-wise shrinkage, which was introduced in the original sieve SGD algorithm.</p><p>Proposition 6.4. Assume i.i.d. data from (6.2) satisfying Assumption 6.3. Let { fi : i g 1} be the sieve SGD estimate (6.7) with basis size J i = i &#196; , learning rate &#179; i = ci -a , and shrinkage exponent w &gt; 1/2, such that a + 2w&#196; &lt; 1 and c &lt; jg1 j -2w . Suppose |Y i -&#239; fi-1 , Z i &#240;| is uniformly bounded by a constant almost surely for all i g 1 then we have, for any t g i g 1</p><p>Proposition 6.4 is an example of stability without strong convexity. It should be compared to Theorem 6.1, which shows a similar rate under strong convexity of the objective function. The argument relies on taking the conditional expectation of the SGD objective function given the previous estimate, and exploiting the strong convexity of this conditional expectation. The proof of Proposition 6.4, along with discussion of potential improvements, is presented in Section 6.5. Remark 6.2. Proposition 6.4 involves several technical conditions, mainly for simplicity of presentation. The most restrictive assumption is the uniform boundedness of the residual Y i -&#239; fi-1 , Z i &#240;. This can be ensured if we further restrict the estimates fi to a bounded set such as a Sobolev ellipsoid, realizable by a further projection step at the end of each iteration. Alternatively, one may obtain weaker versions of Proposition 6.4, such as moment or sub-Weibull bounds instead of an L &#8734; -norm bound. Remark 6.3. In order to illustrate the relevance of Proposition 6.4 in the context of Theorem 3.2, we need to characterize the risk convergence rate of sieve SGD estimates obtained from general combinations of tuning parameters. Such results are not yet directly available in the current literature due to the recent appearance of sieve SGD. However, there is evidence that sieve SGD may have the same convergence rate as the batch mode truncated basis expansion estimate using J n basis functions at sample size n. Proceeding with this hypothesis and assuming the true coefficient f belongs to the Sobolev ellipsoid W (&#982;, L) in (6.6), consider two sieve SGD estimators with J i = i &#196;r , &#179; i = ci -a for r = 1, 2. Suppose &#196; 1 = &#196; * = 1/(1+2&#982;) is a better choice than &#196; 2 . Using the batch mode error rate and stability bound in Proposition 6.4, the stability requirements in Theorem 3.2 reduce to 1. a &gt; 1/2 + &#982;&#196; 2 when &#196; 2 &lt; &#196; 1 (under-fitting); 2. a &gt; 1 -&#196; 2 /2 when &#196; 2 &gt; &#196; 1 (over-fitting).</p><p>A caveat here is that such choices of (a, &#196; 1 , &#196; 2 ) are incompatible with the requirement of a + 2w&#196; &lt; 1 in Proposition 6.4 unless we allow for w &lt; 1/4. We further conjecture that this requirement is an artifact of the current proof and can be improved using a more refined argument. Intuitively, a larger w implies stronger shrinkage, hence greater stability. Evidence supporting this conjecture is that one can establish consistency of sieve SGD with w = 0. See Section 6.6 for relevant literature.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.5">Technical Proofs</head><p>Proof of Theorem 6.3. Assume i &lt; j. Let f i t be the estimate at time t with X &#8242; i as the ith sample point. Define f ij t correspondingly. Then</p><p>where the last inequality follows from the Lipschitz property of &#966;(&#8226;; x). For t &gt; j,</p><p>(6.9)</p><p>Using the mean value theorem, there exist ft-1 &#8712; [ ft-1 , f i t-1 ] and</p><p>Plugging this into the RHS of (6.9), we obtain</p><p>Let &#184;t = &#8741;&#8711; i &#8711; j ft &#8741;, we get <ref type="bibr">(6.10)</ref> where the second term on the RHS uses Lipschitz property of &#966; (with Lipschitz constant C 2 ).</p><p>To control ft-1 -f &#8242; t-1 , apply Theorem 6.2 directly to ft-1 -f j t-1 and f i t-1 -f ij t-1 , and then use triangle inequality on ft-1 -f ij t-1 = ( ft-1 -f j t-1 )+( f j t-1 -f ij t-1 ) and f i t-1 -f j t-1 = ( f i t-1 -ft-1 )+( ft-1 -f j t-1 ), then we have,</p><p>where c = &#181; (1-a)(&#180;+&#181;) and &#182; t,j (c) = exp -c((t + 1) 1-a -(j + 1) 1-a ) .</p><p>For t g j + 1, define &#1009; i,j,t = 8C 2 C 2 0 &#180;3 t -a &#182; t-1,i (c)i -a + &#182; t-1,j (c)j -a &#182; t-1,i (c)i -a , then (6.10) implies, for t g j + 1, &#184;t f (1 -&#179; t &#181;)&#184;t -1 + &#1009; i,j,t . (6.11)</p><p>We now seek to upper-bound &#184;n using the recursion (6.10). To do so, let c &#8242; = &#181;/ <ref type="bibr">[(1 -a)</ref>&#180;] g c. Thus</p><p>&#182; n,k (c &#8242; ) &#182; k-1,i (c) &#182; k-1,j (c)k -a i -a j -a (I)</p><p>, (6.12)</p><p>where the last inequality appeals to the fact that for positive integers j &lt; t, t k=j+1 (1 -&#179; k &#181;) f exp -&#181; (1-a)&#180; (t + 1) 1-a -(j + 1) 1-a . Term (I): Using the fact that &#182; k-1,i (c) g &#182; k-1,i (c &#8242; ), &#182; n,k (c) &#182; k-1,i (c) f &#182; n,i (c)e c(2 1-a -1) , and &#182; k-1,j (c) f 1, we have</p><p>&#180;3 e c(2 1-a -1) i -a j -a &#182; n,i (c)</p><p>(1 -a)&#180;3 e c(2 1-a -1) i -a j -a &#182; n,i (c)(n 1-a -j 1-a ) . (1 -a)&#180;3 e c(2 1-a -1) i -a j -a n -(3-a) (n 1-a -j 1-a )</p><p>(1 -a)&#180;3 e c(2 1-a -1) n -2 . (6.14)</p><p>When i g n -c 2 (n + 1) a log n. Suppose n is large enough that n -c 2 (n + 1) a log n g n/2. Use the following upper bounds in the RHS of (6.13): k -a f j -a f i -a f 2 a n -a , &#182; n,i (c) f 1, we have</p><p>(1 -a)&#180;3 e c(2 1-a -1) 2 3a n -3a (n -j)</p><p>(1 -a)&#180;3 e c(2 1-a -1) 2 3a n -3a (n -i)</p><p>(1 -a)&#180;3 e c(2 1-a -1) 2 3a n -3a c 2 (n + 1) a log n</p><p>(1 -a)&#180;3 e c(2 1-a -1) 2 3a+1 c 2 n -2a log n . (6.15)</p><p>Combining (6.14) and (6.15), we conclude that (I) f c(a, &#180;, &#181;, C 0 , C 2 )n -2a log n , (6.16)</p><p>for n large enough.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Term (II):</head><p>The second term in (6.12) is upper bounded by, for large enough n,</p><p>e c(2 1-a -1) i -2a &#182; n,i (c)(n 1-a -j 1-a ) fc(a, &#180;, &#181;, C 0 , C 2 )n -2a log n , (6.17)</p><p>where the first inequality follows from &#182; k-1,i (c) f 1, the second and third follow from the same argument as in term (I).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Term (III):</head><p>(III) = &#182; n,j (c &#8242; )&#184;j <ref type="bibr">(6.18)</ref> where the first inequality follows from (6.8), the second from Theorem 6.2, the third from &#182; j-1,i (c) g &#182; j-1,i (c &#8242; ) and the same argument used in the treatment of term (I), and the fourth one from the fact that j &gt; i.</p><p>Finally, a similar argument partitioning i according to i f n/2 and i g n/2 as in the proof of Theorem 6.1 leads to the conclusion where</p><p>). Through a simple exercise using Theorem 2.5 and Theorem 2.4, one can show that Y i is (&#187;, 1/2)-SW, and &#182; j is (&#187;/ &#8730; n, 1)-SW for a constant &#187; depending on the model only.</p><p>Then Proposition 2.4 and Theorem 2.5 further imply the following (with a potentially different value of constant &#187;): <ref type="bibr">(6.23)</ref> In order to get concrete bounds for &#8741;f Jr,Js &#8741;, we first consider the scenario J r /J s &#8594; 0 as n &#8594; &#8734;.</p><p>In the case J r /J s &#8594; 0 we have &#8741;f Jr,Js &#8741; &#8781;J -a/2 r .</p><p>Plug this into (6.20), (6.21), (6.22), (6.23) we obtain (6.4). Now we work on the risk stability. Under our model, for any truncation value J we have</p><p>and</p><p>By definition</p><p>which is (n -3/2 &#187;, 3/2)-SW. Now apply Theorem 2.6 to the sequence ( J j=Jr+1 &#8711; i ( &#182; 2 j ) : J r &lt; J f J s ) with respect to the filtration {D n &#8746; {X i1 , ..., X i,J } : J r &lt; J f J s } to conclude that</p><p>s &#187; , 2 -SW and hence (6.5) follows.</p><p>In the other case, J r g cJ s for a constant c &gt; 0. Now &#8741;f Jr,Js &#8741; &#8781; J -(1+a)/2 s &#8730; J s -J r and the remaining proof is the same as in the case of J r /J s &#8594; 0.</p><p>Proof of Proposition 6.4. Let &#184;t = &#8711; i ft . For t &gt; i, we have, by construction &#184;t = &#184;t-1 -&#179; t &#923; t Z t Z T t &#184;t-1 . (6.24)</p><p>Let &#732;t = &#923; -1/2 t &#184;t and Zt = &#923; 1/2 t Z t (with 0/0 = 0), then (6.24) becomes &#732;t = &#732;t-1 -&#179; t Zt ZT t &#732;t-1 . (6.25)</p><p>We first control &#8741;&#732;i&#8741; in a similar fashion as in Theorem 6.2: <ref type="bibr">(6.26)</ref> because, by assumption, &#8741; Zi &#8741; f C for w &gt; 1/2 and Y i -&#239; fi-1 , Z i &#240; is uniformly bounded. Taking squared norm on both sides of (6.25), we have</p><p>Dividing both sides by &#8741;&#732;t -1 &#8741; 2 and take conditional expectation given D t-1 , we have</p><p>t f e -&#179;tJ -2w t , (6.27) where the second inequality follows from that the minimum effective eigenvalue (those multiplied to the non-zero entries of &#732;t-1 ) is at least J -2w t . Now using the telescoping version of (6.27) we obtain</p><p>&#8818;i -2a exp -c &#8242; (t + 1) 1-a-2w&#196; -(i + 1) 1-a-2w&#196; .</p><p>The claim follows from the same argument as in Theorem 6.2 by considering i f t/2 and i g t/2. Remark 6.4 (Potential improvements). Inspecting the proof of Proposition 6.4, the main source of potential (and likely) looseness responsible for the counterintuitive dependence on w seems to be bounding &#732;T t-1 &#923; t &#732;t-1 g J -2w t &#8741;&#732;t -1 &#8741; 2 2 in (6.27). The diagonal entries of &#923; t have very different magnitudes. On the other hand, the shrinkage mechanism in the sieve SGD update suggests that | ft,j | decays at a rate of j -2w as j increases. Thus &#732;t-1,j = j w ( ft-1,jf &#8242; t-1,j ) should carry a scaling of j -w . So intuitively, in the product &#732;T t-1 &#923; t &#732;t-1 , large entries in &#923; t are aligned with large entries of &#732;t-1 and it is overly conservative to use a lower bound based on the smallest positive eigenvalue of &#923; t .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.6">Bibliographic Notes</head><p>Stability of regularized M-estimators that are suitable for the conditions in Section 2 and Section 4 has been established in <ref type="bibr">Bousquet and Elisseeff (2002)</ref> and <ref type="bibr">Austern and Zhou (2024)</ref>, respectively. These results are concerned with the global optimum of the M-estimation problem, without taking into account the optimization error. First-order stability of SGD under strong convexity and smooth gradients has been established in <ref type="bibr">Hardt et al. (2016)</ref>, which is covered as a special case of our Theorem 6.1. Our Proposition 6.1 corresponds to Lemma 3.7.3 of <ref type="bibr">Hardt et al. (2016)</ref>, which provides an elegant proof. The second-order stability of SGD presented in Section 6.2 was first developed in <ref type="bibr">Kissel and Lei (2022)</ref>.</p><p>The stability of (the standardized) difference loss function considered in Section 6.3 is adapted from <ref type="bibr">Kissel and Lei (2022)</ref>, which contains numerical examples of the first and second-order stability of the difference loss function. The stability of the difference risk function in part (b) of Proposition 6.3 is new and will lead to a deterministic centering CLT for the CV estimate of expected difference risks.</p><p>As an example illustrating the necessity of part 3 of Assumption 6.3, <ref type="bibr">Zhang et al. (2023)</ref> considered a similar nonparametric regression setting, where the coefficients f j alternate between zero and j -2 according to +log 3 [log 2 (j)], being even or odd. In that paper, the purpose was to study the ability of cross-validation to pick the correct model from two candidates J r and J s with J r = J s -1. If we use this sequence (f j : j g 1) in the setting of Proposition 6.3 and assume J s j n 1/5 , then the proof can be adapted to show that &#8711; 1 &#8467; (r,s) (X 0 , D n )/&#195; (r,s) n = o P (1) if and only if f Js &#824; = 0. Such a dichotomy originates from the variance of the loss difference &#8467; (r,s) (X 0 , D n ). When f Js = 0, the difference between the two true models is zero and any variance in the loss difference will be from the random fluctuation in the estimated coefficient fJs . On the other hand, when f Js &#824; = 0, there is a bias term contributing to the loss difference. We do not expect Gaussian approximation to hold for the former case due to the severe degeneracy of the loss difference.</p><p>The original idea of sieve SGD first appeared in <ref type="bibr">Dieuleveut and Bach (2016)</ref>. The form of sieve SGD considered in this article was proposed in <ref type="bibr">Zhang and Simon (2022)</ref>, which establishes its near optimality in terms of error rates and storage cost (see also <ref type="bibr">Quan and Lin (2024)</ref>). A version of sieve SGD implemented without shrinkage (w = 0) has been shown to achieve the optimal convergence rate in <ref type="bibr">Chen and Klusowski (2024)</ref>, providing evidence for potential improved stability analysis with better dependence on the shrinkage parameter. The stability property in Proposition 6.4 is adapted from <ref type="bibr">Zhang and Lei (2023)</ref>.</p><p>Another important general method for designing stable algorithms is resampling. In <ref type="bibr">B&#252;hlmann and Yu (2002)</ref>, it has been shown that the bootstrap-aggregating (bagging) method can turn unstable algorithms such as decision trees into stable ones. Similar bagging ideas are also used in stability-based variable selection <ref type="bibr">(Meinshausen and B&#252;hlmann, 2010;</ref><ref type="bibr">Liu et al., 2010)</ref>. A more systematic study of bagging and resampling methods for algorithmic stability in the context of predictive inference has been initiated in <ref type="bibr">Soloff et al. (2024a)</ref> and <ref type="bibr">Soloff et al. (2024b)</ref>. metric, and in high-dimensional regimes where the quality gap between two models shrinks as the sample size increases; see also <ref type="bibr">Zhan and Yang (2022)</ref> for extensions to multiple choices of K.</p><p>A corresponding extension of the CV model confidence sets in Section 5.1 would compute a separate confidence set for each split. Aggregating multiple confidence sets in a principled and computationally efficient way is nontrivial; see <ref type="bibr">Gasparin and Ramdas (2024)</ref> for a recent attempt.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.2">Choice of K</head><p>A practical issue in using cross-validation is the choice of K: which value of K yields the best model selection? At first glance, the question seems somewhat circular: we plan to use K-fold CV to select the best model (or, more generally, a fitting procedure), yet doing so appears to require first selecting K-itself a modeling choice. In other words, to solve the model selection problem, we would first need to solve an even more complicated model selection problem. This observation suggests that there is no single, definitive answer to the choice of K for cross-validation. The aim of this subsection is therefore to collect a few simple facts, known concerns, and practical rules of thumb about selecting K.</p><p>For model selection consistency, it is often recommended to use reversed K-fold CV (see Remark 3.1) with a diverging K, so that most of the sample is used for evaluation <ref type="bibr">(Yang, 2007;</ref><ref type="bibr">Zhang and Yang, 2015;</ref><ref type="bibr">Arlot and Celisse, 2010)</ref>. However, this scheme is effective only in "strong-signal" settings, where the candidate models are well separated (e.g., in the sense of Assumption 3.1). The caveats of this trainingvalidation split are clear: (i) it does not handle the important case in which the difference between models is small; (ii) the quality of models fitted on a much smaller training sample may not reflect their quality at the original sample size. This challenge is described succinctly in <ref type="bibr">Zhang and Yang (2015)</ref>:</p><p>Simply speaking, in terms of comparing the predictive performances of two modeling procedures, a large enough evaluation set is preferred to account for the randomness in the prediction assessment, but at the same time we must make sure that the relative performance of the two model selection procedures at the reduced sample size resembles that at the full sample size. This typically forces the training size to be not too small. Therefore, the choice of splitting ratio needs to balance the above two conflicting directions.</p><p>How should we choose K in practice? We suggest the following rule of thumb:</p><p>&#8226; Use leave-one-out CV (LOO-CV) if computationally feasible;</p><p>&#8226; Otherwise, use 10-fold CV if feasible.</p><p>&#8226; Otherwise, use 5-fold CV.</p><p>The rationale is simple: we aim to keep the training sample size as close as possible to the full sample size. In many tuning-parameter selection problems, the optimal choice scales as a monomial of the sample size with an exponent between -1 and 1. Thus the optimal choices based on the full sample size n and the training size n tr differ by a factor between 1 -1/K and K/(K -1), which plateaus quickly once K is moderately large. <ref type="bibr">Arlot and Lerasle (2016)</ref> provide a more thorough theoretical investigation of the choice of K in least-squares density estimation, reaching a similar conclusion: the variance of a quantity central to model selection depends on K through the factor 1 + 4/(K -1). Hence K = 5 is a good balance between computational cost and statistical accuracy.</p><p>Meanwhile, the lack of model selection consistency for these choices of K (K = n, 10, 5) can be addressed via the model confidence set approach in Section 5, or by alternatives such as repeated-CV voting <ref type="bibr">(Zhang and Yang, 2015;</ref><ref type="bibr">Zhan and Yang, 2022)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.3">The Rashomon Effect and Occam Dilemma</head><p>The uncertainty of CV risk estimation and the associated model selection confidence set are closely related to the Rashomon effect and the Occam dilemma-two of the three major changes in modern statistical learning highlighted in Breiman's landscape paper Breiman (2001):<ref type="foot">foot_5</ref> -the Rashomon effect refers to the existence of many models with similar, nearly optimal predictive accuracy;</p><p>-the Occam dilemma refers to the tension between model simplicity and predictive accuracy.</p><p>See <ref type="bibr">Rudin (2025)</ref> for a more detailed discussion and a comprehensive literature review. Here we focus on the connection to the present article: cross-validation and stability.</p><p>The Rashomon effect. The presence of multiple nearly optimal models has been documented by many researchers over the past decade. For example, <ref type="bibr">Nevo and Ritov (2017)</ref> and <ref type="bibr">Fisher et al. (2019)</ref> estimate the Rashomon set-the collection of candidate models that are nearly optimal -by including all models whose empirical risk is within a small tolerance of the empirical risk minimizer, and then use this set to study variable importance. These methods require a user-specified tolerance, whose choice can substantially affect the output. The CV model confidence set developed in Section 5.1, especially the version based on the difference loss, serves a similar purpose but with a more interpretable tuning parameter-the miscoverage level</p><p>&#180;. The Rashomon set can also be used to construct more stable predictors with comparable near-optimal accuracy. For instance, one may average the models in the Rashomon set: because each constituent is near-optimal, predictive performance is preserved, and stability often improves through averaging. This idea can be refined via weighted averages, choosing weights to optimize stability or variance, or adapting them to covariates when models perform differently across regions of the feature space.</p><p>The Occam dilemma. The potential conflict between simplicity and predictive accuracy is of practical importance, since interpretability and accuracy are both core objectives in statistical learning and model selection. When the Rashomon set contains a simple model, the decision is straightforward: choose the simple model(s) in the set-an instance of Occam's razor, and consistent with the perspective in Section 5.2. <ref type="bibr">Semenova et al. (2022)</ref> and <ref type="bibr">Semenova et al. (2023)</ref> develop methods to assess whether a simple model exists within the Rashomon set and to find one via a sequence of Rashomon sets induced by progressively reduced hypothesis spaces.</p><p>The Occam dilemma is more of a concern when none of the models in the Rashomon set is simple, indicating that the underlying relationship between the response and the covariates cannot be captured by the simple candidate models under consideration. In such cases, it is reasonable to prioritize predictive accuracy over model simplicity and interpretability. Even when no simple model is available, we can still aim for the selected complex model to be stable. One reason to prefer simplicity is its estimation stability, which reduces variance in both estimation and prediction. A complex model that is stable can likewise enjoy a favorable bias-variance trade-off. Random forests and other bagging methods are prominent examples. Thus, stability in a complex model can partially offset the loss of simplicity. A stable and accurate (albeit complex) model is worth preserving: it represents our best approximation to future observations and may even guide the discovery of a simpler, equally accurate model. Hence, stability offers a principled bridge between predictive accuracy and interpretability.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>Here we adopt the machine-learning convention, in which "risk" denotes the expected loss of a fixed predictor f with respect to the randomness of the evaluation (test) observation. This contrasts with decision theory, where "risk" refers to the overall expected loss of a procedure, averaging over both estimation (training) and evaluation (testing) randomness.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>We assume n/K to be an integer throughout this article to simplify the notation. The scenario in which n/K is not an integer does not make any qualitative difference to the methods and results.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_2"><p>By symmetry of f and the i.i.d. assumption, the particular choice of i in &#8711;i&#8467;(X0, Dn) does not matter as long as i &#8712;[n]   </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_3"><p>Although (4.18) is derived for i = n, the validity of this decomposition for all i &#8712; [n] is due to the symmetry, as discussed in the text after (4.18).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_4"><p>The terminology "confidence set" is a bit different from its standard use, as the target Rcv,n,K itself is random. However, the usual frequentist interpretation of confidence sets are still valid for the probabilistic statements about Rcv,n,K . Moreover, as discussed in the previous paragraph, the random centering will be asymptotically equivalent to the deterministic centering at &#181;n tr if the risks are stable enough in the sense of Part 1 of Proposition 4.2.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_5"><p>The third change, Bellman, refers to the blessing (or curse) of dimensionality.</p></note>
		</body>
		</text>
</TEI>
