Benign overfitting in ridge regression

A. Tsigler, P. L. Bartlett

Introduction

The bias-variance tradeoff is well known in statistics and machine learning. The classical theory suggests that large models overfit the data and that one needs significant regularization to make them generalize. This intuition is, however, in contrast with the empirical study of modern machine learning techniques. It was repeatedly observed that even models with enough capacity to exactly interpolate the data can generalize with little regularization, or no regularization at all (Belkin et al., 2019a; Zhang et al., 2016). In some cases, the best value of the regularizer can be zero (Liang and Rakhlin, 2018) or even negative (Kobak et al., 2020) for such models.

The aim of this paper is to provide a theoretical understanding of these phenomena, and to do that we consider one of the simplest settings in which they can be observed—ridge regression in dimension pp with n<pn<p i.i.d. noisy observations. Despite being a classical statistical methodology, ridge regression and its ridgeless limit are still not completely understood in such a regime: when n<pn<p classical theory suggests that the regularization parameter should be large enough to provide additional capacity control (see, e.g., Hsu et al. (2014) and references therein). The basis of our work was set by Bartlett et al. (2020), who studied the variance term for ridgeless regression with n<pn<p under the additional assumption that the data vectors have independent components. The main discovery of their work is that the variance term can be small if and only if there exists k∗≪nk^{*}\ll n such that if one removes the first k∗k^{*} largest eigenvalues of the covariance operator, the remaining tail of the sequence of eigenvalues has large effective rank compared to nn. In our work we start afresh and use the same separation of eigendirections from the very beginning, which allows us to substitute the independence assumption by a weaker assumption on the condition number of the Gram matrix of the tails of the data vectors. Moreover, we show how the same separation of the eigenvalues gives tight bounds for the bias term too. Finally, by virtue of algebra, our argument extends very easily to the setting of ridge regression, which allows for comparison with the above mentioned classical results and investigation of the case when the regularization is even less than zero. We show that we extend (with different constants) the results of Hsu et al. (2014) to a larger range of regularization parameters, and give general conditions under which negative regularization is optimal and can provide arbitrarily high multiplicative gain in excess risk.

The structure of the paper is the following: in Section 1.2, we provide an overview of the field of overparameterized ridge regression. We postpone a more technical overview to Section 9, where we also explain how our paper relates to other works. We start the presentation of our results with introducing the setting of ridge regression in Section 2. After that, we use Section 3 to introduce the separation of eigendirections and define the relevant important objects: Subsection 3.1 shows two simple sketches aimed at building up intuition, Subsection 3.2 explains the results of Bartlett et al. (2020) in terms of that intuition and Subsection 3.3 explains how our work completes the story. The aim of this discussion is to elucidate the meaning behind the rigorous assumptions and results that we show in Section 4. Then Section 5 provides a more technical discussion of the main assumption. Section 6 provides an outline of the proof and explains where it uses the assumption that the data is sub-Gaussian. In Section 7 we note that as a side product of the proof an alternative form of the main bound arises, which makes it convenient to compare our bounds to the results of other papers. In Section 8, we derive the sufficient conditions for optimality of negative regularization. Finally, we conclude the paper with Section 10.

2 Related work

Motivated by the empirical success of overparametrized models, there has recently been a flurry of work aimed at understanding theoretically whether the corresponding effects can be seen in overparametrized linear regression; see, e.g., (Liang et al., 2019; Muthukumar et al., 2019; Belkin et al., 2019b; Bibas et al., 2019; Nakkiran, 2019; Xu and Hsu, 2019; Zhou et al., 2021; Negrea et al., 2020) and other references in this section.

The results that aim at characterizing the generalization performance of linear methods can be split roughly into three categories. The first category is results that give exact expressions of the excess risk in the asymptotic setting with ambient dimension and the number of data points going to infinity, while their ratio goes to a constant, and the spectral density of the covariance operator converges weakly to some limiting distribution (Dobriban and Wager, 2015; Hastie et al., 2019; Wu and Xu, 2020; Richards et al., 2020).

The second category is results that make strong assumptions on the distribution of data (e.g., that data vectors have i.i.d. components or come from a uniform distribution on a sphere) and derive bounds on excess risk of linear regression with some specific features, or kernel regression with a kernel that has some specific properties (Montanari and Zhong, 2020; Ghorbani et al., 2020b; Mei and Montanari, 2019; Ghorbani et al., 2020a; Liang et al., 2020). Some of these results are also asymptotic, and some are non-asymptotic.

The third category is results that prove non-asymptotic bounds depending on the arbitrary structure of the covariance of the data. This is the category to which this paper belongs. We already mentioned the work of Bartlett et al. (2020). The other works in this category are (Kobak et al., 2020), (Chinot and Lerasle, 2021), (Dereziński et al., 2019) and (Dereziński et al., 2020).

We provide more detailed comparison and discuss some technical aspects in Section 9.

There have been many related works since the arXiv version of this paper (Tsigler and Bartlett, 2020) was posted (Mei et al., 2021a, b; Ghosh et al., 2021; Misiakiewicz and Mei, 2021; Bartlett et al., 2021; Celentano et al., 2021; Muthukumar et al., 2021; Narang et al., 2021; McRae et al., 2021; Shamir, 2022; Koehler et al., 2021; Bunea et al., 2022) etc. Hastie et al. (2020) obtained a finite sample version of the asymptotic results of the old version of their paper (Hastie et al., 2019). In Section 7.3 we provide an explicit comparison with our results. More recently, Mei et al. (2021a) obtained generalization bounds for kernel ridge regression under similar assumptions to those we consider here (see their Assumption 1). Koehler et al. (2021) used the idea of separating the firs kk eigendirections of the covariance to study excess risk of minimum norm interpolators with arbitrary norms and Gaussian data. Bartlett et al. (2021) obtained results which belong to the intersection of the first and the second categories which we described in Section 1.2 (see their Theorem 4.1). Shamir (2022) constructed an example of a misspecified setting (i.e., the noise is not independent from the data) in which our results don’t hold even though the condition number of the matrix AkA_{k} is a constant (see their Example 1).

Ridge regression setup

where λ1≥λ2≥⋯≥λp\lambda_{1}\geq\lambda_{2}\geq\dots\geq\lambda_{p} is the non-increasing sequence of eigenvalues of Σ\Sigma.

We assume sub-Gaussianity: denote Z:=XΣ−1/2Z:=X\Sigma^{-1/2} (whitened data matrix). Rows of ZZ are isotropic centered i.i.d. random vectors. We assume that rows of ZZ are sub-Gaussian with sub-Gaussian norm σx\sigma_{x} as defined in Appendix A.1.

Sub-Gaussianity is a classical assumption, which provides a convenient framework for controlling deviations of various quantities of interest (see Vershynin (2018) for an introduction). We discuss whether it is actually needed in Section 6.4.

2 Response model

where ε\varepsilon is the noise vector. We assume that components of ε\varepsilon are i.i.d. centered random variables with variance vε2v_{\varepsilon}^{2}.

3 Learning procedure

Ridge regression with regularization parameter λ\lambda is a classical learning algorithm that estimates θ∗\theta^{*} from X,yX,y according to the following formula:

See Appendix B for a discussion. The matrix λIn+XX⊤\lambda I_{n}+XX^{\top} will play an important role in our analysis, so we denote

In the ridgeless case (λ=0\lambda=0), AA is the Gram matrix of the data. Ridge regularization shifts all its eigenvalues by λ\lambda.

4 Excess risk and its bias-variance decomposition

The quantity of interest is excess risk that we define in the following way: recall that xx is a new data point from the same distribution as rows of XX. The error that our predictor incurs on this data point is x⊤(θ^(y)−θ∗)x^{\top}(\hat{\theta}(y)-\theta^{*}). We define excess risk as the average squared error over the population, i.e.,

where we define ∥x∥M:=x⊤Mx\|x\|_{M}:=\sqrt{x^{\top}Mx} for any positive semi-definite (PSD) matrix MM and any vector xx of the corresponding dimension.

Note that θ^(y)\hat{\theta}(y) is linear in yy, which allows us to write

The term ∥θ^(Xθ∗)−θ∗∥Σ2\|\hat{\theta}(X\theta^{*})-\theta^{*}\|_{\Sigma}^{2} is the error in the noiseless regime; it is caused by rows of XX not spanning the whole space and by regularization. The term ∥θ^(ε)∥Σ2\|\hat{\theta}(\varepsilon)\|_{\Sigma}^{2} is the error of learning the zero function from pure noise. One can see that these two terms nicely decouple from each other and can be studied separately. Moreover, note that ∥θ^(ε)∥Σ2\|\hat{\theta}(\varepsilon)\|_{\Sigma}^{2} is a quadratic form in ε\varepsilon. Its expectation scales linearly with vε2v_{\varepsilon}^{2} (variance of the noise):

If the noise is sub-Gaussian with sub-Gaussian norm σε\sigma_{\varepsilon}, then by Lemma 22 from the appendix for some absolute constant cc and any t>1t>1, with probability at least 1−ce−n/c1-ce^{-n/c},

These quantities don’t depend on the distribution of the noise. The goal of this paper is to provide sharp non-asymptotic bounds for them.

The story of separating the first k𝑘k eigendirections and our contribution

Before we present our results, we develop some intuition by considering two easy scenarios: "essentially low-dimensional" and "essentially high-dimensional". For each scenario we will do an informal computation of the excess risk and give a geometric interpretation.

where ΠX\Pi_{X} is the projection on the span of columns of XX. This allows us to write the following informal computation, which leads to the classical k/nk/n rate:

Here we used the informal transition ∥n−1X⊤X−Σ∥≈0\|n^{-1}X^{\top}X-\Sigma\|\approx 0 — the population covariance matrix is well-approximated by the sample covariance matrix uniformly in all directions. If k≪nk\ll n this results holds with very few additional assumptions (see (Tikhomirov, 2017) and references therein).

Such a result leads to a classical bias-variance trade-off: the larger the model is, the better it can approximate the true dependence, but also the more noise it picks up. A classical cartoon is shown in Figure 1: Figures 1(a)–1(c) show the result of performing least squares regression with features {cos⁡(mπx)}m=0p\{\cos(m\pi x)\}_{m=0}^{p}. As the number of features grows, the ability of the model to approximate the signal grows too, but at the cost of increasing sensitivity to the noise. As the number of features approaches the number of data points (the "interpolation threshold"), this leads to overfitting.

According to our definitions of bias and variance from Equation (2) with λ=0\lambda=0,

Here we see the following: the matrix X⊤(XX⊤)−1XX^{\top}(XX^{\top})^{-1}X is the projection on the span of the data. This is a random nn-dimensional subspace in pp-dimensional space. Thus, with high probability ∥X⊤(XX⊤)−1Xθ∗∥2/∥θ∗∥2≈n/p\|X^{\top}(XX^{\top})^{-1}X\theta^{*}\|^{2}/\|\theta^{*}\|^{2}\approx n/p, so the projection only preserves an n/pn/p fraction of the energy of the signal. When it comes to the variance term, we can use the same concentration result for the sample covariance as we did in the low-dimensional case, but for the transposed data matrix, meaning XX⊤≈pInXX^{\top}\approx pI_{n}. Finishing the computation yields

We see that the signal is almost not learned at all in this regime (the bias term is close to the full energy of the signal), but the noise is also damped by the factor p/np/n.

The geometric interpretation is as follows: if p≫np\gg n, the span of nn data points is almost orthogonal to θ∗\theta^{*} with high probability. The data just does not measure θ∗\theta^{*} in most directions, so almost the whole signal is lost. On the other hand, despite the noise fully propagating into in-sample predictions, a new data point xx is also almost orthogonal to all the old data points with high probability, so those noisy predictions don’t influence the prediction in xx. Overall, despite interpolating the data, we effectively learn a zero estimate out of sample. The zero estimator can be a very good estimator, e.g., if the true signal is zero. This hints at the possibility of learning via high-dimensional interpolation: the model can use the directions in which the signal is not learned to smear the noise over them.

The learning cartoon for this regime is given in Figures 1(d)–1(e): as the number of cosine features becomes large compared to the number of data points, the learning procedure predicts zero out of sample, despite interpolating the values in sample. However, if we add multiplicative weights to the cosine features, down-weighting higher frequencies, it causes the minimum norm solution to learn the low frequency signal and interpolate the noise using the high frequency components.

2 The ground provided by the previous work

Bartlett et al. (2020) studied the variance term for ridgeless regression under the additional assumption that the data vectors have independent components. To give an overview of their results, introduce the following quantities: for any k∈{0,1,2,…,p−1}k\in\{0,1,2,\dots,p-1\} define

In the ridgeless setting, meaning λ=0\lambda=0, r0r_{0} is a well-known effective rank of the matrix Σ\Sigma, rkr_{k} is the effective rank of the same matrix, but after restricting it to the span of its last p−kp-k eigenvectors, and ρk\rho_{k} measures how large that effective rank is compared to the number of data points.

Given this notation, Bartlett et al. (2020) defined k∗k^{*} as the minimum kk for which ρk\rho_{k} is larger than a universal constant. Their result is then that if such a k∗k^{*} doesn’t exist or if k∗/nk^{*}/n is at least a constant, then VV is lower bounded by a constant. Otherwise, they show that with high probability VV is equal up to a constant factor to the following quantity:

Inspection of the proof shows that the "essentially low-dimensional" rate k/nk/n comes from the first kk components of the vector θ^(ε)\hat{\theta}(\varepsilon) and the term (n∑i>k∗λi2)/(∑i>k∗λi)2{\left(n\sum_{i>k^{*}}\lambda_{i}^{2}\right)}/{\left(\sum_{i>k^{*}}\lambda_{i}\right)^{2}} comes from the rest of the components of θ^(ε)\hat{\theta}(\varepsilon). Note that if one plugs in λi=λj\lambda_{i}=\lambda_{j} for all i,j>k∗i,j>k^{*}, then it becomes (n∑i>k∗λi2)/(∑i>k∗λi)2=n/(p−k∗){\left(n\sum_{i>k^{*}}\lambda_{i}^{2}\right)}/{\left(\sum_{i>k^{*}}\lambda_{i}\right)^{2}}=n/(p-k^{*}) — exactly the variance term of the "essentially high-dimensional" regime of Section 3.1. The conclusion of Bartlett et al. (2020) is therefore that the only way that an interpolating solution can damp the noise by more than a constant factor is the following: the data is such that after removing kk components, it becomes "essentially high-dimensional", meaning that the effective rank of its covariance is large compared to the number of data points. After that the variance in the first kk components is the same as for the classical least squares, and the variance in the rest of the components corresponds to the "essentially high-dimensional" case, where you cannot learn but the noise is still damped. Note, however, that that story was not complete because only the variance term was bounded sharply in that work.

3 Our contribution

We complete the story of Bartlett et al. (2020) by providing sharp bounds on the bias term, extending the results to the setting of ridge regression with nonzero λ\lambda, and replacing the assumption of independence of the components by a much broader sufficient condition. From our point of view, k∗k^{*} is the main discovery of Bartlett et al. (2020). In our work we also start with separation of the first kk eigendirections and show that the same split leads to a bound for the bias term that is in full alignment with the intuitive explanation given above.

The central object in our analysis is the following matrix:

The matrix Xk:∞Xk:∞⊤X_{k:\infty}X_{k:\infty}^{\top} is the Gram matrix of the data after removing the first kk components. AkA_{k} is obtained from that Gram matrix by shifting all eigenvalues by the ridge regularization parameter λ\lambda.

In Bartlett et al. (2020), the crucial step was to show that the singular values of AkA_{k} are within a constant factor of each other for k=k∗k=k^{*} (see their Lemma 5). When the components of data vectors are independent, such control over the condition number is a consequence of high effective rank. In this paper, the roles of effective rank and condition number of AkA_{k} are reversed. We prove sharp bounds assuming that there is some oracle that guarantees that with high probability all eigenvalues of AkA_{k} are within a constant factor of each other. Independence of components is not needed. Moreover, such control implies that ρk\rho_{k} is at least a constant, which, in turn, implies sharpness of the bounds. In other words, we provide a more general condition under which the tail of the data is "essentially high dimensional" — instead of assuming independent components and high effective rank, only oracle control of condition number of AkA_{k} is needed. In Section 5 we provide an extensive discussion of this assumption: we show that a version of a small-ball condition for the tails of the data is required and that a stronger version of the same condition is sufficient if the data is sub-Gaussian.

The bound that we obtain for the bias term is given informally by the following expression:

One can see how it aligns with the intuition of “essentially low-dimensional” and “essentially high-dimensional” parts: one cannot estimate the signal in the high dimensional part, so almost all of its energy ∥θk:∞∗∥Σk:∞2\|\theta^{*}_{k:\infty}\|_{\Sigma_{k:\infty}}^{2} goes into the error. When it comes to the low-dimensional part, the high-dimensional part acts as a ridge regularizer for it, so the bias in the first kk components is the same as that of ridge regression with regularization coefficient λ+∑i>kλi\lambda+\sum_{i>k}\lambda_{i} (i.e., the full regularization is equal to the explicitly imposed part λ\lambda plus "implicit regularization", which is equal to the energy of the tail.)

Our extension of the results to the ridge regression scenario allows us to answer the following question: can it happen that the "essentially high dimensional part" is too high dimensional, meaning that it provides too much regularization and negative λ\lambda is needed to compensate for that? In Section 8, we show that this indeed can happen and that the following is sufficient for it to be true: the noise and the energy of the signal in the tail (components k:∞{k:\infty}) are small compared to the signal in the spikedHere we use the word ”spiked” as in the ”spiked covariance models”, which usually assume that the eigenvalues of Σk:∞\Sigma_{k:\infty} are all equal and of smaller order than eigenvalues of Σ0:k\Sigma_{0:k}. One way to interpret our results is that only spiked-covariance-like models can exhibit benign overfitting, and we derive general conditions for a model to be spiked-covariance-like. part (components 0:k{0:k}), but the effective rank of the tail abruptly becomes much larger than nn.

4 Additional notation

Throughout the paper the following objects will be needed: for any ii denote ziz_{i} to be the ii-th column of ZZ. Then define

an analogue of the matrix AA, but we throw away the ii-th component of the data vectors. Denote also

the ratio of the effective rank of the tail to the number of data points without taking regularization λ\lambda into account.

For the readers convenience, we compile all the notation in Appendix A.

Main results

As we explained in the previous section, the central objects in our proof are AkA_{k} and ρk\rho_{k}. In principle, any control of the spectrum of AkA_{k} leads to some upper bound on BB and VV (see our Theorem 5), the question is when that bound is tight. The intuitive answer is the following: the bound is tight when the condition number of AkA_{k} is a constant and kk is chosen correctly, meaning that either ρk\rho_{k} is a constant or kk is the smallest number such that ρk\rho_{k} is larger than a constant (i.e., k=k∗k=k^{*}).Note that there may be several values of kk that satisfy these conditions. Applying our upper bound for any of those kk will yield the same result up to a constant factor. Our arguments, however, only support this intuition when the following technical assumption holds for some constant γ<1\gamma<1:

Assume that λ>−γ∑i>kλi\lambda>-\gamma\sum_{i>k}\lambda_{i}.

The focus of our work was to obtain the tight upper bound on the excess risk under minimal assumptions. Such minimal assumption turns out to be

Assume that with probability at least 1−δ1-\delta the matrix AkA_{k} is positive-definite (PD) with condition number at most LL.

We provide a thorough discussion of this assumption in Section 5, for example we derive sufficient and almost matching necessary conditions for it to hold when the distribution is sub-Gaussian. The reason why we don’t just assume those sufficient conditions is that we believe that sub-Gaussianity is not essential for our results to hold, as we discuss in Section 6.4. Moreover, the matrix AkA_{k} is the central object in our argument, and making an assumption on its condition number explicitly makes presentation easier.

A careful reader will notice that we have just stated that another condition is needed for the bound to be tight: kk should be chosen in the right way. This, however, can be achieved by shifting kk to k∗k^{*} if necessary: indeed, assumptions NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) imply a constant lower bound on ρk\rho_{k} (see Corollary 6). That means that either ρk\rho_{k} is a constant, or it is more than a constant, i.e., k>k∗k>k^{*}. In the latter case one can shift from kk to k∗k^{*} meaning that Assumption CondNum(k,δ,Lk,\delta,L)(k∗,δ′,L′)(k^{*},\delta^{\prime},L^{\prime}) also holds with modified constants δ′,L′\delta^{\prime},L^{\prime} (see Lemma 11 for the exact statement). Now applying the upper bound (Corollary 6) with k=k∗k=k^{*} gives tight result, as given by the following

Fix any constants b>0,b>0, γ∈[0,1),\gamma\in[0,1), L>0.L>0. Denote

There exists a constant cc which only depends on σx\sigma_{x}, bb, γ\gamma, LL such that the following holds: suppose NoncritReg(k,γk,\gamma)(kˉ,γ)(\bar{k},\gamma) and CondNum(k,δ,Lk,\delta,L)(kˉ,δ,L)(\bar{k},\delta,L) are satisfied for some kˉ<n/c\bar{k}<n/c and δ<1−ce−n/c\delta<1-ce^{-n/c}. Take k=min⁡(kˉ,k∗)k=\min(\bar{k},k^{*}). Then with probability at least 1−ce−n/c−δ1-ce^{-n/c}-\delta

Moreover ρk≥c−1\rho_{k}\geq c^{-1}, NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) holds, and there exist L′,c′L^{\prime},c^{\prime} that only depend on σx,b,γ,L\sigma_{x},b,\gamma,L s.t. CondNum(k,δ,Lk,\delta,L)(k,δ+c′e−n/c′,L′)(k,\delta+c^{\prime}e^{-n/c^{\prime}},L^{\prime}) holds.That is, the assumptions still hold if we substitute kˉ\bar{k} by kk, but with different L,δL,\delta. Further we will see that satisfaction of these assumptions implies tightness of the bounds for the chosen kk.

Proof In this proof let’s call any quantities that only depend on σx\sigma_{x}, γ\gamma, bb and LL "constants". First of all, if kˉ≤k∗\bar{k}\leq k^{*} then k=kˉk=\bar{k}. Since we are given that NoncritReg(k,γk,\gamma)(kˉ,γ)(\bar{k},\gamma) and CondNum(k,δ,Lk,\delta,L)(kˉ,δ,L)(\bar{k},\delta,L) are satisfied, we immediately get that NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ+c′e−n/c′,L′)(k,\delta+c^{\prime}e^{-n/c^{\prime}},L^{\prime}) are satisfied with L′=LL^{\prime}=L and any c′>0c^{\prime}>0. However, if kˉ>k∗\bar{k}>k^{*} then k=k∗k=k^{*} and by Lemma 11 NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ+c′e−n/c′,L′)(k,\delta+c^{\prime}e^{-n/c^{\prime}},L^{\prime}) are still satisfied for some constants c′,L′c^{\prime},L^{\prime}. Note that the larger the constants, the looser the assumptions, so we can take our final choice of c′,L′c^{\prime},L^{\prime} to be the maximum over two cases.

Now that we know that NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ+c′e−n/c′,L′)(k,\delta+c^{\prime}e^{-n/c^{\prime}},L^{\prime}) are satisfied, by Corollary 6, there is a constant c1c_{1} such that ρk>1/c1\rho_{k}>1/c_{1} and with probability at least 1−c1e−n/c1−c′e−n/c′−δ1-c_{1}e^{-n/c_{1}}-c^{\prime}e^{-n/c^{\prime}}-\delta

Taking c≥c1+c′c\geq c_{1}+c^{\prime} gives the first part.

Algebraically, under Assumption CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) all eigenvalues of Ak−1A_{k}^{-1} are within a constant factor of each other, so one can pull its operator norm from the expressions and obtain an upper bound without losing tightness. This strategy, however, doesn’t produce lower bounds, so we derive them in a different way: we decompose bias and variance into sums with respect to individual coordinates of the predictor, and bound each term in each sum from below. Because of that, we impose different assumptions, namely

Assume that all elements of matrix XX are independent (i.e., data vectors have independent coordinates).

Assume that the sequence of coordinates of Σ−1/2x\Sigma^{-1/2}x is exchangeable (any deterministic permutation of the coordinates of whitened data vectors doesn’t change their distribution).

Assume that θ∗\theta^{*} is sampled from a prior distribution in the following way: one starts with vector θˉ\bar{\theta} and flips signs of all its coordinates with probability 0.50.5 independently.

for the bias term. Because of this mismatch in assumptions, our lower bounds don’t show that our upper bound is always tight. What they show is that one needs some specific knowledge about the distribution to obtain better bounds. We provide a more detailed discussion of the relations between those assumptions in Section 6.2. The lower bounds themselves are given by the following

Fix any constants b>a>0b>a>0, γ∈[0,1),\gamma\in[0,1), L>0.L>0. Denote

There exists a constant cc which only depends on σx\sigma_{x}, aa, bb, γ\gamma, LL such that all the following hold:

For any k∈{0,1,…,k∗}k\in\{0,1,\dots,k^{*}\} under assumptions IndepCoord, NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma), if ρk>a\rho_{k}>a then with probability at least 1−2δ−ce−c/n1-2\delta-ce^{-c/n}

For any k∈{1,2,…,k∗}k\in\{1,2,\dots,k^{*}\} under assumptions NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma), CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L), PriorSigns(θˉ\bar{\theta})(θˉ)(\bar{\theta}) and ExchCoord, if ρk>a\rho_{k}>a then with probability at least 1−2δ−ce−c/n1-2\delta-ce^{-c/n}

Proof Lemma 7 gives a lower bound for VV, and Lemmas 8 and 9 give the lower bound for B. Those lower bounds have the desired probability, but different algebraic form. To bring them to the same form as the upper bounds one needs the right kk to be chosen. We assumed that ρk>a\rho_{k}>a. Moreover, since k≤k∗k\leq k^{*} by definition of k∗k^{*} we either have ρk≤b\rho_{k}\leq b or k=k∗k=k^{*}. In both of those cases Theorem 10 guarantees that these lower bounds are the same as what we need up to multiplicative constants that only depend on σx\sigma_{x}, γ\gamma, aa, bb and LL.

One can notice from this proof that having separate arguments for the lower bounds results in a different algebraic form of the same bound. This different form turns out to be convenient to draw explicit connections between our results and results from earlier works. We do that in Section 7.

The central assumption that we need to compute the excess risk is Assumption CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L), which provides control over condition number of AkA_{k}. In this section we discuss when this assumption is known to be satisfied and what are the necessary conditions for it to happen.

Recall that Ak=Xk:∞Xk:∞⊤+λInA_{k}=X_{k:\infty}X_{k:\infty}^{\top}+\lambda I_{n}, so its spectrum is the shift by λ\lambda of the spectrum of Xk:∞Xk:∞⊤X_{k:\infty}X_{k:\infty}^{\top}, the random matrix that is equal to the Gram matrix of the projected data. There are therefore three ways of establishing a constant upper bound on the condition number of AkA_{k}:

Establish an upper bound μˉ\bar{\mu} on μ1(Xk:∞Xk:∞⊤)\mu_{1}(X_{k:\infty}X^{\top}_{k:\infty}) and take λ>μˉ/c\lambda>\bar{\mu}/c for some constant c>0c>0. In this case, the singular values of AkA_{k} are all equal to λ\lambda (and greater than μˉ\bar{\mu}) up to a constant multiplier.

Establish upper and lower bounds μˉ\bar{\mu} and μ‾\underline{\mu} on μ1(Xk:∞Xk:∞⊤)\mu_{1}(X_{k:\infty}X^{\top}_{k:\infty}) and μn(Xk:∞Xk:∞⊤)\mu_{n}(X_{k:\infty}X^{\top}_{k:\infty}) respectively, such that μˉ/μ‾\bar{\mu}/\underline{\mu} is a constant. Then take λ>−μ‾/c\lambda>-\underline{\mu}/c for some constant c>1c>1. In this case, the singular values of AkA_{k} are all equal to μˉ\bar{\mu} (or μ‾\underline{\mu}) up to a constant multiplier.

Establish upper and lower bounds μˉ\bar{\mu} and μ‾\underline{\mu} on μ1(Xk:∞Xk:∞⊤)\mu_{1}(X_{k:\infty}X^{\top}_{k:\infty}) and μn(Xk:∞Xk:∞⊤)\mu_{n}(X_{k:\infty}X^{\top}_{k:\infty}) respectively, and take λ=−μ‾+◊\lambda=-\underline{\mu}+\Diamond, where ◊≥c(μˉ−μ‾)\Diamond\geq c(\bar{\mu}-\underline{\mu}) for a constant c>0c>0. In this case, the singular values of AkA_{k} are all equal to ◊\Diamond up to a constant multiplier. This case can be substantially different from the previous case when the singular values of Xk:∞Xk:∞⊤X_{k:\infty}X^{\top}_{k:\infty} are very well concentrated, i.e., the gap μˉ−μ‾\bar{\mu}-\underline{\mu} is of smaller order than μ‾\underline{\mu} itself. In this case ◊\Diamond can be a smaller order term.

Our bounds are sharp when assumption NoncritReg(k,γk,\gamma)(γ\gamma) is satisfied for some γ<1\gamma<1, i.e., in the first and the second case above. The third case is quite rare because it requires very good concentration of the spectrum of Xk:∞Xk:∞⊤X_{k:\infty}X^{\top}_{k:\infty}. Moreover, in this case λ\lambda is very close to the critical negative value under which it is impossible to even guarantee that AkA_{k} is PD as it becomes negative definite in expectation. We use this regime to investigate how negative regularization can improve excess risk by more than a constant factor in Section 8. However, we don’t expect our bounds to always be sharp in this regime.

Therefore, we focus our attention on the first two cases. In Section 5.2 we discuss informally what conditions on the distribution are necessary to bound μ1(Xk:∞Xk:∞⊤)\mu_{1}(X_{k:\infty}X^{\top}_{k:\infty}) and μn(Xk:∞Xk:∞⊤)\mu_{n}(X_{k:\infty}X^{\top}_{k:\infty}), and show how notions of high effective rank and norm concentration condition arise. In Section 5.3 we combine those bounds for sub-Gaussian data with the choice of λ\lambda to provide necessary and almost matching sufficient conditions for the condition number of AkA_{k} to be constant under sub-Gaussianity. In Section 5.4 we show that sub-Gaussianity is not actually required for the condition number of AkA_{k} to be controlled with high probability: Theorem 4 states that norm concentration condition and a modified version of high effective rank condition are sufficient even if the data only has bounded 4+ε4+\varepsilon moments.

2 Informal necessary conditions

There are several easy observations that help understand what is needed for the condition number of AkA_{k} to be bounded.

The first observation is that Xk:∞Xk:∞⊤⪰λk+1zk+1zk+1⊤X_{k:\infty}X^{\top}_{k:\infty}\succeq\lambda_{k+1}z_{k+1}z_{k+1}^{\top}, where zk+1z_{k+1} is the first column of Zk:∞Z_{k:\infty} —a vector with nn i.i.d. coordinates with unit variance. By the law of large numbers, ∥zk+1∥2≈n\|z_{k+1}\|^{2}\approx n, meaning that ∥λk+1zk+1zk+1⊤∥≈λk+1n\|\lambda_{k+1}z_{k+1}z_{k+1}^{\top}\|\approx\lambda_{k+1}n. Therefore, μˉ≳λk+1n\bar{\mu}\gtrsim\lambda_{k+1}n.

The second observation is that the diagonal elements of Xk:∞Xk:∞⊤X_{k:\infty}X^{\top}_{k:\infty} are squared norms of the tails of data vectors. Recall that we denoted the data points to be {xi}i=1n\{x^{i}\}_{i=1}^{n}. We can write

The third observation is that the diagonal elements of a PD matrix themselves provide bounds on the singular values:

Therefore, to control condition number of Xk:∞Xk:∞⊤X_{k:\infty}X^{\top}_{k:\infty} by a constant LL with probability 1−δ1-\delta, it is necessary to guarantee that

i.e., nn independent random draws of the random variable ∥xk:∞∥2\|x_{k:\infty}\|^{2} should all lie within a constant factor of some value, meaning that the norm of the tail of a data vector should be within a constant factor of a fixed value with probability (1−δ)1/n(1-\delta)^{1/n}.

3 Controlling condition number under sub-Gaussianity

Sub-Gaussianity of the data implies an upper bound on μ1(Ak)\mu_{1}(A_{k}), but doesn’t help with μn(Ak)\mu_{n}(A_{k}). To see this one can consider a well-known construction: take a sub-Gaussian distribution and construct another distribution in the following way: to sample from this new distribution take a vector from the old distribution and multiply it by 2\sqrt{2} with probability 1/21/2 and by zero otherwise. The new distribution is still sub-Gaussian with the same covariance, but the Gram matrix of nn i.i.d. samples from it is degenerate with probability at least 1−2−n1-2^{-n}. Therefore, an additional assumption is needed to lower bound μn(Ak)\mu_{n}(A_{k}). As we already mentioned in Section 5.2, we need norm concentration. Since sub-Gaussianity allows to bound the norm from above, it reduces to a version of the small-ball condition: ∥xk:∞∥\|x_{k:\infty}\| should be lower-bounded with high probability. The formal result is given by the following

For any γ∈[0,1)\gamma\in[0,1) and σx>0\sigma_{x}>0 there exists c>0c>0 that only depends on σx\sigma_{x} and γ\gamma such that under Assumption NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) the following holds: for any L≥1L\geq 1

If ρk≥L2\rho_{k}\geq L^{2} and with probability at least (1−δ)1/n(1-\delta)^{1/n}

then with probability at least 1−δ−ce−n/c1-\delta-ce^{-n/c}

Suppose that it is known that with probability at least ce−n/cce^{-n/c} μn(Ak)≥L−1μ1(Ak)\mu_{n}(A_{k})\geq L^{-1}\mu_{1}(A_{k}). Then ρk≥1cL\rho_{k}\geq\frac{1}{cL} and with probability at least (1−ce−n/c)1/n\left(1-ce^{-n/c}\right)^{1/n}

The proof is given in Appendix D. One can see that both the necessary and the sufficient conditions are that ρk\rho_{k} is lower bounded by a constant and a version of small-ball condition that says that the regularized squared norm of the data exceeds a constant fraction of its expectation with probability (1−δ)1/n(1-\delta)^{1/n}. There is, however, a gap in those constants.

4 Heavy-tailed case

The following is a direct corollary of Theorem 2.1 from Guédon et al. (2017)

Suppose that the distribution of the tail satisfies the following two assumptions:

Norm concentration: For some δ∈(0,1/n)\delta\in(0,1/n), L>1L>1 and M>0M>0

Heavy-tailed effective rank: for some h>4h>4 denote rh,k>0r_{h,k}>0 to be the maximum number such that for any a∈Sp−k−1a\in\mathcal{S}^{p-k-1} and t>0t>0

There exists a constant cc that only depends on hh such that with probability at least 1−cn1−h/4−nδ1-cn^{1-h/4}-n\delta

Proof First, note that by union bound with probability at least 1−nδ1-n\delta all the diagonal elements of the matrix Xk:∞Xk:∞⊤X_{k:\infty}X_{k:\infty}^{\top} belong to the segment [L−2M2,L2M2][L^{-2}M^{2},L^{2}M^{2}]. Next, take the bound on BkB_{k} from the Case 1 of Theorem 2.1 from Guédon et al. (2017) with the following choice of their parameters: k=Nk=N, τ=1\tau=1, λ=p\lambda=p, σ=1+p/4\sigma=1+p/4, t=nt=\sqrt{n}. Use that bound for vectors rh,kxk:∞i/M\sqrt{r_{h,k}}x^{i}_{k:\infty}/M. Note that that BkB_{k} is exactly the operator norm of the off-diagonal part of rh,kXk:∞Xk:∞⊤/M2r_{h,k}X_{k:\infty}X_{k:\infty}^{\top}/M^{2}.

The quantity rh,kr_{h,k} that we introduced in Theorem 4 can be interpreted as a notion of effective rank for heavy tailed distributions. Indeed, one can write

— the ratio of the typical norm of the random vector to the scale of the worst case deviations of its one-dimensional projection. This is completely analogous to our usual definition of the effective rank: rk=λk+1−1∑i>kλir_{k}=\lambda_{k+1}^{-1}\sum_{i>k}\lambda_{i}. Indeed, in sub-Gaussian case ∑i>kλi\sqrt{\sum_{i>k}\lambda_{i}} is the typical value of the norm of the vector xk:∞x_{k:\infty}, and λk+1\sqrt{\lambda_{k+1}} is up to constant the largest sub-Gaussian norm of its one-dimensional projection. We see that the conditions under which the eigenvalues of Xk:∞Xk:∞⊤X_{k:\infty}X_{k:\infty}^{\top} are within a constant factor of each other with high probability remain the same even in the heavy-tailed case: the norm of ∥xk:∞∥\|x_{k:\infty}\| concentrates within a constant factor of a fixed quantity, and the heavy-tailed effective rank rh,kr_{h,k} should be large compared to the number nn of data points.

Structure of the proof and role of sub-Gaussianity

The core of our argument is Theorem 5 given below. There are two important things to note about it: first, it only requires sub-Gaussianity and matrix AkA_{k} being positive semidefinite (which always holds with probability 11 for non-negative λ\lambda). Second, its proof decomposes very clearly into two parts: an algebraic part, which only requires AkA_{k} being PD and holds with probability 11 conditionally on this event, and a probabilistic part, where standard concentration results are directly plugged into the algebraic bounds. Because of this decomposition, it is straightforward to track how the sub-Gaussianity is used and how it can be relaxed. We provide the sketch of the proof to show these details.

There exists a (large) constant cc, which only depends on σx\sigma_{x}, s.t. for any k<n/ck<n/c with probability at least 1−ce−n/c1-ce^{-n/c}, if the matrix AkA_{k} is PD, then

Proof sketch The full proof of Theorem 5 can be found in Section I.1 of the appendix. The following is a sketch of its derivation.

Recall the following notation: for any yy

As explained in Section 3.2, Bartlett et al. (2020) introduced the notion of k∗k^{*} for which the behaviour of the variance term in the first k∗k^{*} coordinates is qualitatively different than in the rest of the coordinates. Their argument, however, relies crucially on independence of the components of the data. The main idea that allowed us to get rid of that assumption and to obtain the tight bound for the bias term was to separate the first kk coordinates from the very beginning and to use some sort of uniform convergence argument in that low-dimensional subspace.

The crucial tool that allowed us to realise this idea turned out to be the following algebraic identity that we prove in Section F of the appendix:

This identity allows convenient access to the error in the first kk coordinates (the spiked part).

The argument decomposes clearly into two parts: algebraic and probabilistic. The algebraic part is to decompose the excess risk (up to a constant multiplier) into four terms and show that the following inequalities hold on the event that the matrix AkA_{k} is PD: (1) Bias error in the spiked part:

The probabilistic part of the argument is to control the quantities that arise in the algebraic bound with high probability. Namely, we plug in

Concentration of kk-dimensional sample covariance with nn samples: w.h.p.

Concentration of norm of vectors with i.i.d. components: w.h.p.

After plugging in the probabilistic bounds, the final result is obtained by a straightforward computation.

Note that the only probabilistic statements that are used in this proof are concentration of sample covariance in dimension kk and concentration of the sum of nn i.i.d. random variables. The same concentration results hold with weaker assumptions, but with larger probability. For example, under rather weak moment assumptions only a linear in dimension number of samples is needed for the sample covariance matrix to concentrate within a constant factor of the population covariance, see Tikhomirov (2017) and references therein. It is also interesting to point out that the "uniform convergence" result that we mentioned in the beginning of this sketch is nothing but the convergence of the empirical covariance matrix Σ0:k−1/2X0:k⊤X0:kΣ0:k−1/2/n\Sigma_{0:k}^{-1/2}X_{0:k}^{\top}X_{0:k}\Sigma_{0:k}^{-1/2}/n to its expectation IkI_{k}, which is exactly the uniform convergence result that gives the bound in the "essentially low-dimensional" regime from Section 3.1.

Despite the fact that the bounds of Theorem 5 apply under very general assumptions, we don’t expect them to be tight if the condition number of AkA_{k} is not bounded by a constant. When some oracle control of the condition number of AkA_{k} is provided, the bound becomes the following.

Fix any constants γ∈[0,1)\gamma\in[0,1) and L>0L>0. There exists a constant cc that only depends on σx\sigma_{x}, γ\gamma, LL s.t. for any k<n/ck<n/c and δ<1−ce−n/c\delta<1-ce^{-n/c} under assumptions NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L), it holds that ρk>c−1\rho_{k}>c^{-1}, and with probability at least 1−δ−ce−n/c1-\delta-ce^{-n/c},

It is also worth mentioning that the story about "essentially high-dimensional" and "essentially low-dimensional" parts is not just an interpretation of the final result: the whole proof strategy is in accordance with it, as we explicitly separate the two parts and bound errors in them separately.

2 Lower bounds

Our lower bounds have a different form from the upper bounds. We show separately that they match if the condition on effective rank is satisfied. One benefit of this approach is that the lower bounds provide a different form of the same result, which allows for different analysis. We employ it in Section 7.

The lower bound for the variance term is given by the following lemma, whose proof is given in Appendix E.1:

Fix any constant γ∈[0,1)\gamma\in[0,1). There exists a constant cc that only depends on σx\sigma_{x} and γ\gamma s.t. for any k<n/ck<n/c under assumptions NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and IndepCoord w.p. at least 1−ce−n/c1-ce^{-n/c}

One can see that the assumptions under which the lower bound is proved are different from the assumptions required for the upper bound: we require independent components here. On the one hand, it means that there could be a gap between upper and lower bounds in some particular cases where one can control the condition number of AkA_{k} without independence of components. On the other hand, it means that even such strong additional assumption as independence of components does not allow the upper bounds to be improved, which suggests that those specific cases for which the bound is not tight are rare and require even stronger additional assumptions.

The most general lower bound for the bias term that we prove requires the following assumption

Assume that for any j∈{1,2,…,p}j\in\{1,2,\dots,p\} with probabilityNote that the condition on probability is separate for every jj, i.e., we don’t assume that events hold simultaneously for all jj. at least 1−δ1-\delta

and that λ>−∑i>kλi\lambda>-\sum_{i>k}\lambda_{i}.

Then the bound is given by the following lemma, whose proof is given in Appendix E.2

Fix any constant L>0L>0. There exists cc that only depends on σx\sigma_{x} and LL s.t. for any k∈{1,2,…,p}k\in\{1,2,\dots,p\} under assumptions PriorSigns(θˉ\bar{\theta})(θˉ)(\bar{\theta}) and StableLowerEig(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) w.p. at least 1−2δ−ce−n/c1-2\delta-ce^{-n/c}

Assumption StableLowerEig(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) is formally not comparable to Assumption CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L), but informally if k≥1k\geq 1 then StableLowerEig(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) is weaker: indeed, the matrix A−iA_{-i} is obtained from the matrix AA by subtracting λizi⊤zi\lambda_{i}z_{i}^{\top}z_{i}, while the matrix AkA_{k} is obtained from AA by subtracting ∑i=1kλizi⊤zi\sum_{i=1}^{k}\lambda_{i}z_{i}^{\top}z_{i}, i.e., the sum of kk "largest" of the terms λizi⊤zi\lambda_{i}z_{i}^{\top}z_{i}. Therefore, the matrix A−iA_{-i} is "larger" than AkA_{k}, and controlling its lowest singular value should be easier. The following lemma, whose proof is given in Appendix E.2, formalizes this argument under Assumption ExchCoord:

For any γ<1\gamma<1 there exists a constant cc that only depends on γ\gamma and σx\sigma_{x} such that if assumptions CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L), NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and ExchCoord are satisfied for some L≥1L\geq 1 and k∈{1,2,…,p}k\in\{1,2,\dots,p\}, then StableLowerEig(k,δ,Lk,\delta,L)(k,δ+2e−n/c,cL)(k,\delta+2e^{-n/c},cL) is also satisfied.

When it comes to averaging over the prior given by the assumption PriorSigns(θˉ\bar{\theta})(θˉ)(\bar{\theta}), it just means that it is impossible to obtain a better lower bound without some specific knowledge of how signs of components of θ∗\theta^{*} interact with the probability distribution of the data.

3 Connecting upper and lower bounds

One slight inconvenience with our approach of imposing oracle control over the spectrum of AkA_{k} via Assumption CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) is the following: what if the oracle provides control for the wrong value of kk? There can in principle be many values of kk for which such oracle control is possible, with not all of them giving the right point where the behaviour changes from "essentially low-dimensional" to "essentially high-dimensional". As an example, consider the isotropic setting with p≫np\gg n: one can exclude any number kk of components such that p−k≫np-k\gg n and still be able to control the condition number.

First of all, in accordance with the result of Bartlett et al. (2020), the following theorem shows that the "right kk" is the kk that is not larger than k∗k^{*}.

Fix constants a>0a>0 and b>1/nb>1/n. There exists a constant c>0c>0 that only depends on a,ba,b, s.t. the following holds: if either ρk∈(a,b)\rho_{k}\in(a,b) or k=min⁡{κ:ρκ>b}k=\min\{\kappa:\rho_{\kappa}>b\}, then

Proof The proof is a rather straightforward comparison of pairs of sums term by term. It is given in Appendix I.2.

Secondly, if the data is sub-Gaussian, then oracle control for any k<nk<n results in tight bounds, but with worse constants. This happens because of the following lemma.

Fix any constants γ∈[0,1)\gamma\in[0,1), b>0b>0, L>0L>0. Denote

There exist constants c,L′c,L^{\prime} that only depend on σx\sigma_{x}, γ\gamma, bb, LL s.t. the following holds: suppose assumptions NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) hold for some k∈[k∗,n]k\in[k^{*},n]. Then assumptions NoncritReg(k,γk,\gamma)(k∗,γk^{*},\gamma) and CondNum(k,δ,Lk,\delta,L)(k∗,δ+ce−n/c,L′)(k^{*},\delta+ce^{-n/c},L^{\prime}) hold too.

Proof sketch Since k≥k∗k\geq k^{*}, μn(Ak)\mu_{n}(A_{k}) provides a lower bound for μn(Ak∗)\mu_{n}(A_{k^{*}}). When it comes to μ1(Ak∗)\mu_{1}(A_{k^{*}}), it can be bounded with high-probability because the data is sub-Gaussian. The full proof is given in Appendix D.

4 The role of sub-Gaussianity

As can be seen from the proof of Theorem 1, the strategy to obtain a tight bound is the following: ask the oracle to control the condition number of AkA_{k}, if that kk is too large, shift it to k∗k^{*}, and then apply the bound from Corollary 6. In Section 5.4 we showed that if the norm ∥xk:∞∥\|x_{k:\infty}\| concentrates, and the effective rank rh,kr_{h,k} is high enough, then the control over the condition number of AkA_{k} is possible even if we have very weak moment assumptions instead of sub-Gaussianity. Moreover, as we have discussed in the proof sketches, if we didn’t shift from kk to k∗k^{*}, we would only need the usual concentration results such as the law of large numbers or concentration of kk-dimensional empirical covariance matrix with nn samples, which also hold under weak moment assumptions. Therefore, sub-Gaussianity is not essential to obtain the bound in the form given in Corollary 6, one just needs to substitute the sub-Gaussian concentration results with their heavy-tailed analogues. However it may not necessarily give a tight result unless the oracle is guaranteed to choose the appropriate kk (e.g., k=k∗k=k^{*}). To shift from kk to k∗k^{*} we also need an upper bound on ∥Ak∗∥\|A_{k^{*}}\|, which we derive from sub-Gaussianity. According to Section 5.4, an analogous bound is still possible under weak moment assumptions, but additional work is required: to use Theorem 4 for k=k∗k=k^{*} one would need to obtain a high-probability upper bound on ∥xk∗:∞∥\|x_{k^{*}:\infty}\| under moment assumptions and to relate rkr_{k} which we use in definition of k∗k^{*} to rh,kr_{h,k}, which is introduced in Theorem 4.

Alternative forms of the bounds and effect of increasing regularization

Theorem 10 reveals an alternative form of the bounds: when ρk\rho_{k} is lower- and upper-bounded by constants or when k=k∗k=k^{*}, the bounds on the bias and variance respectively become equal to the following up to a constant multiplier:

These expressions closely resemble the classical expressions for the in-sample bias and variance of ridge regression. Indeed, a straightforward computation gives

where {λ^i}i=1p\{\hat{\lambda}_{i}\}_{i=1}^{p} are eigenvalues of the empirical covariance n−1X⊤Xn^{-1}X^{\top}X and {vi}i=1p\{v_{i}\}_{i=1}^{p} are the corresponding eigenvectors. Recall that ρkλk+1=(λ+∑i>kλi)/n\rho_{k}\lambda_{k+1}=\left(\lambda+\sum_{i>k}\lambda_{i}\right)/n. One can see that Equations (6)–(7) can be obtained from the classical equations for the in-sample risk by substituting the empirical eigenvalues with population eigenvalues and increasing the regularization level λ\lambda by ∑i>kλi\sum_{i>k}\lambda_{i} — the energy of the tail of the data.

2 Dependence on λ𝜆\lambda

The alternative form of the bounds presented in Section 7.1 provides a convenient way to investigate the dependence on λ\lambda, which is cumbersome in the initial form because increasing λ\lambda may decrease k∗k^{*}. This effect, however, is negligible when Equations (6)–(7) are considered. Indeed, in Appendix I.3 we show the following

Suppose k<n/ck<n/c for some c>1c>1 and k∗<kk^{*}<k. Then

Because of this lemma, any k∈[k∗,n/c]k\in[k^{*},n/c] gives the same result (up to a constant factor) in Equations (6)–(7). One can, therefore, start with some λ\lambda and the corresponding k=k∗k=k^{*} and then consider larger values of λ\lambda without decreasing kk in Equations (6)–(7). The result will give sharp (up to a constant factor) bounds, which depend on λ\lambda as follows:

which are obtained by simply plugging in the definition of ρk\rho_{k} into (6)–(7).

A particularly interesting case arises when λ\lambda is large enough that it dominates ∑i>kλi\sum_{i>k}\lambda_{i} and all eigenvalues of AkA_{k} are equal to λ\lambda up to a constant multiplier. The corresponding result is given by the following corollary.

There is a large positive constant cc that only depends on σx\sigma_{x} such that if

Proof The full proof is given in Appendix I.3; the following is its outline:

Use Lemma 3 to control the eigenvalues of A⌊n/c⌋A_{\lfloor n/c\rfloor}.

Use Theorem 1 to obtain the bounds for k=k∗k=k^{*}.

Use Theorem 10 to convert the bounds into the form given in Equations (6)–(7).

Use Lemma 12 to substitute k∗k^{*} back with ⌊n/c⌋\lfloor n/c\rfloor.

Since λ>2∑i>kλi\lambda>2\sum_{i>k}\lambda_{i}, λ/n\lambda/n is equal to ρkλk+1\rho_{k}\lambda_{k+1} up to a multiplicative constant.

Note that the statement of Corollary 13 does not require the notion of k∗k^{*}.

3 Comparison with other results

As we saw in the previous section, the alternative form given by Equations (6)–(7) has milder dependence on the choice of k∗k^{*} than our main bounds (4)–(5) and allows to compare to classical results for in-sample error of ridge regression. In this section we use it to compare with more recent developments: the non-asymptotic bounds in Hsu et al. (2014) and Hastie et al. (2020).

First of all, we follow Hsu et al. (2014) and introduce the following notion of effective dimension of the problem:

where λˉ\bar{\lambda} is a parameter which can informally be understood as effective level of regularization. Hsu et al. (2014) provide non-asymptotic bounds for BB and VV in the regime when

where cc is some constant that depends on the concentration properties of the data. This is the same as the result of Corollary 13, but with different constants. However, our Corollary 13 covers a wider range of λ\lambda if nn is large enough. This follows from the following lemma, which is proven in Appendix I.3:

Suppose that n≥c2+cn\geq c^{2}+c for some c>0c>0 and take

Indeed, d(λ/n)d(\lambda/n) is a decreasing function of λ\lambda, and due to Lemma 14 the range of λ\lambda for which Corollary 13 is applicable when d(λ/n)=O(n)d(\lambda/n)=O(n), while Equation (8) restricts to the range d(λ/n)=O(n/log⁡n)d(\lambda/n)=O(n/\log n).

After we posted the first preprint of this paper, the following non-asymptotic bound for the interpolating regime (i.e., λ=0\lambda=0) appeared in (Hastie et al., 2020): informally

Suppose that k<n/ck<n/c and ρk>c\rho_{k}>c for some constant c>1c>1 . Then

which implies aρk+1≥ρka\rho_{k}+1\geq\rho_{k}, so a≥1−1/ρk>1−1/ca\geq 1-1/\rho_{k}>1-1/c.

The similarity of Equations (11)–(12) with our results should not be taken for granted, and it is actually quite surprising. As we explain in Section 9, the regime considered in Hastie et al. (2020) is significantly different, so it is rather unclear why the results would have the same form.

Negative regularization

The aim of this section is to find a family of regimes in which the optimal level of ridge regularization is negative. Since we are comparing different values of λ\lambda in this section, the following notation will be useful: recall that for any kk

the value of ρk\rho_{k} for λ=0\lambda=0. Intuitively, the components of the tail provide regularization for the first kk components, and the larger ρk\rho_{k} is, the more is that regularization. Thus, one could expect that if there is an abrupt jump in the sequence {ρk(0)}k=0p\{\rho_{k}(0)\}_{k=0}^{p}, then that additional regularization is too large and negative λ\lambda may be optimal.

As we investigate further, a jump in ρk(0)\rho_{k}(0) is indeed one of the sufficient conditions for optimality of negative regularization, but not the only one: the strength of the noise and how the signal is distributed among the principal components of the data also play an important role.

Now let’s look at the role of the signal in the tail. It contributes to error in two ways: first — the components in the tail are not getting estimated themselves, second — the signal that comes from those components acts as additional noise for estimation of the first kk components. When λ\lambda is non-negative, the error of the first type dominates the error of the second type, but negative λ\lambda can amplify the noise and result in error of the second type dominating. Therefore, the signal in the tail also needs to be sufficiently small in order for negative regularization to be optimal.

The final observation is the following: since we only compute the bounds up to a constant multiplier, the bound in Theorem 1 cannot distinguish between negative and zero regularization. To see this, consider the form of the bound given in Section 7: up to a constant factor the bound is a weighted combination in each component with weight λ+∑i>kλi\lambda+\sum_{i>k}\lambda_{i}, and as λ\lambda increases there is no need to change kk. Now it is easy to see that for all λ\lambda in range from −γ∑i>kλi-\gamma\sum_{i>k}\lambda_{i} to zero, that weight is the same up to a constant factor. Thus, negative regularization can only decrease the excess risk by more than a constant factor in the critical regime, i.e., λ=−∑i>kλi+◊\lambda=-\sum_{i>k}\lambda_{i}+\Diamond where ◊\Diamond is of smaller order than ∑i>kλi\sum_{i>k}\lambda_{i}. To consider such λ\lambda and have AkA_{k} PD we need tight concentration of eigenvalues of Xk:∞Xk:∞⊤X_{k:\infty}X_{k:\infty}^{\top} around ∑i>kλi\sum_{i>k}\lambda_{i}. To ensure such tight control we restrict ourselves to the case of independent components, i.e., when Assumption IndepCoord is satisfied. In this case, the eigenvalues of Xk:∞Xk:∞⊤X_{k:\infty}X_{k:\infty}^{\top} can be bounded according to the following statement that was shown as an intermediate step in the proof of Lemma S.9 in (Bartlett et al., 2020).

Under assumption IndepCoord there exists a constant cc that only depends on σx\sigma_{x} s.t. with probability at least 1−ce−n/c1-ce^{-n/c},

The fluctuations nλk+1+n∑i>kλi2n\lambda_{k+1}+\sqrt{n\sum_{i>k}\lambda_{i}^{2}} will be of smaller order than ∑i>kλi\sum_{i>k}\lambda_{i} if ρk(0)\rho_{k}(0) is larger than a constant, which is shown by the following bounds:

Using this lemma allows us to obtain following two lemmas. See Appendix J for the proofs.

There exist constants b,cb,c that only depend on σx\sigma_{x} such that the following holds: suppose that assumptions IndepCoord and PriorSigns(θˉ\bar{\theta})(θˉ)(\bar{\theta}) hold. Take k=min⁡{κ:ρκ(0)>b}k=\min\{\kappa:\rho_{\kappa}(0)>b\} and suppose that k>0k>0. Then with probability at least 1−ce−n/c1-ce^{-n/c} for any λ≥0\lambda\geq 0

There exists a constant cc that only depends on σx\sigma_{x} such that the following holds: suppose that assumptions PriorSigns(θˉ\bar{\theta})(θˉ)(\bar{\theta}) and IndepCoord hold and that ρk(0)>c\rho_{k}(0)>c for some k<n/ck<n/c. Assume also that

Then there exists such λ<0\lambda<0 that with probability at least 1−ce−n/c1-ce^{-n/c}

Lemma 17 provides a lower bound on the expected (over noise and θ∗\theta^{*}) excess risk which holds w.h.p. uniformly over all non-negative λ\lambda. Lemma 18 provides an upper bound that can be achieved by some negative λ\lambda. Combining these two lemmas gives a sufficient condition for the optimal λ\lambda to be negative, which is given by the following theorem.

Proof It is easy to see that by taking cc large enough, the conditions of Lemmas 18 and 17 are satisfied, and the upper bound in Lemma 18 becomes lower than the lower bound in Lemma 17.

We see that the conditions indeed align with the intuition outlined in the beginning of this section: we need small variance, small signal in the tail, and a sharp jump in effective rank. However, we do not have matching lower bounds in the critical regime when Assumption NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) is not satisfied for a constant γ>1\gamma>1. Thus, we don’t know whether these conditions are also necessary.

Comparison to other works

As we mentioned in Section 1.2, recently there has been a number of papers studying population risk of interpolating solutions of linear regression, and we gave a rough split of those results into three categories there. Here we elaborate on the comparison between the approaches and results.

Results from the first category (Dobriban and Wager, 2015; Hastie et al., 2019; Wu and Xu, 2020; Richards et al., 2020) compute exact asymptotic expressions for the excess risk assuming that p/np/n goes to some constant as p,np,n go to infinity, and that the spectral distribution of Σ\Sigma converges to some limiting distribution. From the point of view of our approach, such distributions are indistinguishable from isotropic: indeed, the very existence of limiting spectral measure implies that almost all eigenvalues are within a constant factor of each other. Many of those works even assume explicitly that the spectrum of Σ\Sigma is upper- and lower-bounded by two constants (Richards et al., 2020, page 7), (Wu and Xu, 2020, Assumption 1), (Hastie et al., 2019, Theorem 3). Our results don’t need any asymptotic set up, and apply to p=∞p=\infty with some fixed summable sequence λi\lambda_{i}, which has no meaningful notion of limiting distribution, and no separation from zero is needed. For example, our setup covers kernel regression with a fixed kernel and increasing number of data points. On the other hand, when all λi\lambda_{i} are within a constant factor of each other, our lower bounds become B≥∥θ∗∥Σ/cB\geq\|\theta^{*}\|_{\Sigma}/c and V≥1/cV\geq 1/c, so the constant part of the whole signal doesn’t get learned and the variance term is at least a constant, i.e., the asymptotic expressions obtained in the works from this category are all just different constants and our approach cannot distinguish them. Therefore, we answer significantly different questions: while the asymptotic work distinguishes between constant error rates, we investigate when the error can be less than a constant. The final difference with our work is rather technical but quite strong: all the works in this category assume that the coordinates of the data become independent if multiplied by the inverse square root of the covariance. This assumption stems from asymptotic random matrix theory techniques, on which these papers are based. To the best of our knowledge, it is not known how to extend these techniques beyond random matrices with independent elements. Our approach, however, does not require the coordinates to be independent.

When it comes to the second category, featurized or kernel regression (Montanari and Zhong, 2020; Ghorbani et al., 2020b; Mei and Montanari, 2019; Ghorbani et al., 2020a; Liang et al., 2020), the difference from our approach is that we do not assume any particular mechanism for data generation or how the features are constructed, but we directly make assumptions about feature vectors. Our results can in principle be applied in this setting if one computes the spectrum of the population covariance for particular features or kernels and the corresponding sub-Gaussian norms. The major difficulty that precludes such a direct comparison is that that computation is not straightforward. The works from this category operate in a more particular setting and circumvent the computation of the spectrum of Σ\Sigma. On the other hand, it is not hard to trace strong similarities with our approach on the level of the proof. First of all, all the papers in this category that we are aware of assume that the data comes from a very regular distribution: either dd-dimensional isotropic data with i.i.d. coordinates (Liang et al., 2020, Assumption 1), or data from the uniform distribution on the sphere (Mei and Montanari, 2019; Ghorbani et al., 2020a, abstracts), (Montanari and Zhong, 2020, Section 3.2), or data from the product of two uniform distributions on spheres (Ghorbani et al., 2020b, Section 2.1). Second, in all those papers the kernel is either spherically symmetric (Ghorbani et al., 2020b, Section 2.2), (Liang et al., 2020, Equation 4) or close to being spherically symmetric due to isotropic initialization of the neural network or isotropic choice of random features (Ghorbani et al., 2020a, Assumption 1), (Mei and Montanari, 2019, Thorem 2), (Montanari and Zhong, 2020, Section 3.2). After that, they consider the regime where nn is large compared to dαd^{\alpha} for some α\alpha (Montanari and Zhong, 2020, Assumption 1), (Ghorbani et al., 2020b, Theorem 1), (Mei and Montanari, 2019; Ghorbani et al., 2020a; Liang et al., 2020, abstracts)In (Mei and Montanari, 2019) α=1\alpha=1.. Finally, all those papers derive that kernel regression works effectively as ridge regression with polynomial features up to degree α\alpha (Montanari and Zhong, 2020; Ghorbani et al., 2020a, abstracts), (Ghorbani et al., 2020b, Theorem 1), (Liang et al., 2020, Proposition 1 and Section 2.3). The only exception is Mei and Montanari (2019), who derive asymptotic expressions for excess risk when the true function is affine (i.e., a polynomial of degree 11) plus Gaussian misspecification. The connection with our results is that in such a regime (uniform distribution on the sphere, spherically symmetric kernel) polynomials are exactly the eigenfunctions of the kernel operator, which plays the role of the covariance operator, and there are k≈dαk\approx d^{\alpha} of polynomials of degree at most α\alpha. Thus, their approach is similar to ours: separate the first kk eigendirections (or their approximations) and show that other directions act as regularization.

Conclusions

We studied the excess risk of ridge regression and showed how geometry of the data can influence both which part of the signal is learned and how the noise is damped. For a range of values of the regularization parameter we showed that learning can be seen as the composition of two parts: classical ridge regression in the first kk components (the "essentially low-dimensional part") and learning the zero estimator in the rest of the components (the "essentially high-dimensional part"). We introduced a general assumption under which the data is “essentially high-dimensional”, and provided geometric sufficient conditions for its satisfaction. Moreover, we investigated the regime in which the “essentially high-dimensional part” is too high-dimensional, and derived general sufficient conditions for negative regularization to be optimal: small noise, small energy of the "essentially low-dimensional part", but an abrupt jump in the effective rank.

On the technical side, our proof decouples cleanly into an algebraic part, which holds with probability 1 for non-negative regularization,For the case of negative regularization we need to condition on the event that all the necessary symmetric matrices are PD. and the probabilistic part, where we plug in well-known concentration results from high-dimensional probability. This makes it easy to trace how different terms in the bound correspond to the parts of the estimator, and supports the geometric interpretation given above.

We provided a thorough overview of the related papers, and explained how our results are significantly different from them despite some optical similarities. Those similarities, however, are intriguing, and hint at the task of developing a unified treatment of different regimes of overparameterized linear regression as a promising direction of future work.

Acknowledgements

We gratefully acknowledge the support of the NSF through grants DMS-2023505 and DMS-2031883 and of the Simons Foundation through award #814639.

Appendix A Definitions and Notation

A random variable zz is sub-Gaussian if it has a finite sub-Gaussian norm

The sub-Gaussian norm of a random vector ZZ is

A.2 Standard mathematical objects

M[i,j]M[i,j] denotes the element of the matrix MM which stands at the intersection of the ii-th row and jj-th column.

ImI_{m} is the m×mm\times m identity matrix.

A.3 Data and the learning procedure

components of ε\varepsilon are independent and have variance vεv_{\varepsilon},

xx denotes a new random draw from the data distribution, i.e., xx is independent from X,εX,\varepsilon and xx has the same distribution as x1x^{1}.

Z=XΣ−1/2Z=X\Sigma^{-1/2}, {zi}i=1p\{z_{i}\}_{i=1}^{p} are columns of ZZ.

the rows of ZZ are sub-Gaussian with sub-Gaussian norm at most σx\sigma_{x},

ridge regression outputs θ^(y):=X⊤(λIn+XX⊤)−1y\hat{\theta}(y):=X^{\top}(\lambda I_{n}+XX^{\top})^{-1}y.

A.4 Splitting the coordinates

For some k<nk<n we spit the coordinates into two groups: the first kk components and the rest of the components. Thus we introduce the following notation. Consider integers a,ba,b from to ∞\infty (we always either take a=0a=0 and b=kb=k or a=ka=k and b=∞b=\infty).

Ak=λIn+Xk:∞Xk:∞⊤A_{k}=\lambda I_{n}+X_{k:\infty}X_{k:\infty}^{\top}.

rk=1λk+1(λ+∑i>kλi).r_{k}=\frac{1}{\lambda_{k+1}}\left(\lambda+\sum_{i>k}\lambda_{i}\right).

ρk(0)=1nλk+1∑i>kλi\rho_{k}(0)=\frac{1}{n\lambda_{k+1}}\sum_{i>k}\lambda_{i}.

For any ii we denote A−i=A−i:=X0:i−1X0:i−1⊤+Xi:∞Xi:∞⊤+λIn.A_{-i}=A_{-i}:=X_{0:i-1}X_{0:i-1}^{\top}+X_{i:\infty}X_{i:\infty}^{\top}+\lambda I_{n}.

Appendix B Ridge regression

We are interested in evaluating the MSE of the ridge estimator. For positive regularization parameter λ\lambda that estimator is defined as

In the overparametrized case (i.e., p>np>n), however, the latter expression has a singularity at zero, because the matrix X⊤XX^{\top}X does not have full rank. If λ=0\lambda=0 the solution to the minimization problem above is not unique. Moreover, if λ<0\lambda<0, no solution exists at all because we are minimizing a quadratic form whose matrix has negative singular values. To alleviate these issues and extend the definition of the solution to non-positive values of λ\lambda, we propose the following: since the matrix X⊤XX^{\top}X doesn’t have full rank, we can apply the Sherman-Morrison-Woodbury formula:

The matrix XX⊤XX^{\top} has full rank, and the expression above is continuous in λ\lambda as long as XX⊤+λInXX^{\top}+\lambda I_{n} stays PD. When λ=0\lambda=0, X⊤(λIn+XX⊤)−1yX^{\top}(\lambda I_{n}+XX^{\top})^{-1}y is the minimum norm interpolating solution (the same solution that was considered in (Bartlett et al., 2020). Therefore, we use the expression

to define the ridge regression solution for any λ>−μn(XX⊤)\lambda>-\mu_{n}(XX^{\top}).

Note that θ^(y)\hat{\theta}(y) is linear in yy. Since we have y=Xθ∗+εy=X\theta^{*}+\varepsilon we can also write

The first term is the noiseless estimate; its error gives the bias term. The second term is the estimate obtained when the signal is pure noise. It gives the variance term.

where we introduced bias BB and variance VεV_{\varepsilon}:

Finally, since VεV_{\varepsilon} is a quadratic form in ε\varepsilon, by Lemma 22 if the noise is sub-Gaussian, then its value is controlled by its expectation with high probability. That expectation, in its turn, scales linearly with the variance vε2v_{\varepsilon}^{2} of the noise. Therefore, we can decouple the effect of the noise and only study the following purified variance term:

The main aim of our work is to give sharp non-asymptotic bounds for BB and VV.

Appendix C Concentration inequalities

Proof The argument consists of two parts: first, we obtain a bound that only works well in the case when all λi\lambda_{i} are approximately the same. Next, we split the sequence {λi}\{\lambda_{i}\} into pieces with approximately equal values within each piece and obtain the final result by applying the first part of the argument to each piece.

First part: Consider a 1/41/4-net {uj}j=1m\{u_{j}\}_{j=1}^{m} on Sp−1\mathcal{S}^{p-1}, such that m≤9pm\leq 9^{p}. Note that for any vector v∈Sp−1v\in\mathcal{S}^{p-1} there exists an element uju_{j} of that net such that ⟨v,uj⟩≥3/4⋅∥v∥\langle v,u_{j}\rangle\geq{3}/{4}\cdot\|v\|. Thus, we have

Since the random variable ⟨z,uj⟩\langle z,u_{j}\rangle is σ\sigma-sub-Gaussian, it also holds for any t>0t>0 and some absolute constant cc that

We see that the random variable (∥Σ1/2z∥2−4σ2λ1log⁡9cp)+\left(\|\Sigma^{1/2}z\|^{2}-\frac{4\sigma^{2}\lambda_{1}\log 9}{c}p\right)_{+} has sub-exponential norm bounded by Cσ2λ1C\sigma^{2}\lambda_{1}.

Then by the initial argument, the random variable (∥Σl1/2zl∥2−4σ2λillog⁡9c(il+1−il))+\left(\|\Sigma_{l}^{1/2}z_{l}\|^{2}-\frac{4\sigma^{2}\lambda_{i_{l}}\log 9}{c}(i_{l+1}-i_{l})\right)_{+} has sub-exponential norm bounded by Cσ2λilC\sigma^{2}\lambda_{i_{l}}. Since each next λil\lambda_{i_{l}} is at most half of the previous, we obtain that the sum (over ll) of those random variables has sub-exponential norm at most 2Cσ2λ1.2C\sigma^{2}\lambda_{1}. Combining this with the fact that

we obtain that for some absolute constants c0,c1,…c_{0},c_{1},\dots for any t>0t>0

Proof Since {Zi,k:∞}i=1n\{Z_{i,{k:\infty}}\}_{i=1}^{n} are independent, isotropic and sub-Gaussian, ∥Σk:∞1/2Zi,k:∞∥2\|\Sigma_{k:\infty}^{1/2}Z_{i,{k:\infty}}\|^{2} are independent sub-exponential r.v.’s with expectation ∑i>kλi\sum_{i>k}\lambda_{i} and sub-exponential norms bounded by c1σ2∑i>kλic_{1}\sigma^{2}\sum_{i>k}\lambda_{i}. Applying Bernstein’s inequality gives

Changing tt to t/n\sqrt{t/n} gives the result.

Proof By Theorem 6.2.1 (Hanson-Wright inequality) in (Vershynin, 2018), for some absolute constant c1c_{1} for any t>0t>0,

Appendix D Controlling the singular values

Denote A˚k\mathring{A}_{k} to be the matrix AkA_{k} with zeroed out diagonal elements: A˚k[i,j]=(1−δi,j)Ak[i,j]\mathring{A}_{k}[i,j]=(1-\delta_{i,j})A_{k}[i,j]. Then for some absolute constant cc for any t>0t>0 with probability at least 1−4e−t/c1-4e^{-t/c},

Proof We follow the lines of the decoupling argument from Vershynin (2012). Consider a 1/41/4-net {uj}j=1m\{u_{j}\}_{j=1}^{m} on Sn−1\mathcal{S}^{n-1} s.t. m≤9nm\leq 9^{n}. Then

Indeed, take v∈Sn−1v\in\mathcal{S}^{n-1} to be the eigenvector of A˚k\mathring{A}_{k} whose eigenvalue has the largest absolute value μ\mu (i.e., ∥A˚k∥=μ\|\mathring{A}_{k}\|=\mu), and let uju_{j} be the closest point in the net to vv. Then

Denote the kk-th coordinate of uju_{j} as uj[k]u_{j}[k]. Note that

where the expectation is taken over a uniformly chosen random subset TT of {1,…,n}\{1,\dots,n\} (since A˚k\mathring{A}_{k} has zeroed-out diagonal, we don’t need to consider terms with m=lm=l which allows us to sum over k∈T∌lk\in T\not\ni l). Thus,

Note that since uju_{j} is from the sphere, {Xk:∞[i,∗]}i=1n\{X_{k:\infty}[i,*]\}_{i=1}^{n} are independent, and l,ml,m live in disjoint subsets, the vectors ξ\xi and η\eta are independent sub-Gaussian with sub-Gaussian norms bounded by CσC\sigma for some absolute constant CC.

First, that means that for some absolute constant c1c_{1} we have

Second, by Lemma 20, for some constant c2c_{2} for any t>0t>0

We obtain that for some absolute constant cc for any t>0t>0 with probability at least 1−4e−t/c1-4e^{-t/c}

Finally, making multiplicity correction for all jj (there are at most 9n9^{n} of them), and all subsets TT (at most 2n2^{n}), we obtain that for some absolute constant cc with probability at least 1−4e−t/c1-4e^{-t/c}

For some absolute constant cc, for any t>0t>0, with probability at least 1−6e−t/c1-6e^{-t/c},

Proof Note that ∥A∥≤max⁡i∥Xi,∗∥+∥A˚∥.\|A\|\leq\max_{i}\|X_{i,*}\|+\|\mathring{A}\|. Combining Lemma 20 (with multiplicity correction) and Lemma 23 gives with probability 1−6e−t/c11-6e^{-t/c_{1}}

where we used a2+ab≤a+b\sqrt{a^{2}+ab}\leq a+b in the last transition. Removing the dominated (up to a constant multiplier) terms gives the result.

Proof We start with the high-probability bounds that we can derive assuming only sub-Gaussianity and independence of data vectors. By Lemma 20, for some absolute constant cc and for any t>0t>0,

By Lemma 23, for some absolute constant cc and for any t>0t>0, with probability at least 1−4e−t/c1-4e^{-t/c},

Since ∥Ak∥≤λ+∥A˚k∥+max⁡i∥Xk:∞[i,∗]∥\|A_{k}\|\leq\lambda+\|\mathring{A}_{k}\|+\max_{i}\|X_{k:\infty}[i,*]\|, the above two statements imply that for any t>0t>0 with probability at least 1−4e−n/c−2ne−t/c1-4e^{-n/c}-2ne^{-t/c},

where we used the following chain of inequalities to make the last transition:

On the other hand, note that the sum of eigenvalues of AkA_{k} is equal to

By Lemma 21, for some absolute constant cc and any t∈(0,n)t\in(0,n), with probability at least 1−2e−ct1-2e^{-ct},

Finally, note that μ1(Ak)≥λk+1∥Zk:∞[∗,1]∥2+λ.\mu_{1}(A_{k})\geq\lambda_{k+1}\|Z_{k:\infty}[*,1]\|^{2}+\lambda. By Lemma 21, for some c3c_{3} and for any t∈(0,n)t\in(0,n), with probability. at least 1−2e−c3t1-2e^{-c_{3}t},

Combining all those bounds together gives that there is a constant cxc_{x} that only depends on σx\sigma_{x} such that with probability at least 1−cxe−n/cx1-c_{x}e^{-n/c_{x}} all the following inequalities hold simultaneously:

In view of the bounds that we derived above, the following inequality is a sufficient condition for the statement that with probability at least 1−cxe−n/cx1-c_{x}e^{-n/c_{x}} the condition number of AkA_{k} does not exceed LL:

which implies that for any ζ\zeta the following is also a sufficient condition:

Recall that λ>−γ∑i>kλi\lambda>-\gamma\sum_{i>k}\lambda_{i}, so

which allows us to upper bound the right-hand side of that condition. We write

Now take ζ=ρk1/2\zeta=\rho_{k}^{1/2} and a constant cc that is big enough depending on γ\gamma and cxc_{x}. Then if ρk>L2>1\rho_{k}>L^{2}>1 and with probability at least 1−δ1-\delta,

then with probability at least 1−δ−cxe−n/cx1-\delta-c_{x}e^{-n/c_{x}},

Note that since the rows of Xk:∞X_{k:\infty} are i.i.d., the first condition is equivalent to that with probability at least (1−δ)1/n(1-\delta)^{1/n}

Now let’s derive a necessary condition. Suppose it is known that with probability at least cxe−n/cxc_{x}e^{-n/c_{x}} μn(Ak)≥L−1μ1(Ak)\mu_{n}(A_{k})\geq L^{-1}\mu_{1}(A_{k}). Then

where we used the fact that cx>1c_{x}>1 and L>1L>1.

When it comes to the second equation, we write

where cc is a large enough constant that only depends on γ\gamma and cxc_{x}.

Suppose assumptions NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) and CondNum(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L) are satisfied and γ<1\gamma<1. Then for some absolute constant cc for any t∈(0,n)t\in(0,n) with probability at least 1−δ−2e−ct1-\delta-2e^{-ct}

Moreover, if δ<1−4e−ct\delta<1-4e^{-ct} for some t∈(0,n)t\in(0,n), then

Proof First of all, note that the sum of eigenvalues of AkA_{k} is equal to

By Lemma 21 for some absolute constant cc and any t∈(0,n)t\in(0,n) with probability at least 1−2e−ct1-2e^{-ct}

Now we know that with probability at least 1−δ−2exp⁡(−c2t)1-\delta-2\exp(-c_{2}t) the following two conditions hold:

The first line of the display above implies that

Thus, with probability at least 1−δ−2exp⁡(−c2t)1-\delta-2\exp(-c_{2}t),

Using the fact that ∑i>kλi≤(λ+∑i>kλi)/(1−γ)\sum_{i>k}\lambda_{i}\leq\left(\lambda+\sum_{i>k}\lambda_{i}\right)/(1-\gamma), we obtain

which gives the first assertion of the lemma.

Next, note that μ1(Ak)≥λk+1∥Zk:∞[∗,1]∥2+λ.\mu_{1}(A_{k})\geq\lambda_{k+1}\|Z_{k:\infty}[*,1]\|^{2}+\lambda. By Lemma 21 for some c3c_{3} for any t∈(0,n)t\in(0,n) w.p. at least 1−2e−c3t1-2e^{-c_{3}t}, ∥Zk:∞[∗,1]∥2≥n−ntσx2\|Z_{k:\infty}[*,1]\|^{2}\geq n-\sqrt{nt}\sigma_{x}^{2}, which means that if 1−δ−2e−c2t−2e−c3t>01-\delta-2e^{-c_{2}t}-2e^{-c_{3}t}>0 then with positive probability

Taking c4=min⁡(c2,c3)c_{4}=\min(c_{2},c_{3}) we see that if δ<1−4e−c4t\delta<1-4e^{-c_{4}t}, then

Proof First, by Lemma 25 for any t∈(0,n)t\in(0,n) with probability at least 1−δ−2e−c1t1-\delta-2e^{-c_{1}t},

Next, by Lemma 24 we know that with probability at least 1−6e−t/c31-6e^{-t/c_{3}},

Moreover, since λ>−γ∑i>k∗λi\lambda>-\gamma\sum_{i>k^{*}}\lambda_{i},

Thus, with probability at least 1−δ−8e−t/c41-\delta-8e^{-t/c_{4}}

Taking c5c_{5} large enough (depending on LL, bb, σx\sigma_{x} and γ\gamma) and plugging in t=n/c5t=n/c_{5} gives the result for c=max⁡(8,c4c5)c=\max(8,c_{4}c_{5}) and

The derivation of NoncritReg(k,γk,\gamma)(k∗,γk^{*},\gamma) is obvious: indeed, assumption NoncritReg(k,γk,\gamma)(k,γk,\gamma) states that

Since k∗≥kk^{*}\geq k, ∑i>kλi≤∑i>k∗λi\sum_{i>k}\lambda_{i}\leq\sum_{i>k^{*}}\lambda_{i}, so

which is exactly assumption NoncritReg(k,γk,\gamma)(k∗,γk^{*},\gamma).

Appendix E Lower bounds

A very convenient tool that we use to prove the lower bounds is the following

Suppose that {ηi}i=1p\{\eta_{i}\}_{i=1}^{p} is a sequence of non-negative random variables, and that {ti}i=1p\{t_{i}\}_{i=1}^{p} is a sequence of non-negative real numbers (at least one of which is strictly positive) such that, for some δ∈(0,1)\delta\in(0,1) for any i≤pi\leq p with probability at least 1−δ1-\delta, ηi>ti\eta_{i}>t_{i}. Then with probability at least 1−2δ1-2\delta,

It turns out to be quite straightforward to express bias and variance terms as sums of non-negative series. This lemma allows us to give a separate high probability lower bound for each term in the series to obtain the high probability lower bound for the whole sum.

The argument for lower bounding the variance term is the same as in (Bartlett et al., 2020). We repeat it here because the result in (Bartlett et al., 2020) is stated in a different form and in the ridgeless setting only.

Proof The variance term can be written as

where ziz_{i} are columns of matrix ZZ (recall that Z=XΣ−1/2Z=X\Sigma^{-1/2}). Note that every term in this sum is non-negative, even if A−iA_{-i} is not PSD. Denote A−i+A_{-i+} to be the PSD square root of A−i2A_{-i}^{2}, i.e., the matrix with the same eigendecomposition as A−iA_{-i}, but with eigenvalues substituted by their absolute values. It immediately follows that

Now our goal is to lower-bound the largest eigenvalues of A−i+−1A_{-i+}^{-1}. Let’s write

The idea is, as always, to separate the first kk coordinates. Our initial goal is to bound the norm of ∑j≠i,j>kλjzjzj⊤\sum_{j\neq i,j>k}\lambda_{j}z_{j}z_{j}^{\top}. Using Lemma 24, for some absolute constant c1c_{1} and for any t>0t>0, with probability at least 1−6e−t/c11-6e^{-t/c_{1}},

The matrix ∑j≠iλjzjzj⊤\sum_{j\neq i}\lambda_{j}z_{j}z_{j}^{\top} is a correction to ∑j≠i,j>kλjzjzj⊤\sum_{j\neq i,j>k}\lambda_{j}z_{j}z_{j}^{\top} of rank at most kk. Therefore, with probability at least 1−6e−t/c11-6e^{-t/c_{1}} the bottom kk eigenvalues of ∑j≠iλjzjzj⊤\sum_{j\neq i}\lambda_{j}z_{j}z_{j}^{\top} lie in the segment from to c1σx2(λk+1(t+n)+∑i>kλi)c_{1}\sigma_{x}^{2}\left(\lambda_{k+1}(t+n)+\sum_{i>k}\lambda_{i}\right). The matrix A−iA_{-i} has the same eigenvalues, but with λ\lambda added to each one, so on the same event all the eigenvalues of A−iA_{-i} are from λ\lambda to λ+c1σx2(λk+1(t+n)+∑i>kλi)\lambda+c_{1}\sigma_{x}^{2}\left(\lambda_{k+1}(t+n)+\sum_{i>k}\lambda_{i}\right). We can write

where we used that λ>−γ∑i>kλi\lambda>-\gamma\sum_{i>k}\lambda_{i} in the second line (for λ<0\lambda<0 it implies ∣λ∣<γ∑i>kλi|\lambda|<\gamma\sum_{i>k}\lambda_{i}). Moreover, for the left end of the segment we also have that either λ>0\lambda>0 or

Thus, for some constant c2c_{2} which only depends on σ\sigma and γ\gamma, for any ii with probability at least 1−6e−n/c21-6e^{-n/c_{2}}, for any j>kj>k

In words, with high probability the matrix A−iA_{-i} has at least n−kn-k eigenvalues whose magnitude is bounded by c2(λk+1n+λ+∑i>kλi)c_{2}\left(\lambda_{k+1}n+\lambda+\sum_{i>k}\lambda_{i}\right). Recall that A−i+A_{-i+} is PSD with the same magnitudes of the eienvalues. Denote Pi,kP_{i,k} to be the projector on the linear space spanned by the first kk eigenvectors of A−i+A_{-i+}. We can now write that with probability at least 1−6e−n/c21-6e^{-n/c_{2}}

Since ziz_{i} is independent of Pi,kP_{i,k}, by Theorem 6.2.1 (Hanson-Wright inequality) in (Vershynin, 2018), for some absolute constant c2c_{2} and for any t>0t>0,

Next, by Lemma 21 for some constant c3c_{3} and any t∈(0,n)t\in(0,n) w.p. at least 1−2e−t/c31-2e^{-t/c_{3}},

Take constant c4c_{4} large enough depending on σx\sigma_{x} and set t=n/c4t=n/c_{4}. Then for any k<n/c5k<n/c_{5}, w.p. at least 1−10e−n/c6−δ1-10e^{-n/c_{6}}-\delta,

where constants c5c_{5} and c6c_{6} depend only on σx\sigma_{x} and constant c7c_{7} depends only on σx\sigma_{x} and γ\gamma.

where ρk:=1nλk+1(λ+∑i>kλi).\rho_{k}:=\frac{1}{n\lambda_{k+1}}\left(\lambda+\sum_{i>k}\lambda_{i}\right).

where c8c_{8} depends only on σx\sigma_{x} and γ\gamma.

Finally, by Lemma 26, we can convert lower bounds for separate non-negative terms into a lower bound on their sum: with probability at least 1−20e−n/c61-20e^{-n/c_{6}},

where we also used that 1/(a+b)2≥min⁡(a−2,b−2)/41/(a+b)^{2}\geq\min(a^{-2},b^{-2})/4 for non-negative a,ba,b.

E.2 Bias term

Applying Sherman-Morrison-Woodbury yields

and taking expectation over the prior kills all the off-diagonal elements, so

Let’s compute the diagonal elements of the matrix

The ii-th diagonal element is equal to the bias term for the case when θ∗=ei\theta^{*}=e_{i} — the ii-th vector of the standard orthonormal basis. Note that the ii-th row of Ip−X⊤(λIn+XX⊤)−1XI_{p}-X^{\top}(\lambda I_{n}+XX^{\top})^{-1}X is equal to ei−λizi⊤(λIn+XX⊤)−1X,e_{i}-\sqrt{\lambda_{i}}z_{i}^{\top}(\lambda I_{n}+XX^{\top})^{-1}X, so the ii-th diagonal element of the initial matrix is given by

Recall that A=λIn+∑i=0pλizizi⊤A=\lambda I_{n}+\sum_{i=0}^{p}\lambda_{i}z_{i}z_{i}^{\top}, A−i:=A−λizizi⊤.A_{-i}:=A-\lambda_{i}z_{i}z_{i}^{\top}.

First, let’s use Sherman-Morrison identity to convert AA in zi⊤A−1ziz_{i}^{\top}A^{-1}z_{i} into A−iA_{-i}:

Let’s bound each term in that sum from below with high probability. By our assumptions, for any ii with probability at least 1−δ1-\delta

and by Lemma 21 for some absolute constant c1c_{1} for any t∈(0,n)t\in(0,n) w.p. at least 1−2e−t/c11-2e^{-t/c_{1}} we have ∥zi∥2≤n−tnσx2≤n/2\|z_{i}\|^{2}\leq n-\sqrt{tn}\sigma_{x}^{2}\leq n/2, where the last transition is true if additionally t≤n/(4σx4).t\leq n/(4\sigma_{x}^{4}).

Recall that ρk:=λ+∑j>kλjnλk+1.\rho_{k}:=\frac{\lambda+\sum_{j>k}\lambda_{j}}{n\lambda_{k+1}}. We obtain by plugging t=n/(4σx4)t=n/(4\sigma_{x}^{4}) that w.p. at least 1−δ−2e−n/c21-\delta-2e^{-n/c_{2}},

where c2c_{2} only depends on σx\sigma_{x}.

Finally, since all the terms are non-negative and we need to obtain a lower bound on their sum, Lemma 26 gives the result.

Proof First of all, note that Assumption NoncritReg(k,γk,\gamma)(k,γ)(k,\gamma) with γ<1\gamma<1 directly implies that λ+∑i>kλi≥0\lambda+\sum_{i>k}\lambda_{i}\geq 0, which is the second part of Assumption StableLowerEig(k,δ,Lk,\delta,L)(k,δ,L)(k,\delta,L).

Next, by Lemma 25 for some absolute constant c1c_{1} for any t∈(0,n)t\in(0,n) with probability at least 1−δ−2e−ct1-\delta-2e^{-ct}

Taking t=n/c2t=n/c_{2} where c2c_{2} is large enough depending on γ,σx\gamma,\sigma_{x} we get that for cc large enough with probability at least 1−2e−n/c1-2e^{-n/c}

Now we just need to propagate that result to A−iA_{-i} for all ii.

For i≤ki\leq k, we simply have A−i⪰AkA_{-i}\succeq A_{k} with probability 11, so indeed ∀i≤k\forall i\leq k

Now note that due to Assumption ExchCoord, the distribution of the matrix λIn+λiz1z1⊤+∑j>k,j≠iλjzjzj⊤\lambda I_{n}+\lambda_{i}z_{1}z_{1}^{\top}+\sum_{j>k,j\neq i}\lambda_{j}z_{j}z_{j}^{\top} is the same as the distribution of Ak=λIn+∑j>kλjzjzj⊤A_{k}=\lambda I_{n}+\sum_{j>k}\lambda_{j}z_{j}z_{j}^{\top}. Therefore

Appendix F Deriving a useful identity

Motivated by the results of Bartlett et al. (2020), we split the principal directions of the covariance matrix into two parts: small dimensional and high dimensional. The main idea of our argument is to use classical machinery (like some sort of uniform convergence argument) in the small dimensional subspace. To do this we write \hat{\theta}(y)^{\top}=\bigl{[}\hat{\theta}(y)_{0:k}^{\top},\hat{\theta}(y)_{k:\infty}^{\top}\bigr{]} and mentally split the search process for θ^(y)\hat{\theta}(y) into two parts: first, for any fixed θ0:k\theta_{0:k}, optimize for θk:∞\theta_{k:\infty}. Then only the first kk coordinates are left. The result of that optimization in θk:∞\theta_{k:\infty} is the following identity:

The goal of this section is to derive this identity.

In the ridgeless case we are simply dealing with projections, and θ^(y)\hat{\theta}(y) is the minimum norm interpolating solution. Note that θ^(y)k:∞\hat{\theta}(y)_{k:\infty} is also the minimum norm solution to the equation Xk:∞θk:∞=y−X0:kθ^(y)0:kX_{k:\infty}\theta_{k:\infty}=y-X_{0:k}\hat{\theta}(y)_{0:k}, where θk:∞\theta_{k:\infty} is the variable. Thus, we can write

Now we need to minimize the norm in θ^(y)0:k\hat{\theta}(y)_{0:k} (our choice of θ^(y)k:∞\hat{\theta}(y)_{k:\infty} already makes the solution interpolating): we need to minimize the norm of the following vector:

We see that the above mentioned orthogonality for any η0:k\eta_{0:k} is equivalent to the following:

where we replaced Xk:∞Xk:∞⊤=:AkX_{k:\infty}X_{k:\infty}^{\top}=:A_{k}.

F.2 Checking for the case of non-vanishing regularization

So, now we have λ≠0\lambda\neq 0 and we want to prove that θ^(y)0:k+X0:k⊤Ak−1X0:kθ^(y)0:k=X0:k⊤Ak−1y\hat{\theta}(y)_{0:k}+X_{0:k}^{\top}A_{k}^{-1}X_{0:k}\hat{\theta}(y)_{0:k}=X_{0:k}^{\top}A_{k}^{-1}y. Recall that

Appendix G Variance

In this section we prove the following lemma.

If for some k<nk<n the matrix AkA_{k} is PD, then

Note that the RHS of the inequality above is straightforward to estimate if one knows the spectrum of AkA_{k}. Indeed, the matrices X0:kΣ0:k−1X0:k⊤X_{0:k}\Sigma_{0:k}^{-1}X_{0:k}^{\top} and Xk:∞Σk:∞Xk:∞⊤X_{k:\infty}\Sigma_{k:\infty}X_{k:\infty}^{\top} have i.i.d. elements on their diagonals, so their traces concentrate around expectations:

where we use ∼\sim informally to denote approximate equality with high probability.

When it comes to the matrix Σ0:k−1/2X0:k⊤X0:kΣ0:k−1/2/n\Sigma_{0:k}^{-1/2}X_{0:k}^{\top}X_{0:k}\Sigma_{0:k}^{-1/2}/n, this is just a sample covariance matrix of nn isotropic vectors in kk-dimensional space. Since kk is small compared to nn, it concentrates around the identity. Thus,

These computations are done rigorously in the proof of Theorem 5.

It was shown in Section F that the following identity holds (c.f. (16)):

Multiplying the identity by θ^(ε)0:k⊤\hat{\theta}(\varepsilon)_{0:k}^{\top} from the left, and using that θ^(ε)0:k⊤θ^(ε)0:k≥0\hat{\theta}(\varepsilon)_{0:k}^{\top}\hat{\theta}(\varepsilon)_{0:k}\geq 0 we get

The leftmost expression is linear in θ^(ε)0:k\hat{\theta}(\varepsilon)_{0:k}, and the rightmost is quadratic. We use these expressions to bound ∥θ^(ε)0:k∥Σ0:k\|\hat{\theta}(\varepsilon)_{0:k}\|_{\Sigma_{0:k}}.

First, we extract that norm from the quadratic part

Then we can substitute (17) and apply Cauchy-Schwarz to obtain

Since ε\varepsilon is independent of XX, taking expectation in ε\varepsilon only leaves the trace in the numerator:

G.2 Components starting from k+1𝑘1k+1-st

𝑘1k+1-st The rest of the variance term is

Since ε\varepsilon is independent of XX, taking expectation in ε\varepsilon only leaves the trace of the matrix:

Appendix H Bias

The bias term is given by ∥θ∗−θ^(Xθ∗)∥Σ2\|\theta^{*}-\hat{\theta}(X\theta^{*})\|_{\Sigma}^{2}. In this section we prove the following

Suppose that for some k<nk<n the matrix AkA_{k} is PD. Then there exists an absolute constant cc such that

We need to bound ∥θ0:k∗−θ^(y)0:k(λ,Xθ∗)∥Σ0:k2\|\theta^{*}_{0:k}-\hat{\theta}(y)_{0:k}(\lambda,X\theta^{*})\|_{\Sigma_{0:k}}^{2}. By Section F, in particular identity (16), we have

Denote the error vector as ζ:=θ^(Xθ∗)−θ∗\zeta:=\hat{\theta}(X\theta^{*})-\theta^{*}. We can rewrite the equation above as

Multiplying both sides by ζ0:k⊤\zeta_{0:k}^{\top} from the left and using that ζ0:k⊤ζ0:k=∥ζ0:k∥2≥0\zeta_{0:k}^{\top}\zeta_{0:k}=\|\zeta_{0:k}\|^{2}\geq 0 we obtain

Next, divide and multiply by Σ0:k1/2\Sigma_{0:k}^{1/2} in several places:

Now we pull out the lowest singular values of the matrices in the LHS and largest singular values of the matrices in the RHS to obtain lower and upper bounds respectively, yielding

H.2 The rest of the components

Recall that the full bias term is ∥(Ip−X⊤(λIn+XX⊤)−1X)θ∗∥Σ2\|(I_{p}-X^{\top}(\lambda I_{n}+XX^{\top})^{-1}X)\theta^{*}\|^{2}_{\Sigma} and that A=λIn+XX⊤A=\lambda I_{n}+XX^{\top}. The contribution of the components of ζ\zeta, starting from the k+1k+1st can be bounded as follows:

First of all, let’s deal with the second term:

where we used that μ1(Ak−1)≥μ1(A−1)\mu_{1}(A_{k}^{-1})\geq\mu_{1}(A^{-1}) in the last transition.

Now, let’s deal with the last term. Note that A=Ak+X0:kX0:k⊤A=A_{k}+X_{0:k}X_{0:k}^{\top}. By the Sherman–Morrison–Woodbury formula,

where in the last transition we used the fact that In−λAk−1I_{n}-\lambda A_{k}^{-1} is a PSD matrix with norm bounded by 1 for λ>0\lambda>0.

Putting those bounds together yields the result.

Appendix I Main results

Proof Lemmas 27 and 28 bound the bias and variance on the event that AkA_{k} is PD. Next to those lemmas we already put explanations of why those bounds are easy to assess via concentration arguments. Here we just do this rigorously.

Recall the bounds from Lemmas 27 and 28: for some absolute constant cc

where the first four terms correspond to the bias and the last two to the variance. By inspecting that expression one can notice that it consists of some products of simple quantities that could be assessed individually. Namely, those quantities are:

μ1(Ak−1)\mu_{1}(A_{k}^{-1}) and μn(Ak−1)\mu_{n}(A_{k}^{-1}) — smallest and largest singular values of AkA_{k}. In this theorem we assume that those quantities are known or there is some oracle control over them.

μ1(Σ0:k−1/2X0:k⊤X0:kΣ0:k−1/2)\mu_{1}\left(\Sigma_{0:k}^{-1/2}X_{0:k}^{\top}X_{0:k}\Sigma_{0:k}^{-1/2}\right) and μk(Σ0:k−1/2X0:k⊤X0:kΣ0:k−1/2)\mu_{k}\left(\Sigma_{0:k}^{-1/2}X_{0:k}^{\top}X_{0:k}\Sigma_{0:k}^{-1/2}\right).

∥Xk:∞θk:∞∗∥2\|X_{k:\infty}\theta^{*}_{k:\infty}\|^{2}.

Now take constant c4c_{4} to be large enough depending on σx\sigma_{x} and set t=n/c4t=n/c_{4}. For some constant c5c_{5} which only depends on σx\sigma_{x} we get that with probability at least 1−c5e−n/c51-c_{5}e^{-n/c_{5}}, all the following inequalities hold at the same time:

Putting all the terms together gives the result.

Proof Almost all the work was already done in Lemma 25. It says that for some absolute constant c1c_{1} and for any t∈(0,n)t\in(0,n) with probability at least 1−δ−2e−c1t1-\delta-2e^{-c_{1}t},

Moreover, if δ<1−4e−c1t\delta<1-4e^{-c_{1}t}, then

We just need to choose tt, plug these bounds into the result of Theorem 5 and evaluate the result up to multiplicative constants.

First, choose constant c2c_{2} large enough depending on LL, γ\gamma, σx\sigma_{x} , and put t=n/c2t=n/c_{2}. Statements above imply that if δ<1−4e−n/(c1c2)\delta<1-4e^{-n/(c_{1}c_{2})}, then for some constant c3c_{3} which only depends on LL, γ\gamma, σx\sigma_{x}, with probability at least 1−δ−c2e−n/(c1c2)1-\delta-c_{2}e^{-n/(c_{1}c_{2})},

These three inequalities allow us to evaluate the result of Theorem 5: let’s plug them term-by-term:

Since λ>−γ∑i>kλi\lambda>-\gamma\sum_{i>k}\lambda_{i},

μ1(Ak−1)2μn(Ak−1)2≤L2\frac{\mu_{1}(A_{k}^{-1})^{2}}{\mu_{n}(A_{k}^{-1})^{2}}\leq L^{2} — also just a constant.

Plugging all these bounds in the statement of Theorem 5 gives the result for a large enough cc.

I.2 Upper bound matches the lower bound

In the next theorem we show that the upper bound given in Theorem 5 matches the lower bounds from Lemmas 7 and 8 if we choose suitable kk. Note that by Lemmas 25 and 11, being able to control the condition number of Ak′A_{k^{\prime}} for some k′<nk^{\prime}<n implies that we can choose a suitable kk. (Note that there are choices of θ∗\theta^{*} and Σ\Sigma for which the lower bound B‾\overline{B} is larger than the upper bound of Lemma 5.4 in (Negrea et al., 2020); this seems to be because the proof of Lemma B.1 in that paper applies Lemma B.2 to a nonsymmetric matrix. This error was removed in the newer version of the same paper, which uses the results of Bartlett et al. (2020) instead.)

In the following we will bound the ratio of the sums from the statement of the theorem by bounding the ratios of the corresponding terms.

Second case: k=min⁡{l:ρl>b}k=\min\{l:\rho_{l}>b\}. In this case we have

The rest of the computation is analogous to the previous case:

I.3 Alternative form of the main bound

where we used k−k∗<n/ck-k^{*}<n/c and ρk∗>b\rho_{k^{*}}>b in the last transition. Moving λk∗+1ρk∗bc\frac{\lambda_{k^{*}+1}\rho_{k*}}{bc} to the left-hand side and dividing both sides by (1−b−1c−1)(1-b^{-1}c^{-1}) gives the result.

Now since k=k∗k=k^{*}, by Theorem 10 there exists a large constant c3c_{3} (that depends on bb and c2c_{2}) such that on the same event,

Finally, since λ>2∑i>kλi\lambda>2\sum_{i>k}\lambda_{i}, we have

(1+c)λ⌊n/c⌋≥2n∑i>⌊n/c⌋λi(1+c)\lambda_{\lfloor n/c\rfloor}\geq\frac{2}{n}\sum_{i>\lfloor n/c\rfloor}\lambda_{i}. Then

(1+c)λ⌊n/c⌋<2n∑i>⌊n/c⌋λi(1+c)\lambda_{\lfloor n/c\rfloor}<\frac{2}{n}\sum_{i>\lfloor n/c\rfloor}\lambda_{i}. Then

A straightforward computation shows that if n≥c2+cn\geq c^{2}+c then n/c−1≥n/(c+1)n/c-1\geq n/(c+1), so

Appendix J Negative regularization

Proof We start exactly as in the proof of Lemma 8, where it was shown that if A−iA_{-i} is PSD for every ii (which is satisfied almost surely when λ≥0\lambda\geq 0 ) then

Note that have μn(A−i−1)\mu_{n}(A_{-i}^{-1}) is a decreasing function of λ\lambda with probability 1. Thus, the right-hand side of (27) is a non-decreasing function of λ\lambda with probability 1, and any lower bound for it when λ=0\lambda=0 will also hold uniformly for all λ≥0\lambda\geq 0. Thus, for the remainder of the proof, fix λ=0\lambda=0.

We are going to use Lemma 16 to lower bound μn(A−i)\mu_{n}(A_{-i}) for each ii separately (we are not looking for a uniform bound over all ii simultaneously). If i≤ki\leq k, then A−i⪰AkA_{-i}\succeq A_{k} with probability 1, so we can just use Lemma 16 directly. If i>ki>k, consider the following matrix:

In words, we took matrix XX, multiplied the first column by λi/λ1\sqrt{\lambda_{i}/\lambda_{1}} (to make the variances equal to λi\lambda_{i}), swapped the first column with the ii-th column and dropped the first kk columns. The purpose of this matrix is to write the following:

Thus, to lower bound μn(A−i)\mu_{n}(A_{-i}) one can just lower bound μn(Xk:∞(i)(Xk:∞(i))⊤)\mu_{n}(X_{k:\infty}^{(i)}(X_{k:\infty}^{(i)})^{\top}). This can be done by using Lemma 16 with matrix Xk:∞(i)X_{k:\infty}^{(i)} instead of Xk:∞X_{k:\infty}, which is valid because matrix Xk:∞(i)X_{k:\infty}^{(i)} satisfies exactly the same assumptions, namely the matrix Xk:∞(i)Σk:∞−1/2X_{k:\infty}^{(i)}\Sigma^{-1/2}_{k:\infty} has independent centered σx\sigma_{x}-sub-Gaussian elements with unit variances.

Therefore, by Lemma 16 for some constant c1c_{1} that only depends on σx\sigma_{x} for any ii with probability at least 1−c1e−n/c11-c_{1}e^{-n/c_{1}},

where we used Equations (13) and (14). Choose a constant bb large enough depending on c1c_{1}, so that ρk−c1−c1ρk≥ρk/c2\rho_{k}-c_{1}-c_{1}\sqrt{\rho_{k}}\geq\rho_{k}/c_{2} for some constant c2c_{2} that only depends on σx\sigma_{x}.

By Lemma 21, for some absolute constant c3c_{3} for any t∈(0,n)t\in(0,n), w.p. at least 1−2e−t/c31-2e^{-t/c_{3}}, we have ∥zi∥2≤n−tnσx2≤n/2\|z_{i}\|^{2}\leq n-\sqrt{tn}\sigma_{x}^{2}\leq n/2, provided t≤n/(4σx4).t\leq n/(4\sigma_{x}^{4}). Combining it with the previous results and taking constant c4c_{4} large enough depending on σx\sigma_{x} and c2c_{2} we get that if ρk>c4\rho_{k}>c_{4} then for any ii with probability at least 1−c4e−n/c41-c_{4}e^{-n/c_{4}},

Now we convert the high-probability lower bound for each term into the high-probability lower bound for the whole sum. Using Lemma 26 gives that with probability at least 1−2c4e−n/c41-2c_{4}e^{-n/c_{4}},

Finally, by Theorem 10 there exists a constant c5c_{5} that only depends on bb s.t.

Therefore, setting the constant cc large enough (depending on bb and σx\sigma_{x}) gives the result.

Proof In the following c1,c2,…c_{1},c_{2},\dots are constants that only depend on σx\sigma_{x}.

Let’s introduce a new variable ◊\Diamond such that λ=−∑i>kλi+◊\lambda=-\sum_{i>k}\lambda_{i}+\Diamond.

By Lemma 16 with probability at least 1−c1e−n/c11-c_{1}e^{-n/c_{1}},

Note that the range for ◊\Diamond is non-empty if ρk\rho_{k} is large enough according to Equations (13) and (14). On the same event we get

Now we are in a position to use Theorem 5. Recall that 0<◊<∑i>kλi0<\Diamond<\sum_{i>k}\lambda_{i}. Thus

Thus, we can plug our bounds on eigenvalues into Theorem 5 to get that if k<n/c2k<n/c_{2} then with probability at least 1−c1e−n/c1−c2e−n/c21-c_{1}e^{-n/c_{1}}-c_{2}e^{-n/c_{2}},

Recall that ◊<∑i>kλi\Diamond<\sum_{i>k}\lambda_{i}, so 1+(2◊−1)∑i>kλi1+(2\Diamond^{-1})\sum_{i>k}\lambda_{i} is the same as ◊−1∑i>kλi\Diamond^{-1}\sum_{i>k}\lambda_{i} up to a constant multiplier. That is, on the same event,

One can see that ◊\Diamond balances the bias in the first kk components against two things: the bias in the tail and the variance. The value of ◊\Diamond that is optimal to balance the bias in the first kk components and the bias in the tail is nλk+1∑i>kλi\sqrt{n\lambda_{k+1}\sum_{i>k}\lambda_{i}}. As we will check further, up to a constant factor, ◊\Diamond will be in the range that we set in Equation (28). There are two cases then: the first case is when this choice of ◊\Diamond is optimal because the variance is not larger than the bias. The second case is when ◊\Diamond needs to be chosen larger than nλk+1∑i>kλi\sqrt{n\lambda_{k+1}\sum_{i>k}\lambda_{i}} to decrease the variance. So, consider two cases:

for a constant aa that only depends on σx\sigma_{x} that we will choose next. This aa must be such that Equation (28) is satisfied, which means

Using n∑i>kλi2≤nλk+1∑i>kλi\sqrt{n\sum_{i>k}\lambda_{i}^{2}}\leq\sqrt{n\lambda_{k+1}\sum_{i>k}\lambda_{i}} we obtain that it is enough for aa to satisfy

One can see that a=4c1a=4c_{1} satisfies this condition when c>max⁡(1,16c12)c>\max(1,16c_{1}^{2}) since ρk(0)>c\rho_{k}(0)>c. Taking such an aa, plugging ◊\Diamond into Equations (29)–(31), and choosing c4c_{4} big enough depending on a,c1,c2,c3a,c_{1},c_{2},c_{3}, we get that with probability at least 1−c4e−n/c41-c_{4}e^{-n/c_{4}},

which implies the desired bound for any c>2c4c>2c_{4}.

for a constant aa that only depends on σx\sigma_{x} that we choose next. As in the previous case, aa must be such that Equation (28) is satisfied, which means

The first condition is satisfied whenever a<ca<\sqrt{c} due to Equation (15). Now consider the second condition. Because of Equation (32), we have

This is exactly the same condition as in the previous case, so it can be reduced to

Thus, just as in the small variance case, we see that since c>max⁡(1,16c12)c>\max(1,16c_{1}^{2}) then a=4c1a=4c_{1} satisfies both conditions.

Take such an aa. Before plugging ◊\Diamond into Equations (29)–(31), note the following. Because of Equation (34), we have

which means that if we take c5c_{5} large enough depending on aa and c3c_{3}, then Equations (29)–(31) imply

Now plugging in the expression for ◊\Diamond gives that with probability at least 1−c1e−n/c11-c_{1}e^{-n/c_{1}},

which implies the result for c>max⁡((a−2+a2)c5,c1)c>\max((a^{-2}+a^{2})c_{5},c_{1}).

References