Early stopping and non-parametric regression: An optimal data-dependent stopping rule
Garvesh Raskutti, Martin J. Wainwright, Bin Yu
Introduction
The phenomenon of overfitting is ubiquitous throughout statistics. It is especially problematic in nonparametric problems, where some form of regularization is essential to prevent overfitting. In the problem of nonparametric regression, the most classical form of regularization is that of Tikhonov regularization, where a quadratic smoothness penalty is added to the least-squares loss. An alternative and algorithmic approach to regularization is based on early stopping of an iterative algorithm, such as gradient descent applied to the unregularized loss function. The main advantage of early stopping for regularization, as compared to penalized forms, is lower computational complexity.
The idea of early stopping has a fairly lengthy history, dating back to the 1970’s in the context of the Landweber iteration. (For instance, see the paper by Strand , with follow-up work by Anderssen and Prenter as well as Wahba .) Early stopping has also been widely used in neural networks (e.g., ), in which stochastic gradient descent is used to estimate the network parameters. Past work provided intuitive arguments for the benefits of early stopping. It was argued that each step of an iterative algorithm will reduce bias but increase variance, so early stopping ensures the variance of the estimator is not too high. However, prior to the 1990s, there had been little theoretical justification for these claims. A more recent line of work has provided theoretical justification for various types of early stopping, including boosting algorithms (e.g., ), greedy methods , gradient descent over reproducing kernel Hilbert spaces (e.g. ), the conjugate gradient algorithm , and the power method for eigenvalue computation . Most relevant to our work is the work of Bühlmann and Yu , who derived optimal mean-squared error bounds for -boosting with early stopping in the case of fixed design regression. However, these optimal rates are based on an “oracle” stopping rule, one that cannot be computed based on the data. Thus, their work left open the following natural question: is there a data-dependent and easily computable stopping rule that produces a minimax-optimal estimator?
The main contribution of this paper is to answer this question in the affirmative for a certain class of non-parametric regression problems, in which the underlying regression function belongs to a reproducing kernel Hilbert space (RKHS). In this setting, a standard estimator is the method of kernel ridge regression (e.g., ), which minimizes a weighted sum of the least-squares loss with a squared Hilbert norm penalty as a regularizer. Instead of a penalized form of regression, we analyze early stopping of an iterative update that is equivalent to gradient descent on the least-squares loss in an appropriately chosen coordinate system. By analyzing the mean-squared error of our iterative update, we derive a data-dependent stopping rule that provides the optimal trade-off between the estimated bias and variance at each iteration. In particular, our stopping rule is based on the first time that a running sum of step-sizes after steps increases above the critical trade-off between bias and variance. For Sobolev spaces and other types of kernel classes, we show that the function estimate obtained by this stopping rule achieves minimax-optimal estimation rates in both the empirical and population norms. Importantly, our stopping rule does not require the use of cross-validation or hold-out data.
Background and problem formulation
We begin by introducing some background on non-parametric regression and reproducing kernel Hilbert spaces, before turning to a precise formulation of the problem studied in this paper.
where is a zero-mean noise random variable. Throughout this paper, we assume that the random variables are sub-Gaussian with parameter , meaning that
For instance, this sub-Gaussian condition is satisfied for normal variates , but it also holds for various non-Gaussian random variables. Parts of our analysis also apply to the fixed design setting, in which we condition on a particular realization of the covariates.
Since the eigenfunctions form an orthonormal basis, any function has an expansion of the form , where for all such that , the coefficients
The second inner product, denoted , is the one that defines the Hilbert space; it can be written in terms of the expansion coefficients as
Using this definition, the Hilbert ball of radius for the Hilbert space with eigenvalues and eigenfunctions takes the form
The class of reproducing kernel Hilbert spaces contains many interesting classes that are widely used in practice, including polynomials of degree , Sobolev spaces with smoothness , and Gaussian kernels. For more background and examples on reproducing kernel Hilbert spaces, we refer the reader to various standard references .
Throughout this paper, we assume that any function in the unit ball of the Hilbert space is uniformly bounded, meaning that there is some constant such that
2 Gradient update equation
We now turn to the form of the gradient update that we study in this paper. Given the samples , consider minimizing the least-squares loss function
A direct approach would be to perform gradient descent on this form of the least-squares loss. For our purposes, it turns out to be more natural to perform gradient descent in the transformed co-ordinate system . Some straightforward calculations (see Appendix A for details) yield that the gradient descent algorithm in this new co-ordinate system generates a sequence of vectors via the recursion
where is a sequence of positive step sizes (to be chosen by the user). We assume throughout that the gradient descent procedure is initialized with .
corresponds to the usual mean-squared error.
3 Overfitting and early stopping
Figure 1 provides plots of the squared prediction error as a function of the iteration number . For both kernels, the prediction error decreases fairly rapidly, reaching a minimum before or around iterations, before then beginning to increase.
As the analysis of this paper will clarify, too many iterations lead to fitting the noise in the data (i.e., the additive perturbations ), as opposed to the underlying function . In a nutshell, the goal of this paper is to quantify precisely the meaning of “too many” iterations, and in a data-dependent and easily computable manner.
Main results and their consequences
In more detail, our main contribution is to formulate a data-dependent stopping rule, meaning a mapping from the data to a positive integer , such that the two forms of prediction error and are minimal. In our formulation of such a stopping rule, two quantities play an important role: first, the running sum of the step sizes
and secondly, the eigenvalues of the empirical kernel matrix previously defined (8). The kernel matrix and hence these eigenvalues are computable from the data. We also note that there is a large body of work on fast computation of kernel eigenvalues (e.g., see the paper and references therein).
Our stopping rule involves the use of a model complexity measure, familiar from past work on uniform laws over kernel classes , known as the local empirical Rademacher complexity. For the kernel classes studied in this paper, it takes the form
For a given noise variance , a closely related quantity—one of central importance to our analysis—is critical empirical radius , defined to be the smallest positive solution to the inequality
The existence and uniqueness of is guaranteed for any reproducing kernel Hilbert space; see Appendix D for details. As clarified in our proof, this inequality plays a key role in trading off the bias and variance in a kernel regression estimate.
Our stopping rule is defined in terms of an analogous inequality that involves the running sum of the step sizes. Throughout this paper, we assume that the step sizes are chosen to satisfy the following properties:
Boundedness: for all .
Non-increasing: for all .
Infinite travel: the running sum diverges as .
We refer to any sequence that satisfies these conditions as a valid stepsize sequence. We then define the stopping time
As discussed in Appendix D, the integer belongs to the interval and is unique for any valid stepsize sequence. As will be clarified in our proof, the intuition underlying the stopping rule (15) is that the sum of the step-sizes acts as a tuning parameter that controls the bias-variance tradeoff. The stated choice of optimizes this trade-off.
The following result applies to any sequence of function estimates generated by the gradient iteration (9) with a valid stepsize sequence.
Given the stopping time defined by the rule (15), there are universal positive constants such that the following events both hold with probability at least :
For all iterations :
At the iteration chosen according to the stopping rule (15), we have
Although the bounds (a) and (b) are stated as high probability claims, a simple integration argument can be used to show that the expected mean-squared error (over the noise variables, with the design fixed) satisfies a bound of the form
Moreover, as will be clarified in corollaries to follow, Theorem 1 can be used to show that our stopping rule provides minimax-optimal rates for various function classes. The interpretation of Theorem 1 is as follows: if the sum of the step-sizes remains below the threshold defined by (15), applying the gradient update (9) reduces the prediction error. Moreover, note that for Hilbert spaces with a larger kernel complexity, the stopping time is smaller, since fitting functions in a larger class incurs a greater risk of overfitting.
Using this complexity measure, we define the critical population rate to be the smallest positive solution to the inequality
(Our choice of the pre-factor is for later theoretical convenience.) In contrast to the critical empirical rate , this quantity is not data-dependent, since it depends on the population eigenvalues of the RKHS .
with probability at least .
Theorems 1 and 2 are general results that apply to any reproducing kernel Hilbert space. Their proofs involve combination of direct analysis of our iterative update (9) combined with techniques from empirical process theory and concentration of measure ; see Section 4 for the details.
To compare with the past work of Bühlmann and Yu , they also provide a theoretical analysis for gradient descent (referred to as -boosting in their paper), focusing exclusively on the fixed design case. Our theory applies to random as well as fixed design, and a broader set of step-size choices. The most significant difference between Theorem 1 in our paper and Theorem 3 in the paper is that we provide a data-dependent stopping rule where as their analysis does not lead to a computable stopping rule.
2 Some consequences for specific kernel classes
Let us now illustrate some consequences of our general theory for special choices of kernels that are of interest in practice.
We begin with the class of RKHSs whose eigenvalues satisfy a polynomial decay condition, meaning that
For the uniform measure on $\nu=1$. For any class that satisfies the polynomial decay condition, we have the following corollary:
Suppose that in addition to the assumptions of Theorem 2, the kernel class satisfies the polynomial eigenvalue decay (23) for some parameter . Then there is a universal constant such that
Moreover, if for all , then
The proof, provided in Section 4.3, involves showing that the population critical rate (20) is of the order . By known results on non-parametric regression , the error bound (25) is minimax-optimal.
In the special case of the first-order spline family (24), Corollary 1 guarantees that
In order to test the accuracy of this prediction, we performed the following set of simulations. First, we generated samples from the observation model
where , and are i.i.d. noise terms. We present results for the function , a piecewise linear function belonging to the first-order Sobelev class. For all our experiments, the noise variance was set to one, but so as to have a data-dependent method, this knowledge was not provided to the estimator. There is a large body of work on estimating the noise variance in non-parametric regression (see e.g. Hall and Marron ). For our simulations, we use the simple estimator based on Hall and Marron . They proved that their estimator is ratio consistent, which is sufficient for our purposes.
For a range of sample sizes between and , we performed the updates (9) with constant stepsize , stopping at the specified time . For each sample size, we performed independent trials, and averaged the resulting prediction errors. In panel (a) of Figure 2, we plot the mean-squared error versus the sample size, which shows consistency of the method. We also plotted the mean-squared error raised to the power versus the sample size. After this rescaling, the bound (27) predicts a linear relation, as is observed in panel (b) of Figure 2. We also performed the same experiments for the case of randomly drawn designs . In this case, we observed similar results but with more trials required to average out the additional randomness in the design.
If, in addition to the conditions of Theorem 2, the kernel has finite rank , then
3 Comparison with other stopping rules
In this section, we provide a comparison of our stopping rule to two other stopping rules, as well as a oracle method (that involves knowledge of , and so cannot be computed in practice).
First, we consider a simple hold-out method: it performs gradient descent using of the data, and uses the other of the data to estimate the risk (e.g. ). Assuming that the sample size is even for simplicity, we split the full data set into two equally sized subsets and . The data indexed by the training set is used to estimate the function using the gradient descent update (9). At each iteration , the data indexed by is used to estimate the risk via R_{\mbox{\tiny{HO}}}(f_{t})=\frac{1}{n}\sum_{i\in S_{te}}\big{(}y_{i}-f_{\mbox{\tiny{tr}}}^{t}(x_{i})\big{)}^{2}, which defines the stopping rule
A line of past work ) has analyzed stopping rules based on this type of hold-out rule. For instance, Caponetto analyzes a hold-out method, and shows that it yields rates that are optimal for Sobolev spaces with but not in general. The major drawback of using hold-out as that a percentage of the data is lost which increases the risk.
which is easy to compute. This risk estimate defines the associated stopping rule
In contrast with hold-out, this approach makes use of all the data. However, we are not aware of any theoretical guarantees for early stopping using the stopping rule (32).
It can be shown for both stopping rules (30) and (32), a valid sequence of step-sizes guarantees existence and uniqueness of the stopping point. Note that our stopping rule based on (15) requires estimation of both the empirical eigenvalues, and the noise variance . In contrast, the SURE-based rule requires estimation of but not the empirical eigenvalues, whereas the hold-out rule requires no parameters to be estimated, but a percentage of the data is used to estimate the risk.
As a third point of reference, we also plot the mean-squared error for an “oracle” method. It is allowed to base its stopping time on the exact prediction error , which defines the oracle stopping rule
Note that this stopping rule is not computable from the data, since it assumes exact knowledge of the function that we are trying to estimate.
In order to compare our stopping rule (15) with these alternatives, we generated i.i.d. samples from the previously described model (see equation (28) and the following discussion). We varied the sample size from to , and for each sample size, we performed independent trials (randomizations of the noise variables ), and computed the average of squared prediction error.
Figure 3 plots the resulting mean-squared errors of our stopping rule, the hold-out stopping rule (30), the SURE-based stopping rule (32), and the oracle rule (33). Panel (a) shows the mean-squared error versus sample size, whereas panel (b) shows the same curves in terms of logarithm of mean-squared error. Our proposed rule exhibits better performance than the hold-out and SURE-based rules for sample sizes larger than . On the flip side, since the construction of our stopping rule is based on the assumption that belongs to a known RKHS, it is unclear how robust it would be to model mis-specification. In contrast, the hold-out and SURE-based stopping rules are generic methods, not based directly on the RKHS structure, so might be more robust to model mis-specification. Thus, one interesting direction is to explore the robustness of our stopping rule. On the theoretical front, it would be interesting to determine whether the hold-out and/or SURE-based stopping rules can be proven to achieve minimax optimal rates for general kernels, as we have established for our stopping rule.
4 Connections to kernel ridge regression
We conclude by presenting an interesting link between our early stopping procedure and kernel ridge regression. The kernel ridge regression (KRR) estimate is defined as
where is the (inverse) regularization parameter. For any , the objective is strongly convex, so that the KRR solution is unique.
Friedman and Popescu observed through simulations that the regularization paths for early stopping of gradient descent and ridge regression are similar, but did not provide any theoretical explanation of this fact. As an illustration of this empirical phenomenon, Figure 4 compares the prediction error of the kernel ridge regression estimate over the interval versus that of the gradient update (9) over the first iterations. Note that the curves, while not identical, are qualitatively very similar.
From past theoretical work [36, 26, e.g.,], kernel ridge regression, with the appropriate setting of the penalty parameter , is known to achieve minimax-optimal error for various kernel classes, among them the Sobolev and finite-rank kernels for which stopping rule is provably optimal. In this section, we provide a theoretical basis for these connections, in particular by showing that if the inverse penalty parameter is chosen using the same criterion as our stopping rule, then the prediction error satisfies the same type of bounds (with now playing the role of the running sum ).
More precisely, suppose that we choose to be the smallest positive solution to the inequality
Note that this criterion is identical to the one underlying our stopping rule, except that the continuous parameter replaces the discrete parameter .
Consider the kernel ridge regression estimator (34) applied to i.i.d. samples with -sub Gaussian noise. Then there are universal constants such that for all , the following claims hold with probability at least :
For all , we have
With chosen according to the rule (35), we have
Moreover, for all , we have
Note that (apart from a slightly different leading constant) the upper bound (36) is identical to the upper bound in equation (16) in Theorem 1. The only difference is that the inverse regularization parameter replaces the running sum . Similarly, part (b) of Proposition 1 guarantees that the kernel ridge regression (34) has prediction error that is upper bounded by the empirical critical rate , as in part (b) of Theorem 1. Let us emphasize that bounds of this type on kernel ridge regression have been derived in past work [26, 36, e.g.,]. The novelty here is that the structure of our result reveals the intimate connection to early stopping, and in fact, the proofs follow a parallel thread.
In conjunction, Proposition 1 and Theorem 1 provide a theoretical explanation for why, as shown in Figure 4, the paths of the gradient descent update (9) and kernel ridge regression estimate (34) are so similar. However, it is important to emphasize that from a computational point of view, early stopping has certain advantages over kernel ridge regression. In general, solving a quadratic program of the form (34) requires on the order of basic operations, and this must be done repeatedly at each new choice of . On the other hand, by its very construction, the iterates of the gradient algorithm correspond to the desired path of solutions, and each gradient update involves multiplication by the kernel matrix, incurring operations.
Proofs
We now turn to the proofs of our main results. The main steps in each proof are provided in the main text, with some of the more technical results deferred to the appendix.
corresponding to the -vector obtained by evaluating the function at all design points, and the short-hand
corresponding to the vector of zero mean sub-Gaussian noise random variables. From equation (7), we have the relation
Consequently, by multiplying both sides of the gradient update (9) by , we find that the sequence evolves according to the recursion
Since , the sequence is initialized with . The recursion (41) lies at the heart of our analysis.
is the diagonal matrix of eigenvalues, augmented with zero eigenvalues as needed. We then define a sequence of diagonal shrinkage matrices as follows:
The matrix indicates the extent of shrinkage towards the origin; since for all iterations , in the positive semodefinite ordering, we have the sandwich relation
See Appendix B.1 for the proof of this intermediate claim.
In order to complete the proof of the upper bound in Theorem 1, our next step is to obtain high probability upper bounds on these two terms. We summarize our conclusions in an additional lemma, and use it to complete the proof of Theorem 1(a) before returning to prove it.
For all iterations , the squared bias is upper bounded as
Moreover, there is a universal constant such that, for any iteration ,
We can now complete the proof of Theorem 1(a). The bound (16) follows quickly: conditioned on the event V_{t}\leq 5\sigma^{2}\eta_{t}\mathcal{R}^{2}_{K}\big{(}1/\sqrt{\eta_{t}}\big{)}, we have
where inequality (i) follows from (42) in Lemma 1, and inequality (ii) follows from the bounds in Lemma 2 and (iii) follows since . The lower bound (c) in equation (18) follows from (44).
Turning to the proof of part (b), using the upper bound from (a)
Based on the definition of and , we are guaranteed that , Moreover, by the non-decreasing nature of our step sizes, we have , which implies that , and hence
Putting together the pieces establishes the bound claimed in part (b).
It remains to establish the bias and variance bounds stated in Lemma 2, and we do so in the following subsections. The following auxiliary lemma plays a role in both proofs:
For all indices , the shrinkage matrices satisfy the bounds
See Appendix B.2 for the proof of this result.
Let us now prove the upper bound (43) on the squared bias. We bound each of the two terms in the definition (42) of in term. Applying the upper bound (45a) from Lemma 3, we see that
Here the final step follows from the fact that is a unitary operator, so that .
Turning to the second term in the definition (42), we have
where the final step uses the fact that for all by construction. Combining the upper bounds (46) and (47) with the definition (42) of yields the claim (43).
1.2 Controlling the variance
Let us now prove the bounds (44) on the variance term . (To simplify the proof, we assume throughout that ; the general case can be recovered by a simple rescaling argument). By the definition of , we have
where the final equality uses the definition of . Putting together the pieces, we see that
where are (respectively) the operator and Frobenius norms of the matrix .
If we apply this result with and , then we have , and moreover
Consequently, the bound (49) implies that
Since setting \delta=3\sigma^{2}\eta_{t}\;\biggr{(}\mathcal{R}_{K}(1/\sqrt{\eta_{t}})\biggr{)}, the claim (44) follows.
2 Proof of Theorem 2
This proof is based on the following two steps:
second, showing the empirical critical radius defined in equation (14) is upper bounded by the population critical radius defined in equation (21).
Our proof is based on a number of more technical auxiliary lemmas, proved in the appendices. The first lemma provides a high probability bound on the Hilbert norm of the estimate .
There exist universal constants and such that for all with probability greater than or equal to .
with probability at least .
This claim follows from known results on reproducing kernel Hilbert spaces (e.g., Lemma 5.16 in the paper and Theorem 2.1 in the paper ). Our final lemma, proved in Appendix E.2, relates the critical empirical radius to the population radius :
The inequality holds with probability at least .
With these lemmas in hand, the proof of the theorem is straightforward. First, from Lemma 4, we have and hence by triangle inequality, with high probability as well. Next, applying Lemma 5 with , we find that
with probability greater than . Finally, applying Lemma 6 yields that the bound holds with the claimed probability.
3 Proof of Corollaries
In each case, it suffices to upper bound the population critical rate previously defined.
so that .
4 Proof of Proposition 1
We now turn to the proof of our results on the kernel ridge regression estimate (34). The proof follows a very similar structure to that of Theorem 1. Recall the eigendecomposition of the empirical kernel matrix, and that we use to denote its rank. For each , we define the ridge shrinkage matrix
We then have the following analog of Lemma 2 from the proof of Theorem 1:
For any , the prediction error for the estimate is bounded as
Note that Lemma 7 is identical to Lemma 2 with the shrinkage matrices replaced by their analogues . See Appendix C.1 for the proof of this claim.
Our next step is to show that the diagonal elements of the shrinkage matrices are bounded:
For all indices , the diagonal entries satisfy the bounds
Note that this is the analog of Lemma 3 from Theorem 1, albeit with the constant in the bound (54a) instead of . See Appendix C.2 for the proof of this claim. With these lemmas in place, the remainder of the proof follows as in the proof of Theorem 1.
Discussion
Our analysis and stopping rule may be improved and extended in a number of ways. First, it would interesting to see how our stopping rule can be adapted to mis-specified models. As specified, our method relies on computation of the eigenvalues of the kernel matrix. A stopping rule based on approximate eigenvalue computations, for instance via some form of sub-sampling , would be interesting to study as well.
This work was partially supported by NSF grant DMS-1107000 to MJW and BY. In addition, BY was partially supported by the NSF grant SES-0835531 (CDI), ARO-W911NF-11-1-0114 and the Center for Science of Information (CSoI), an US NSF Science and Technology Center, under grant agreement CCF-0939370, and MJW was also partially supported ONR MURI grant N00014-11-1-086. During this work, GR received partial support from a Berkeley Graduate Fellowship.
Appendix A Derivation of gradient descent updates
In this appendix, we provide the details of how the gradient descent updates (9) are obtained. In terms of the transformed vector , the least-squares objective takes the form
Given a sequence , the gradient descent algorithm operates via the recursion . Taking the gradient of yields
Substituting into the gradient descent update yields the claim (9).
Appendix B Auxiliary lemmas for Theorem 1
In this appendix, we collect together the proofs of the lemmas for Theorem 1.
where step (i) uses the fact that for all . Finally, the orthogonality of implies that , from which the upper bound (42) follows.
B.2 Proof of Lemma 3
Using the definition of and the elementary inequality , we have
Turning to the second set of inequalities, we have . By induction, it can be shown that
where step (i) follows from the inequality ; and step (ii) follows from the inequality , valid for .
Appendix C Auxiliary results for Proposition 1
In this appendix, we prove the auxiliary lemmas used in the proof of Proposition 1 on kernel ridge regression.
By definition of the KRR estimate, we have \biggr{(}K+\frac{1}{\nu}I\biggr{)}f_{\nu}(x_{1}^{n})=Ky_{1}^{n}. Consequently, some straightforward algebra yields the relation
where the shrinkage matrix was previously defined (52). The remainder of the proof follows using identical steps to the proof of Lemma 1 with replaced by .
C.2 Proof of Lemma 8
By definition (52) of the shrinkage matrix, we have . Moreover, we also have
Appendix D Properties of the empirical Rademacher complexity
In this section, we prove that the lies in the interval , and is unique. Recall that the stopping point is defined as \widehat{\varepsilon}_{n}:\,=\arg\min\biggr{\{}\epsilon>0\,\mid\widehat{\mathcal{R}}_{K}\big{(}\epsilon\big{)}\leq\epsilon^{2}/(2e\sigma)\biggr{\}}. Re-arranging and substituting for \widehat{\mathcal{R}}_{K}\big{(}\epsilon\big{)} yields the equivalent expression
Note that \sum_{i=1}^{n}\min\big{\{}\epsilon^{-2}\widehat{\lambda}_{i},1\big{\}} is non-increasing in while is increasing in . Furthermore when , 0=n\epsilon^{2}<\sum_{i=1}^{n}\min\big{\{}\epsilon^{-2}\widehat{\lambda}_{i},1\big{\}}>0 while for , \sum_{i=1}^{n}\min\big{\{}\eta_{t}\widehat{\lambda}_{i},1\big{\}}<n\epsilon^{2}. Hence exists. Further, is a continuous function of since it is the sum of continuous functions, Therefore, the critical radius exists, is unique and satisfies the fixed point equation
Finally, we show that the integer belongs to the interval and is unique for any valid sequence of step-sizes. Be the definition of given by the stopping rule (15) and , we have . Since and as and , there exists a unique stopping point in the interval .
Appendix E Auxiliary results for Theorem 2
This appendix is devoted to the proofs of auxiliary lemmas used in the proof for Theorem 2.
Recall the eigendecomposition with , and the relation . Substituting into equation (56) yields
where equality (i) follows from the observation equation . From Lemma 3, we have , and hence , where the last step follows from the analysis in Section 4.1.1.
It remains to derive upper bounds on the random variables and .
where the final inequality follows from the analysis in Section 4.1.1.
where . Consequently, is a quadratic form in zero-mean sub-Gaussian variables, and using the tail bound (49), we have
But by the definition (15) of the stopping rule and the fact that , we have
Using the definition of the empirical kernel complexity, we have
where the final inequality holds for , using the definition of the stopping rule.
Putting together the pieces, we have shown that
for all . Since for any , the claim follows.
E.2 Proof of Lemma 6
In this section, we need to show that . Recall that and satisfy
It suffices to prove that using the definition of .
In order to prove the claim, we define the random variables
where are i.i.d. standard normal, as well as the associated (deterministic) functions
so that it is also Lipschitz . Consequently, standard concentration results imply that
Let us condition on the two events and . We then have
where inequality (a) follows the first bound in equation (59) with and , inequality (b) follows from Lemma 5 with , inequality (c) follows from the second bound (59) with and , and inequality (d) follows from the definition of . Since the events and hold with the stated probability, the claim follows.