Dimension free ridge regression

Chen Cheng, Andrea Montanari

Introduction

Statistical theory studies this and similar estimators in three different regimes:

Despite the wealth of fascinating technical results in this area, this state of affairs leaves open many important questions.

First, it would be important have a unified theoretical framework that does not require the statistician to decide which asymptotics to use. For instance, in order to apply sharp asymptotics in the classical or proportional regimes, it is often assumed that a given pair (n,d)(n,d) is in fact an element of a sequence (n,d(n))(n,d(n)) with, respectively, either d(n)≍1d(n)\asymp 1, or d(n)≍nd(n)\asymp n.

In practice we are given a single pair, say (n,d)=(1000,50)(n,d)=(1000,50): should we interpret this as d≍1d\asymp 1, d≍nd\asymp n, or yet another regime that is not covered by current theory (e.g., d≍n2/3d\asymp n^{2/3})?

In fact, the distinction between three types of asymptotics outlined above is rather the consequence of the technical tools used to derive them, rather than a fundamental statistical phenomenon.

Second, the restriction d=O(n)d=O(n) (or s=O(n)s=O(n) in sparse regression) which is implied both by the proportional and by the classical asymptotics is artificial. While this condition might seem necessary for consistency at fist sight (it might seem that at least dd observations are required to estimate dd parameters), as shown in [BLLT20, TB20] this is in fact not the case. Further, it is not even clear how to check in practice d=O(n)d=O(n) for a given pair n,dn,d.

Third, it would be important to remove the assumption of a well conditioned Σ{\bm{\Sigma}}, and derive precise asymptotics for general covariances. We would argue that the ill-conditioned case is most important in practice, since high-dimensional data have often low-dimensional structures.

Fourth, the proportional asymptotics is somewhat un-natural from a statistical viewpoint. Most statisticians are used to think of the data distribution is fixed (in particular, dd is fixed), while we sample size nn increases. In a standard proportional setting, one instead assumes n,d→∞n,d\to\infty together with n/d→δn/d\to\delta: the data distribution changes with the sample size.

Recent progress on several of these issues was achieved in the context of ridge regression. Among others, [HMRT22] derived a characterization for bias and variance in the proportional regime that is non-asymptotic, i.e. holds up to an approximation error that is explicit and vanishes for large nn, dd. Using a different approach, [BLLT20, TB20] obtained bounds on bias and variance that hold for arbitrary (possibly infinite) dimension dd, in terms of of the decay of eigenvalue of Σ{\bm{\Sigma}}. These bounds allow to demonstrate ‘benign overfitting,’ i.e. choices of Σ,β{\bm{\Sigma}},{\bm{\beta}} (i.e. data distributions) such that minimum norm interpolator is consistent.

The results [HMRT22, BLLT20, TB20] have limitations. The characterization of the risk proved in [HMRT22] has sharp leading constants, but only holds for C−1≤n/d≤CC^{-1}\leq n/d\leq C with CC a constant, and holds up to an additive error. However, this error terms can be larger than the actual excess risk when the latter vanishes. The bounds of [BLLT20, TB20], on the other hand, hold up to unspecified multiplicative constants. The proof techniques in these two sets of results are furthermore very different.

In this paper we attempt to provide a unified picture that covers these gaps, by extending the sharp characterization of ridge regression of [HMRT22] beyond the proportional regime. This will allows to recover the benign overfitting results of [BLLT20, TB20] (in several cases) with sharp constants. In doing so, we will extend random matrix theory analysis to cases with d≫nd\gg n or d=∞d=\infty, without restrictions on the condition number of Σ{\bm{\Sigma}}. In the case d=∞d=\infty, the feature vectors xi{\bm{x}}_{i} are random elements in a separable Hilbert space, whose distribution is fixed (does not change with nn), and whose covariance Σ{\bm{\Sigma}} is a trace class self-adjoint operator.

The rest of the paper is organized as follows. The next section describes the setting for our analysis, the main assumptions and the resulting asymptotic characterization. It also provides some intuition and connects our results to earlier work. Section 3 contains the formal statement of our general results, while Section 4 specializes our theorem to regimes of interest and develops tools to check its assumptions. Section 5 evaluates our characterization for certain choices of Σ,β{\bm{\Sigma}},{\bm{\beta}}, and compare the predictions with simulations. Finally, proof are presented in Sections 6 and 7, with most technical steps deferred to the appendices.

Setting and characterization

the response vector y=(y1,⋯ ,yn)T{\bm{y}}=(y_{1},\cdots,y_{n})^{\sf T} and the noise vector ε=(ε1,⋯ ,εn)T{\bm{\varepsilon}}=({\varepsilon}_{1},\cdots,{\varepsilon}_{n})^{\sf T}, we can write in matrix form

For an estimator β^=β^(X,y)\widehat{{\bm{\beta}}}=\widehat{{\bm{\beta}}}({\bm{X}},{\bm{y}}) we define the excess risk as

where xnew{\bm{x}}_{\mathsf{new}} is an independent copy of x1,⋯ ,xn{\bm{x}}_{1},\cdots,{\bm{x}}_{n} and ∥x∥Σ2:=xTΣx\|{\bm{x}}\|_{\bm{\Sigma}}^{2}:={\bm{x}}^{\sf T}{\bm{\Sigma}}{\bm{x}}. We will also refer to this as the ‘test error’ or the ‘generalization error’ (although the latter is actually given by the difference between RX\mathscr{R}_{\bm{X}} and ts empirical version.) Let us emphasize that in this definition, RX(β^;β)\mathscr{R}_{\bm{X}}(\widehat{{\bm{\beta}}};{\bm{\beta}}) is a random quantity because it depends on the data X{\bm{X}}: however, as we will prove, it concentrates around a non-random value.

The generalization error admits a variance-bias decomposition RX(β^;β)=VX(β^;β)+BX(β^;β)\mathscr{R}_{\bm{X}}(\widehat{{\bm{\beta}}};{\bm{\beta}})=\mathscr{V}_{\bm{X}}(\widehat{{\bm{\beta}}};{\bm{\beta}})+\mathscr{B}_{\bm{X}}(\widehat{{\bm{\beta}}};{\bm{\beta}}), with

For ridge regression, we can write explicit forms of variance and bias:

Assumptions on the covariates distribution.

We impose the following assumptions on the covariates xi{\bm{x}}_{i} throughout the paper.

We further assume xi=Σ1/2zi{\bm{x}}_{i}={\bm{\Sigma}}^{1/2}{\bm{z}}_{i} where the following hold.

I. There exist dΣ:=dΣ(n)≥n\mathsf{d}_{{\bm{\Sigma}}}:=\mathsf{d}_{{\bm{\Sigma}}}(n)\geq n such that, for all 1≤k≤min⁡{n,d}1\leq k\leq\min\{n,d\}

II. There exist Cx>0\mathsf{C}_{{\bm{x}}}>0, such that one of the following condition holds:

The technical motivation for assumption II is to establish concentration of quadratic forms of zi{\bm{z}}_{i}, via Hanson-Wright inequality. We notice that the convex concentration property is implied by any of the following. (i)(i) By Talagrand inequality, convex concentration holds for random vectors zi{\bm{z}}_{i} with independent bounded entries [BLM13, Theorem 7.12]. (ii)(ii) By Herbst’s argument, concentration of Lipschitz functions (and hence in particular convex concentration) holds for random vectors zi{\bm{z}}_{i} that satisfy a log-Sobolev inequality [BGL+14, Proposition 5.4.1]. (iii)(iii) Finally, as a special case of the last point, vectors zi{\bm{z}}_{i} with strongly log-concave probability density function satisfy this condition [BGL+14, Corollary 5.7.2].

The form of Hanson-Wright inequality that we will use is given below.

Effective variance and bias.

An important observation of [HMRT22] is that variance VX\mathscr{V}_{\bm{X}} and bias BX\mathscr{B}_{\bm{X}} concentrate around some non-random quantities, that can be interpreted in terms of an ‘effective’ regression problem. While [HMRT22] proves such characterization in the proportional regime n≍dn\asymp d, here we will extend its validity and prove stronger guarantees.

Define the effective regularization λ⋆\lambda_{\star} as the unique non-negative solution of

we that define the effective variance and bias as

Our main result —stated in the next section— will establish dimension-free guarantees of the form

where the term These improve over earlier work in two important directions. First, they are dimension free, and in particular do not assume n≍dn\asymp d. Second, they provide multiplicative approximations, and hence retain their utility when the risk is small.

Bounds, interpretation, benign overfitting.

Before stating our formal results relating VX\mathscr{V}_{\bm{X}} to Vn\mathsf{V}_{n} and BX\mathscr{B}_{\bm{X}} to Bn\mathsf{B}_{n}, it is useful to develop some intuition about the expressions (6), (7) and their immediate consequences. Note that, by Eq. (5), we necessarily have

If we assume that inequality between the first and last term holds with a constant multiplicative factor, i.e. Tr(Σ2(Σ+λ⋆I)−2)≤n(1−c⋆−1){\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)\leq n(1-c_{\star}^{-1}) for some constant c⋆∈(0,∞)c_{\star}\in(0,\infty), then we get

Comparing these bounds with the bias and variance of general ridge regression in Eqs. (4a), (4a), we observe that the right hand sides are (modulo the factor c⋆c_{\star}) the bias and variance of a modified ridge regression in which:

The design matrix is non-random and given by Σ1/2{\bm{\Sigma}}^{1/2} instead of X{\bm{X}}.

The regularization parameter is λ⋆\lambda_{\star} instead of λ\lambda.

The noise level is τ/n\tau/\sqrt{n} instead of τ\tau.

Even more explicit expressions can be obtained by writing the right-hand side of Eqs. (11), (12) in the basis that diagonalizes Σ{\bm{\Sigma}} as in the next proposition. A proof of this statement is in Appendix A.

Assume Tr(Σ2(Σ+λ⋆I)−2)≤n(1−c⋆−1){\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)\leq n(1-c_{\star}^{-1}), for c⋆∈(1,∞)c_{\star}\in(1,\infty). Let Σ:=∑i≥1σiviviT{\bm{\Sigma}}:=\sum_{i\geq 1}\sigma_{i}{\bm{v}}_{i}{\bm{v}}_{i}^{{\sf T}} be the eigendecomposition of of Σ{\bm{\Sigma}}, and denote by β≤k:=∑i≤k⟨β,vi⟩vi{\bm{\beta}}_{\leq k}:=\sum_{i\leq k}\langle{\bm{\beta}},{\bm{v}}_{i}\rangle{\bm{v}}_{i} the orthogonal projection of β{\bm{\beta}} onto the span of v1,…,vk{\bm{v}}_{1},\dots,{\bm{v}}_{k}, and by β>k:=β−β≤k{\bm{\beta}}_{>k}:={\bm{\beta}}-{\bm{\beta}}_{\leq k} its complement. Finally, let k⋆:=max⁡{k :  σk≥λ⋆}k_{\star}:=\max\{k\,:\;\sigma_{k}\geq\lambda_{\star}\}, and define the tail effective rank parameters by

Then, defining bk:=σk/σk+1b_{k}:=\sigma_{k}/\sigma_{k+1}, we have 2n≥k⋆+r1(k⋆)/bk⋆2n\geq k_{\star}+r_{1}(k_{\star})/b_{k_{\star}} and

(We notice that if the singular values σk\sigma_{k} do not decay faster than exponentially, then bkb_{k} is of order one.) While these are only bounds on the theoretical characterization Bn(λ)\mathsf{B}_{n}(\lambda), Vn(λ)\mathsf{V}_{n}(\lambda) for bias and variance, our main resuls (Theorem 1and Theorem 3) will allow to transfer them to the actual bias and variance BX(λ)\mathscr{B}_{\bm{X}}(\lambda), VX(λ)\mathscr{V}_{\bm{X}}(\lambda) (modulo additional error terms).

These bounds (more precisely, the bounds on BX(λ)\mathscr{B}_{\bm{X}}(\lambda), VX(λ)\mathscr{V}_{\bm{X}}(\lambda) that follow from these and Theorem 1) are closely related to the ones in [BLLT20, TB20], see in particular [TB20, Theorem 1]. It is worth pointing out two important differences. First, the bounds in Eqs. (14), (15) are somewhat more precise/explicit: there is no unspecified constant factorThe factor c⋆c_{\star} is explicit and, if useful, can be replaced by the original expression., no dependence on the condition number of σ1/σk⋆\sigma_{1}/\sigma_{k_{\star}}, and no multiplicative factor depending on the probability. Second, Eqs. (14), (15) are only proved for the specific value of k⋆k_{\star} defined there.

The bounds of Eqs. (14), (15) allow to characterize settings in which the excess test error (as predicted by our theory) vanishes. Indeed, for Vn(λ)\mathsf{V}_{n}(\lambda) to vanish, it is sufficient that k⋆/n→0k_{\star}/n\to 0 and r‾(k⋆)/n→∞\overline{r}(k_{\star})/n\to\infty. A simple sufficient condition for Bn(λ)→0\mathsf{B}_{n}(\lambda)\to 0 is that β∈span(v1,…,vk){\bm{\beta}}\in{\rm span}({\bm{v}}_{1},\dots,{\bm{v}}_{k}) with σk/σk⋆→∞\sigma_{k}/\sigma_{k_{\star}}\to\infty.

We will discuss special examples in Section 4, and show how our general results allow to derive more precise estimates of the risk in those cases.

Equivalent sequence model.

The discussion above relies on the assumption Tr(Σ2(Σ+λ⋆I)−2)≤n(1−c⋆−1){\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)\leq n(1-c_{\star}^{-1}), which implies the simple bounds (11), (12). However the interpretation in terms of a modified ridge regression problem holds for the exact formulas of Eqs. (6), (7). This interpretation was developed in the context of earlier work on the proportional asymptotics [DJM13], but it is useful to spell it out here for the present context.

In the modified model, we observe ys{\bm{y}}^{s} that is related to β{\bm{\beta}} according to

Without loss of generality, we can work in the basis in which Σ{\bm{\Sigma}} is diagonal, and therefore rewrite the above as yis=σi1/2βi+(ω/n)giy^{s}_{i}=\sigma_{i}^{1/2}\beta_{i}+(\omega/\sqrt{n})g_{i}, which coincides with the definition of the classical sequence model [Tsy09].

We use ridge regression at regularization level λ⋆\lambda_{\star} as defined in Eq. (5):

Finally, choose the noise level ω\omega to be the unique positive solution of

Then our theoretical prediction for the excess test error Rn(λ)\mathsf{R}_{n}(\lambda) coincides with the excess test error of the sequence model:

Summarizing, the predicted test error for the original model is equal to the test error in the sequence model, albeit at a different value of the ridge regularization parameter and of the noise level. Needless to say, studying the sequence model is significantly simpler than the original model (3).

Statement of main results

For two functions f(x)f({\bm{x}}) and g(x)g({\bm{x}}) (where x{\bm{x}} can be a scalar or a vector), we write f(x)=Oα(g(x))f({\bm{x}})=\mathcal{O}_{{\bm{\alpha}}}(g({\bm{x}})) if there exists a constant Cα\mathsf{C}_{{\bm{\alpha}}} depending only on the value of α{\bm{\alpha}} (also α{\bm{\alpha}} can be either a scalar or a vector) such that ∣f(x)∣≤Cα∣g(x)∣|f({\bm{x}})|\leq\mathsf{C}_{{\bm{\alpha}}}|g({\bm{x}})| for all x{\bm{x}}. In particular, if the constant is universal we write f(x)=O(g(x))f({\bm{x}})=\mathcal{O}(g({\bm{x}})). Similarly, we write f(x)=Ωα(g(x))f({\bm{x}})=\Omega_{{\bm{\alpha}}}(g({\bm{x}})) if ∣f(x)∣≥Cα∣g(x)∣|f({\bm{x}})|\geq\mathsf{C}_{{\bm{\alpha}}}|g({\bm{x}})| for all x{\bm{x}} and some constant Cα>0\mathsf{C}_{{\bm{\alpha}}}>0. Finally, we write f(x)=Θα(g(x))f({\bm{x}})=\Theta_{{\bm{\alpha}}}(g({\bm{x}})) if we have both f(x)=Oα(g(x))f({\bm{x}})=\mathcal{O}_{{\bm{\alpha}}}(g({\bm{x}})) and f(x)=Ωα(g(x))f({\bm{x}})=\Omega_{{\bm{\alpha}}}(g({\bm{x}})).

We wil state three theorems: the first one for ridge regression with positive regularization λ>0\lambda>0 (Theorem 1), and the other two for the ridgeless case λ=0+\lambda=0+ (Theorem 2 for the overparametrized regime, and Theorem 3 for the underparametrized one). Our approximation guarantees will depend on the pair Σ{\bm{\Sigma}}, β{\bm{\beta}} through the following three quantities (in the case λ=0+\lambda=0+, these quantities will be modified as described below):

The ratio between effective dimension and regularization parameter:

Here η\eta is a constant that only depends on Cx\mathsf{C}_{{\bm{x}}}, and hence we will leave it implicit.

The ratio between regularization and effective regularization

For a positive semi-definite operator Q{\bm{Q}}, define the modified population resolvent:

Letting β=Σ1/2θ{\bm{\beta}}={\bm{\Sigma}}^{1/2}{\bm{\theta}}, ∥θ∥<∞\|{\bm{\theta}}\|<\infty, we consider the ratio

We next present our master theorem for ridge regression: its proof is postponed to Section 6.

Under Assumption 1, for any positive integers kk and DD, there exist constants η=η(Cx)∈(0,1/2)\eta=\eta(\mathsf{C}_{{\bm{x}}})\in(0,1/2) and C=C(Cx,D)>0\mathsf{C}=\mathsf{C}(\mathsf{C}_{{\bm{x}}},D)>0 such that the following hold. Define χn(λ),κ,ρ(λ)\chi_{n}(\lambda),{\kappa},\rho(\lambda) as above (with η=η(Cx)\eta=\eta(\mathsf{C}_{{\bm{x}}}) in Eq. (20)).

then for all n=Ωk,D(1)n=\Omega_{k,D}(1), with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}) we have:

Bias approximation. If we additionally have χn(λ)3log⁡2n≤Cnκ4.5ρ(λ)\chi_{n}(\lambda)^{3}\log^{2}n\leq\mathsf{C}n{\kappa}^{4.5}\sqrt{\rho(\lambda)} and λkn−1k≤nκ/2\lambda kn^{-\frac{1}{k}}\leq n{\kappa}/2, for all n=Ωk,D(1)n=\Omega_{k,D}(1), we have

The condition ∥β∥Σ−1<∞\|{\bm{\beta}}\|_{{\bm{\Sigma}}^{-1}}<\infty in Assumption 1 amounts to requiring that the coefficients of β{\bm{\beta}} in the basis of eigenvectors vi{\bm{v}}_{i} of Σ{\bm{\Sigma}} decay fast enough. Namely, it is equivalent to ∑i⟨vi,β⟩2/σi<∞\sum_{i}\langle{\bm{v}}_{i},{\bm{\beta}}\rangle^{2}/\sigma_{i}<\infty. This condition appears to be a proof artifact and it would be interesting to relax it.

As mentioned above, the conditions on the isotropic random vectors zi{\bm{z}}_{i} in Assumption 1 are mainly imposed to be able to apply Hanson-Wright inequality (Lemma 2.1). It is an interesting research question to analyze ridge regression for covariates which do not satisfy this inequality.

We next consider the ridgeless limit for in the overparametrized case: recall that β^λ\widehat{{\bm{\beta}}}_{\lambda} coincides in this case with the minimum norm interpolator. In this case we need to modify the quantities defined above to measure the quality of our approximation. We begin by noting that Eq. (5) makes perfect sense in the case λ=0\lambda=0 and we have lim⁡λ↓0λ⋆(λ)=λ⋆(0)>0\lim_{\lambda\downarrow 0}\lambda_{\star}(\lambda)=\lambda_{\star}(0)>0. We then use the following definitions.

We replace χn(λ)\chi_{n}(\lambda) of Eq. (20) by:

where κ{\kappa} will be introduced in the theorem statement.

The quantity ρ(λ)\rho(\lambda) defined in Eq. (23) has a well defined limit as λ↓0\lambda\downarrow 0, given by

Suppose Assumption 1 holds with n<dn<d. Further assume σn>0\sigma_{n}>0, and let smins_{\sf min} be the minimum nonzero eigenvalue of the sample covariance XTX/n{\bm{X}}^{\sf T}{\bm{X}}/n. For any positive integers kk and DD, there exist constants η=η(Cx)∈(0,1/2)\eta=\eta(\mathsf{C}_{{\bm{x}}})\in(0,1/2) and C1=C1(Cx,D)>0\mathsf{C}_{1}=\mathsf{C}_{1}(\mathsf{C}_{{\bm{x}}},D)>0, Ci=Ci(k,Cx,D)>0\mathsf{C}_{i}=\mathsf{C}_{i}(k,\mathsf{C}_{{\bm{x}}},D)>0, i∈{2,3}i\in\{2,3\}, such that the following hold. Define χn′(κ)\chi_{n}^{\prime}({\kappa}), ρ(0)\rho(0), CΣ\mathsf{C}_{{\bm{\Sigma}}} as above.

Let κ>0\kappa>0 be such that the following hold

Then, on the event {smin≥8λ⋆(0)κ}\{s_{\sf min}\geq 8\lambda_{\star}(0)\kappa\}, the following hold with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}):

Variance approximation. If in addition χn′(κ)3log⁡2n≤C2n1−1kκ9.5\chi_{n}^{\prime}({\kappa})^{3}\log^{2}n\leq\mathsf{C}_{2}n^{1-\frac{1}{k}}{\kappa}^{9.5}, then

Bias approximation. If in addition χn′(κ)3log⁡2n≤C1nκ4.5ρ(0)\chi_{n}^{\prime}({\kappa})^{3}\log^{2}n\leq\mathsf{C}_{1}n{\kappa}^{4.5}\sqrt{\rho(0)}, λ⋆(0)kn−1k≤1/4\lambda_{\star}(0)kn^{-\frac{1}{k}}\leq 1/4 and

The proof of this theorem is presented in Appendix D.

Our approach to proving Theorem 2 consists in reducing the ridgeless case λ=0+\lambda=0+ to the case λ>0\lambda>0, and appealing to Theorem 1. For instance, when controlling the variance, we will use triangular inequality

We then use Theorem 1 to bound the first term by a quantity that diverges as λ↓0\lambda\downarrow 0, and the main technical challenge is in bounding the other two terms by a quantity that vanishes faster than any polynomial as λ↓0\lambda\downarrow 0.

In Theorem 2 we use the (random) minimum nonzero eigenvalue smins_{\sf min} of the sample covariance XTX/n{\bm{X}}^{\sf T}{\bm{X}}/n. To apply the theorem, we need to choose κ\kappa such that {smin≥8λ⋆(0)κ}\{s_{\sf min}\geq 8\lambda_{\star}(0)\kappa\} holds with high probability, and therefore we need a lower bound on smins_{\sf min} that holds with high probability. In this paper, we will provide such lower bonds in two cases: (i)(i) proportional regime and (ii)(ii) bounded varying spectrum, cf. Section 4. In proportional regime, smin=Ω∣d/n−1∣−1(1)s_{\sf min}=\Omega_{|d/n-1|^{-1}}(1) by Bai-Yin law; and for for bounded varying spectrum, smin=Ω(σn)s_{\sf min}=\Omega(\sigma_{n}) (cf. Lemma G.1).

Beyond the two cases in the paper, it would be interesting to apply Theorem 2 with results lower bounding smins_{\sf min} for other examples (e.g. for the kernel random matrices [HLCH19]).

In the underparameterized regime d<nd<n, we have lim⁡λ↓0λ⋆(λ)=0\lim_{\lambda\downarrow 0}\lambda_{\star}(\lambda)=0 and therefore the previous bounds do not apply. In this case, we trivially have BX(0)=Bn(0)=0\mathscr{B}_{\bm{X}}(0)=\mathsf{B}_{n}(0)=0. The proof for the variance approximation requires a different proof, which is presented in Appendix E.

Suppose Assumption 1 holds with n>dn>d, and further assume

For any positive integers kk and DD, there exist constants η=η(Cx)>0\eta=\eta(\mathsf{C}_{{\bm{x}}})>0 C1=C1(Cx,D)>0\mathsf{C}_{1}=\mathsf{C}_{1}(\mathsf{C}_{{\bm{x}}},D)>0, C2=C2(k,Cx,D)>0\mathsf{C}_{2}=\mathsf{C}_{2}(k,\mathsf{C}_{{\bm{x}}},D)>0, such that the following hold.

If X{\bm{X}} has rank dd and smins_{\sf min} is the minimum eigenvalue of the sample covariance XTX/n{\bm{X}}^{\sf T}{\bm{X}}/n, then the following hold:

Variance approximation. Let ε\varepsilon be such that

Then, on the event {smin≥2ε}\{s_{\sf min}\geq 2\varepsilon\}, with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}):

Bias approximation. BX(0)=Bn(0)=0\mathscr{B}_{\bm{X}}(0)=\mathsf{B}_{n}(0)=0 (this holds deterministically on the event rank(X)=d{\rm rank}({\bm{X}})=d).

Applications

As a first application, we revisit the proportional regime that is defined by the following condition.

There exists a constant M>1M>1 such that M−1≤d/n≤MM^{-1}\leq d/n\leq M and σd≥M−1\sigma_{d}\geq M^{-1}.

This case is well studied and is not the main motivation of the present paper, but it is nevertheless important to compare our results to earlier work. We refer the reader to [Dic16, ASS20, DW18, WX20, RMR21] for background.

Among others, the results of [HMRT22] are more directly comparable to ours because they establish nonasymptotic bounds comparing variance and bias to the effective variance and bias of Eqs. (6) and (7), for both ridge and ridgeless regression. The proofs of [HMRT22] build on recent advances in random matrix theory, and in particular the anisotropic local law of [KY17].

Here we apply Theorems 1, 2 and 3 to the proportional regime. We note that, under assumption 2, the minimum eigenvalue of XTX{\bm{X}}^{\sf T}{\bm{X}} is, with high probability, of order nn. In order for the ridge regularization to have a non-trivial effect, we need to choose λ≍n\lambda\asymp n as well, cf. (4a) and (4b). We will therefore assume λ/n\lambda/n bounded above and below (there is no loss of generality in using the same constant as in Eq. (2)). We will address the case λ=0+\lambda=0+ in a separate statement below.

Let Assumptions 1 and 2 hold, and further assume λ/n∈[1/M,M]\lambda/n\in[1/M,M]. Then for any positive integers kk and DD, if n=Ωk,M,Cx,D(1)n=\Omega_{k,M,\mathsf{C}_{{\bm{x}}},D}(1), with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}) we have

The proof of this result is presented in Appendix F.

We note that the rates O(n−1)\mathcal{O}(n^{-1}) and O(n−1/2)\mathcal{O}(n^{-1/2}) are optimal for variance and bias approximation—corresponding to fluctuations of the average law and local law for the resolvent [AEK+14, KY17]. The most direct comparison is with [HMRT22, Theorem 5]: let us point out two ways in which the present result improves over the earlier [HMRT22].

In [HMRT22], the rate for variance approximation of ridge regression is O(n−1/2)\mathcal{O}(n^{-1/2}), while here we obtain the faster rate O(n−1)\mathcal{O}(n^{-1}).

Error terms in [HMRT22] are additive, while Proposition 4.1 provides multiplicative error terms: the quality of approximation does not deteriorate in the interesting case in which bias and variance become small.

Note that [HMRT22] informally claimed that n−1/2n^{-1/2} is the optimal rate in the above estimates. While this is correct for the bias, for the variance Proposition 4.1 yields a faster rate. As related phenomenon arises for linear eigenvalue statistics of random matrices (i.e. statistics of the form n−1∑i=1nφ(λi)n^{-1}\sum_{i=1}^{n}\varphi(\lambda_{i})). While naively such statistics would have normal deviations of order n−1/2n^{-1/2}, the actual deviations are of order n−1n^{-1} because of eigenvalues correlations [LP09].

Let Assumptions 1 and 2 hold for xi=Σ1/2zi{\bm{x}}_{i}={\bm{\Sigma}}^{1/2}{\bm{z}}_{i}, where zi{\bm{z}}_{i} has i.i.d. sub-Gaussian coordinates.

Overparameterized regime. If additionally d/n≥1+M−1d/n\geq 1+M^{-1}, then for all n=ΩM,Cx,D(1)n=\Omega_{M,\mathsf{C}_{{\bm{x}}},D}(1), with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) we have

Underparameterized regime. If additionally d/n≤1−M−1d/n\leq 1-M^{-1}, then for all n=ΩM,Cx,D(1)n=\Omega_{M,\mathsf{C}_{{\bm{x}}},D}(1), with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) we have

We do not expect the exponent 1/141/14, 1/281/28, 1/51/5 in this statement to be tight. However, as in the positive λ\lambda case, also in this case the error is multiplicative.

2 Bounded varying spectrum

We next consider the highly overparametrized case d≫nd\gg n. Overparametrized ridge (or minimum norm) regression attracted significant attention recently because of the realization that many deep learning models are overparametrized and overfit the training data. This connection is reviewed in [BMR21, Bel21].

Here we consider covariate vectors xi{\bm{x}}_{i} taking values in a general Hilbert space with d=∞d=\infty, under Assumption 1 on the covariates distribution. This is most closely related to [BLLT20, TB20], and [KZSS21]. The last paper derives refined upper bounds using Gaussian width techniques, but is limited to the case of Gaussian covariates and, as for earlier results, is only accurate up to constant factors.

We will show that our general theory yields excess risk estimates that are accurate up to 1+on(1)1+o_{n}(1) multiplicative errors. We impose the following condition on the spectrum of Σ{\bm{\Sigma}}.

Recall that, by definition, for any j≤ij\leq i, σj/σi≥1\sigma_{j}/\sigma_{i}\geq 1. The bounded varying condition requires that, if i,ji,j diverge proportionally, then the eigenvalue ratio σj/σi\sigma_{j}/\sigma_{i} stays bounded. Note that this assumption is equivalent to sup⁡i≥1σ⌊δi⌋/σi<∞\sup_{i\geq 1}\sigma_{\lfloor\delta i\rfloor}/\sigma_{i}<\infty for every δ∈(0,1]\delta\in(0,1], which is in turn equivalent to

As special case, Assumption 3 holds if the sorted eigenvalues (σ1,σ2,⋯ )(\sigma_{1},\sigma_{2},\cdots) forms a so-called regularly varying sequence, namely for any δ∈(0,∞)\delta\in(0,\infty),

where ψ(δ)\psi(\delta) is positive and finite for any δ\delta. In other words, in the regularly varying case, the ratio σj/σi\sigma_{j}/\sigma_{i} converges when i,ji,j diverge proportionally.

A special case of regularly varying spectrum is given by Zipf’s law whereby σi=i−α\sigma_{i}=i^{-\alpha} for some α>1\alpha>1 (in this case ψ(δ)=δ−α\psi(\delta)=\delta^{-\alpha}). Regularly varying functions were characterized by Karamata [Kar33] (for functions on the positive real line), and by Galambos and Seneta [GS73] (for the sequences, i.e. functions defined on the naturals). Namely all such sequences take the form

where aia_{i} are arbitrary and converge to a positive limit as i→∞i\to\infty and bi→0b_{i}\to 0.

It is easy to see that Assumption 3 holds beyond the case of regularly varying sequences. Consider for instance σi=3−s\sigma_{i}=3^{-s} for all 2s≤i<2s+12^{s}\leq i<2^{s+1}, s=0,1,⋯s=0,1,\cdots.

Applying Theorems 1 and 2 to Σ{\bm{\Sigma}} with bounded varying spectrum, we obtain the following result, whose proofs are detailed in Appendix G.

Let Assumptions 1 and 3 hold. For any constants M>0M>0, γ∈(0,1/3)\gamma\in(0,1/3), and positive integers kk, DD the following holds. If dΣ≤Mn1+γ\mathsf{d}_{{\bm{\Sigma}}}\leq Mn^{1+\gamma} and λ∈[nλ⋆(0)/M,nλ⋆(0)M]\lambda\in[n\lambda_{\star}(0)/M,n\lambda_{\star}(0)M], then for n=Ωk,M,ψ,γ,Cx,D(1)n=\Omega_{k,M,\psi,\gamma,\mathsf{C}_{{\bm{x}}},D}(1), with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1})

If additionally dΣ=OM,ψ,Cx(n1+γ(ρ(λ))1/6)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}_{M,\psi,\mathsf{C}_{{\bm{x}}}}(n^{1+\gamma}\left({\rho(\lambda)}\right)^{1/6}) λ∈[nλ⋆(0)/M,nλ⋆(0)M]\lambda\in[n\lambda_{\star}(0)/M,n\lambda_{\star}(0)M] and λ⋆(0)=O(1)\lambda_{\star}(0)=\mathcal{O}(1) (cf. Theorem 1 for the function ρ\rho), with the same probability we have

Applying Theorem 2, we have the following conclusion for ridgeless regression.

Let Assumptions 1 and 3 hold. Suppose β=Σ1/2θ{\bm{\beta}}={\bm{\Sigma}}^{1/2}{\bm{\theta}} with ∥θ∥<∞\left\|{{\bm{\theta}}}\right\|<\infty. If we have λ⋆(0)/σn=O(log⁡O(1)n)\lambda_{\star}(0)/\sigma_{n}=\mathcal{O}(\log^{\mathcal{O}(1)}n) and dΣ(n)=O(nlog⁡O(1)n))\mathsf{d}_{{\bm{\Sigma}}}(n)=\mathcal{O}(n\log^{\mathcal{O}(1)}n)), for any n=Ωψ,Cx,D(1)n=\Omega_{\psi,\mathsf{C}_{{\bm{x}}},D}(1), it holds with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) that

The assumptions λ⋆(0)/σn=O(log⁡O(1)n)\lambda_{\star}(0)/\sigma_{n}=\mathcal{O}(\log^{\mathcal{O}(1)}n) and dΣ=O(nlog⁡O(1)n)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}(n\log^{\mathcal{O}(1)}n) are primarily introduced to simplify the form of the statement. These two conditions can be relaxed to lambdaefct(0)/σn=O(nγˉ)lambdaefct(0)/\sigma_{n}=\mathcal{O}(n^{\bar{\gamma}}) and dΣ=O(n1+γˉ)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}(n^{1+\bar{\gamma}}) for a sufficiently small γˉ\bar{\gamma}, but we do not pursue this generalization here.

It is possible to apply the upper/lower bounds on the bias of Theorem 2 to prove bounds on the bias in the setting of Proposition 4.4. However the resulting error term is larger than (σn2∥θ≤n∥2+σn∥β>n∥2)(\sigma_{n}^{2}\left\|{{\bm{\theta}}_{\leq n}}\right\|^{2}+\sigma_{n}\left\|{{\bm{\beta}}_{>n}}\right\|^{2}), which is the size of the upper bound on Bn(0)\mathsf{B}_{n}(0) in Proposition 2.2.

In order to illustrate the accuracy of our general framework, we apply Proposition 4.3 to derive sharp asymptotics for bias and variance in a number cases. In each of the case below, we scale the regularization parameter λ\lambda as λ=λ0(n)⋅ν\lambda=\lambda_{0}(n)\cdot\nu for a certain explicit function λ0(n)\lambda_{0}(n). The scaling λ0(n)\lambda_{0}(n) is chosen so that the bias and variance retain a non-trivial dependence on ν\nu for large nn. We expect that the excess risk achieved by optimal regularization is also covered by this scaling (up to negligible corrections), but do not prove it formally here.

Let Assumption 1 hold. Then, for a fixed constant ν>0\nu>0 and any positive integer DD, the following events hold with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) (the on(1)o_{n}(1) errors may depend on DD):

Regularly varying spectrum with α>1\alpha>1. Assume (σi)i≥1(\sigma_{i})_{i\geq 1} is a regularly varying sequence with exponent α>1\alpha>1. As a consequence, σi=i−αaiexp⁡{∑j=1ibj/j}\sigma_{i}=i^{-\alpha}a_{i}\exp\left\{{\sum_{j=1}^{i}b_{j}/j}\right\} with aia_{i} converging to a positive limit and bi→0b_{i}\to 0. Define c⋆=c⋆(ν)>0{\sf c}_{\star}={\sf c}_{\star}(\nu)>0 as the unique positive solution of

Let Fβ(x)=∑k=1⌊nx⌋⟨β,vk⟩2F_{\bm{\beta}}(x)=\sum_{k=1}^{\lfloor nx\rfloor}\langle{\bm{\beta}},{\bm{v}}_{k}\rangle^{2}. If additionally β{\bm{\beta}} satisfies the following “polynomial-decay” property: for some 0<θ≤10<\theta\leq 1 that

Regularly varying spectrum with α=1\alpha=1. Next consider the case σi=i−1ai(1+log⁡i)−α′\sigma_{i}=i^{-1}a_{i}(1+\log i)^{-\alpha^{\prime}} for some α′>1\alpha^{\prime}>1 with aia_{i} converging to a positive limit. Define c⋆=c⋆(ν)>0{\sf c}_{\star}={\sf c}_{\star}(\nu)>0 as

Let Fβ(x)=∑k=1⌊(n/log⁡n)x⌋⟨β,vk⟩2F_{\bm{\beta}}(x)=\sum_{k=1}^{\lfloor(n/\log n)x\rfloor}\langle{\bm{\beta}},{\bm{v}}_{k}\rangle^{2}. If additionally β{\bm{\beta}} satisfies the following “rapid-decay” property: for some 0<θ≤10<\theta\leq 1 that

A non-regularly varying spectrum. σi=p−s\sigma_{i}=p^{-s} for all qs≤i<qs+1q^{s}\leq i<q^{s+1}, with 1<q<p1<q<p and s=0,1,…s=0,1,\ldots Define s⋆s_{\star} such that qs⋆≤n<qs⋆+1q^{s_{\star}}\leq n<q^{s_{\star}+1}, and for positive integer rr the following decreasing function in t>0t>0,

Let ρ⋆=n/(qs⋆+1−qs⋆)∈[1/(q−1),q/(q−1))\rho_{\star}=n/(q^{s_{\star}+1}-q^{s_{\star}})\in[1/(q-1),q/(q-1)). Then there exists a unique solution c⋆=c⋆(ν){\sf c}_{\star}={\sf c}_{\star}(\nu) to the following equation

Let Fβ(x)=∑k=1q⌈x⌉−1⟨β,vk⟩2F_{{\bm{\beta}}}(x)=\sum_{k=1}^{q^{\lceil x\rceil}-1}\langle{\bm{\beta}},{\bm{v}}_{k}\rangle^{2}. If additionally β{\bm{\beta}} satisfies the following “rapid-decay” property: for some 0<θ≤10<\theta\leq 1 that

The proof of this theorem is presented in Appendix H.

In the case of a regularly varying spectrum with α>1\alpha>1, the bias vanishes with the sample size as n−α+o(1)n^{-\alpha+o(1)} but the variance stays bounded away from zero as long as τ>0\tau>0, cf. Eq. (27). In other words in this case overfitting is not benign and Theorem 4 quantifies precisely this claim.

On the other hand, in the case α=1\alpha=1, both bias and variance vanish for large nn, an therefore we achieve benign overfitting. We must emphasize however that the variance decay is very slow, namely VX(λ)≍(log⁡n)−1\mathscr{V}_{\bm{X}}(\lambda)\asymp(\log n)^{-1}, and hence the decay of the excess risk is at least as slow.

Numerical illustrations

In this section we evaluate numerically the theoretical prediction for variance and bias, cf. Eqs. (6), (7) and compare them with the results of numerical simulations with synthetic data. We carry out the simulations in the ridgeless limit λ=0+\lambda=0+ (corresponding to min-norm interpolation). This case is interesting because it is not covered by some of our theorems. Our numerical experiments suggest that the theoretical predictions of Eqs. (6), (7) hold in a broader domain of validity than the one that we are able to control rigorously.

We use Gaussian covariates xi{\bm{x}}_{i}. By rotational invariance, we can limit ourselves to diagonal covariance Σ{\bm{\Sigma}}. We will consider two eigenvalue structures:

This is defined by σi=i−α\sigma_{i}=i^{-\alpha} for all i≥1i\geq 1. This fits within the first case of Theorem 4.

This model is defined by σi=i−1(1+log⁡i)−α′\sigma_{i}=i^{-1}(1+\log i)^{-\alpha^{\prime}}, with α′>1\alpha^{\prime}>1. This fits within the second case of Theorem 4.

In all numerical experiments, we generate data according to the model (3) with a true parameters vector β{\bm{\beta}} concentrated on the top d0=100d_{0}=100 eigenvectors of Σ{\bm{\Sigma}}. More precisely, we will use β=(1,1,…,1,0,0,…){\bm{\beta}}=(1,1,\dots,1,0,0,\ldots) where ∥β∥0=d0=100\|{\bm{\beta}}\|_{0}=d_{0}=100.

In Figure 1, we plot our theoretical predictions Vn\mathsf{V}_{n}, Bn\mathsf{B}_{n}, Rn\mathsf{R}_{n} for variance, bias and as a function of the sample size nn, for the two models (I)(I) and (II)(II) defined above. We use λ=0+\lambda=0+. In each case, we consider several values of the exponents α\alpha, α′\alpha^{\prime} that control the decay of eigenvalues of Σ{\bm{\Sigma}}.

In Figure 2, we plot the same quantities at fixed sample size n=500n=500 and vary the regularization parameter λ\lambda. A few facts emerge from these figures:

For both models, the bias of the minimum norm interpolator is a decreasing function of the sample size nn, and appears to vanish as n→∞n\to\infty, see second row of Figure 1.

In contrast, the variance exhibits a strikingly different behavior in the two covariance models, see first row of Figure 1. For model (I)(I) (polynomial eigenvalue decay, with exponent α>1\alpha>1), the variance increases with nn, and eventually stabilizes to a limit value. For model (II)(II) (exponent α=1\alpha=1), the variance decreases with nn, and appears to vanish, albeit very slowly, as n→∞n\to\infty.

As a consequence of these points, the excess test error of minimum norm interpolation vanishes with sample size in model (II)(II) but does not vanish in model (I)(I). This behavior (and the one at previous points) is precisely quantified by Theorem 4 for λ>0\lambda>0.

Finally the dependence of bias and variance on λ\lambda is the expected one. As λ\lambda increases, bias increases but variance decreases. However, the balance between these two factors is non-trivial:

For the slowest eigenvalue decay (large α\alpha in model (I)(I) or large α′\alpha^{\prime} in model (II)(II)), the optimal λ\lambda is strictly positive.

On the other hand, for the fastest eigenvalue decay, the optimal λ\lambda vanishes. In these case interpolation is superior to ridge regression: we need to overfit to achieve the best test error.

The above discussion is based on evaluating the theoretical formulas for bias and variance, as given in Eqs. (6), (7). While our main result, Theorems 1, 2 guarantee that these formulas are accurate, it is important how accurate they are at small or moderate nn, and whether random deviations modify the picture.

In Figure 3 we plot numerical simulations corroborating that VX,BX\mathscr{V}_{\bm{X}},\mathscr{B}_{\bm{X}} do concentrate around Vn,Bn\mathsf{V}_{n},\mathsf{B}_{n} in models (I)(I) and (II)(II). As mentioned above, the predictions Vn,Bn\mathsf{V}_{n},\mathsf{B}_{n} appear to be accurate beyond what is guaranteed by Theorem 2, and the error appears to be a (1+on(1))(1+o_{n}(1)) multiplicative factor.

Proof of Theorem 1

Let Fk:=σ(x1,⋯ ,xk)\mathcal{F}_{k}:=\sigma({\bm{x}}_{1},\cdots,{\bm{x}}_{k}) be the σ\sigma-field generated by the first kk data points for 1≤k≤n1\leq k\leq n, and F0\mathcal{F}_{0} the trivial σ\sigma-field. We then have VX,BX∈Fn\mathscr{V}_{\bm{X}},\mathscr{B}_{\bm{X}}\in\mathcal{F}_{n} and Vn,Bn∈F0\mathsf{V}_{n},\mathsf{B}_{n}\in\mathcal{F}_{0}. Extending the previous notation of R0\mathscr{R}_{0} in Eq. (22) to Rk\mathscr{R}_{k}, we let

For μ=0\mu=0, this equation reduces to Eq. (5), via the change of variables μ⋆=λ/λ⋆\mu_{\star}=\lambda/\lambda_{\star}. For μ>0\mu>0 existence and uniqueness follows by a similar argument to the case μ=0\mu=0. Indeed, setting ξ:=(μ⋆−μ)−1\xi:=(\mu_{\star}-\mu)^{-1}, the equation is equivalent to nξ=1+Tr(Σ(A+ξΣ))n\xi=1+{\rm{Tr}}({\bm{\Sigma}}({\bm{A}}+\xi{\bm{\Sigma}})), where A:=λI+μΣ{\bm{A}}:=\lambda{\bm{I}}+\mu{\bm{\Sigma}}. Existence and uniqueness follow since the left-hand side is monotone increasing and the right-hand side monotone decreasing in ξ\xi.

In order to quantify the approximation errors ∣VX−Vn∣|\mathscr{V}_{\bm{X}}-\mathsf{V}_{n}| and ∣BX−Bn∣|\mathscr{B}_{\bm{X}}-\mathsf{B}_{n}|, we will apply the following lemma (Lemma 6.1), which expresses the bias and variance BX\mathscr{B}_{\bm{X}}, VX\mathscr{V}_{\bm{X}} in terms of derivatives of Fn\mathscr{F}_{n} and F0\mathscr{F}_{0} w.r.t. λ\lambda and μ\mu.

For any λ>0,μ≥0\lambda>0,\mu\geq 0, the quantity μ⋆>μ\mu_{\star}>\mu is uniquely determined and we have

and μ⋆(λ,0)=λ/λ⋆\mu_{\star}(\lambda,0)=\lambda/\lambda_{\star}.

Our proof strategy proceeds in four parts: (I) We show that —due to the regularity properties of F0\mathscr{F}_{0} and Fn\mathscr{F}_{n}— a bound on ∣F0−Fn∣|\mathscr{F}_{0}-\mathscr{F}_{n}| implies a bound on the difference of their derivatives, and hence (via Lemma 6.1) on the error in approximating bias and variance; (II) We prove a bound on ∣F0−Fn∣|\mathscr{F}_{0}-\mathscr{F}_{n}| interpolating between F0\mathscr{F}_{0} and Fn\mathscr{F}_{n} by adding one row at the time to X{\bm{X}}; (III), (IV) We apply these general bounds respectively to controlling variance and bias.

Recall that we defined θ:=Σ−1/2β{\bm{\theta}}:={\bm{\Sigma}}^{-1/2}{\bm{\beta}}, and assumed ∥θ∥<∞\|{\bm{\theta}}\|<\infty. By homogeneity, we can and will assume ∥θ∥=1\left\|{{\bm{\theta}}}\right\|=1 throughout the proof.

The following lemma reduces controlling the difference of derivatives of F0\mathscr{F}_{0} and Fn\mathscr{F}_{n} to the less arduous task of bounding the difference in function values. Its proof is presented in Appendix B.2.

Before passing to bounding errors in function values, we provide upper bounds for higher order derivatives in Eqs. (37) and (38). Bounding the derivatives of Fn\mathscr{F}_{n} is easier as we can easily write an explicit formula for the kk-th derivative for any kk. (The proof of this lemma is presented in Appendix B.3).

Computing higher order derivatives of F0\mathscr{F}_{0} is less straightforward because F0\mathscr{F}_{0} depends on μ⋆\mu_{\star} which itself depends implicitly depending on (λ,μ)(\lambda,\mu). We postpone this proof to Appendix B.4.

and for all μ\mu such that 0≤μ≤μ⋆(λ,μ)/20\leq\mu\leq\mu_{\star}(\lambda,\mu)/2,

Part II: Bounding errors in function values.

We next proceed to bounding ∣Fn(λ,μ;Q)−F0(λ,μ⋆(λ,μ);Q)∣|\mathscr{F}_{n}(\lambda,\mu;{\bm{Q}})-\mathscr{F}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{Q}})| for a p.s.d. matrix Q{\bm{Q}}, which appears in Eqs. (37) and (38). Recall that Fi(λ,μ;Q)=λRi(λ,μ;Q)\mathscr{F}_{i}(\lambda,\mu;{\bm{Q}})=\lambda\mathscr{R}_{i}(\lambda,\mu;{\bm{Q}}).

The next theorem bounds ∣Rn(λ,μ;Q)−R0(λ,μ⋆(λ,μ);Q)∣|\mathscr{R}_{n}(\lambda,\mu;{\bm{Q}})-\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{Q}})| and is the most importan technical step in the proof of our main theorems. Its proof is outlined in Section 7, with several technical lemmas deferred to the appendices

Introduce the shorthand R0(Q):=R0(λ,μ⋆(λ,μ);Q)\mathsf{R}_{0}({\bm{Q}}):=\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{Q}}). Under Assumption 1, for any λ>0,μ≥0\lambda>0,\mu\geq 0, p.s.d. matrix Q{\bm{Q}} with ∥Q∥=1\|{\bm{Q}}\|=1 and positive integer DD, there exists constants η=η(Cx)∈(0,1/2)\eta=\eta(\mathsf{C}_{{\bm{x}}})\in(0,1/2), Cα=Cα(Cx,D)>0\mathsf{C}_{\alpha}=\mathsf{C}_{\alpha}(\mathsf{C}_{{\bm{x}}},D)>0, Cβ=Cβ(Cx,D)>0\mathsf{C}_{\beta}=\mathsf{C}_{\beta}(\mathsf{C}_{{\bm{x}}},D)>0 and Cγ=Cγ(Cx,D)\mathsf{C}_{\gamma}=\mathsf{C}_{\gamma}(\mathsf{C}_{{\bm{x}}},D) such that for

if α1≤R0(I)/8\alpha_{1}\leq\mathsf{R}_{0}({\bm{I}})/8, β1≤R0(Q)/64\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/64, γβ2(1+R0(I))≤1/64\gamma\beta_{2}(1+\mathsf{R}_{0}({\bm{I}}))\leq 1/64 and n−D=O(α1/(1+R0(I)))n^{-D}=\mathcal{O}(\alpha_{1}/(1+\mathsf{R}_{0}({\bm{I}}))), for all n=ΩD(1)n=\Omega_{D}(1) with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) we have

Let us emphasize that this theorem holds under weaker assumptions than Theorem 1, but the error bounds it provides are quite implicit. We can obtain more explicit bounds by imposing the assumptions of Theorem 1. We first define the generalized version of ρ(λ)\rho(\lambda) in Eq. (23) for any p.s.d. matrix Q{\bm{Q}} as

The proof of this corollary is given in Appendix C.6.

Under Assumption 1, for any positive integers kk, DD and p.s.d. matrix Q{\bm{Q}} with ∥Q∥=1\|{\bm{Q}}\|=1, there exist constants η=η(Cx)∈(0,1/2)\eta=\eta(\mathsf{C}_{{\bm{x}}})\in(0,1/2) and C=C(Cx,D)>0\mathsf{C}=\mathsf{C}(\mathsf{C}_{{\bm{x}}},D)>0, such that the following hold. Define χn(λ),κ,ρ(λ)\chi_{n}(\lambda),{\kappa},\rho(\lambda) as per Eqs. (20), (21), (39) (those quantities are defined for μ=0\mu=0). If it holds that μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0), and

we then have for all n=ΩD(1)n=\Omega_{D}(1) with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) that

To further simplify the assumption μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0) in Corollary 6.5, the next lemma will be helpful. We defer its proof to Appendix B.5.

For any fixed λ>0\lambda>0, the function μ⋆(λ,μ)\mu_{\star}(\lambda,\mu) is increasing in μ\mu for all μ≥0\mu\geq 0. Assuming Eq. (21), if 0≤μ≤nκ3/20\leq\mu\leq n{\kappa}^{3}/2, then

Part III: Approximation error for variance.

We are now ready to combine our results in Part I and Part II to obtain approximation errors ∣VX−Vn∣|\mathscr{V}_{\bm{X}}-\mathsf{V}_{n}| and ∣BX−Bn∣|\mathscr{B}_{\bm{X}}-\mathsf{B}_{n}|. For the variance, we want to take δ\delta in Eq. (37) such that kδ≤λk\delta\leq\lambda. In this case, [λ,λ+kδ]⊂[λ,2λ][\lambda,\lambda+k\delta]\subset[\lambda,2\lambda]. Note that λ⋆(λ)\lambda_{\star}(\lambda) is an increasing function of λ\lambda. Further, by

we know λ↦μ⋆(λ,0)=λ/λ⋆\lambda\mapsto\mu_{\star}(\lambda,0)=\lambda/\lambda_{\star} is an increasing function. Therefore λ/λ⋆(λ)≤2λ/λ⋆(2λ)\lambda/\lambda_{\star}(\lambda)\leq 2\lambda/\lambda_{\star}(2\lambda), which implies λ⋆(λ)≤λ⋆(2λ)≤2λ⋆(λ)\lambda_{\star}(\lambda)\leq\lambda_{\star}(2\lambda)\leq 2\lambda_{\star}(\lambda). For λ\lambda that satisfies Eq. (21), this guarantees that for any λ′∈[λ,2λ]\lambda^{\prime}\in[\lambda,2\lambda],

Hence, for any λ′∈[λ,2λ]\lambda^{\prime}\in[\lambda,2\lambda], Eq. (21) still holds but with constant κ′≥κ/2{\kappa}^{\prime}\geq{\kappa}/2. Therefore, we can apply Corollary 6.5 for any λ′∈[λ,2λ]\lambda^{\prime}\in[\lambda,2\lambda] for Q=I{\bm{Q}}={\bm{I}} and μ=0\mu=0, provided the following conditions hold

where the last equality used the fact that ρ(λ′)=1\rho(\lambda^{\prime})=1 when Q=I{\bm{Q}}={\bm{I}}. Finally, setting C′:=2−4.5C\mathsf{C}^{\prime}:=2^{-4.5}\mathsf{C} and using the fact that χn(λ′)\chi_{n}(\lambda^{\prime}) is decreasing in λ\lambda, it suffices to require

which holds by the theorem’s assumptions.

Hence, we can now apply Corollary 6.5 with Q=I{\bm{Q}}={\bm{I}}, and it follows that with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}),

where in the last inequality we use that R0(λ,μ⋆(λ,0);I)=n/μ⋆(λ,0)−1\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,0);{\bm{I}})=n/\mu_{\star}(\lambda,0)-1 is a decreasing function in λ\lambda as μ⋆(λ,0)\mu_{\star}(\lambda,0) is increasing in λ\lambda. Next by Lemmas 6.3 and 6.4 we obtain

where in (i) we use again that Rn(λ,μ;I)\mathscr{R}_{n}(\lambda,\mu;{\bm{I}}) and R0(λ,μ⋆(λ,0);I)\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,0);{\bm{I}}) are decreasing in λ\lambda and in (ii) we apply Corollary 6.5. Substituting the above displays into Eq. (37), we have

We therefore have, by Lemma 6.1, τ2F0(λ,μ⋆(λ,0);I)≤λκ−1Vn(λ)\tau^{2}\mathscr{F}_{0}(\lambda,\mu_{\star}(\lambda,0);{\bm{I}})\leq\lambda{\kappa}^{-1}\mathsf{V}_{n}(\lambda). Substituting in Eq. (41), we obtain

By setting δ=λκ2n−1/k\delta=\lambda{\kappa}^{2}n^{-1/k}, the condition δk≤λ\delta k\leq\lambda is satisfied for all n=Ωk(1)n=\Omega_{k}(1), which completes the proof for variance approximation with

where we use χn(λ)≥1\chi_{n}(\lambda)\geq 1 in the final bound.

Part IV: Approximation error for bias.

Note that all the terms on the right-hand side of Eq. (38) are evaluated at the same value of λ\lambda. Hence, Eq. (21) applies to each of these terms. We claim that the assumptions of Corollary 6.5 apply to all of these terms, provided the following conditions hold

Indeed, condition (42) implies μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0) for all μ∈[0,kδ]\mu\in[0,k\delta] since μ↦μ⋆(λ,μ)\mu\mapsto\mu_{\star}(\lambda,\mu) is monotone decreasing; finally, condition (43) is independent of μ\mu.

then we can apply Lemmas 6.3 and 6.4 and invoke Corollary 6.5 with Q=θθT{\bm{Q}}={\bm{\theta}}{\bm{\theta}}^{\sf T}. To be specific, by Corollary 6.5, we have with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}),

as F0(λ,μ⋆(λ,μ);θθT)\mathscr{F}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{\theta}}{\bm{\theta}}^{\sf T}) decreases with μ\mu. By Lemmas 6.3 and 6.4 we obtain

where in the bound (i) we use the fact that μ⋆(λ,μ)\mu_{\star}(\lambda,\mu) is increasing in μ\mu (cf. Lemma 6.6) and Fk(λ,μ;Q)\mathscr{F}_{k}(\lambda,\mu;{\bm{Q}}) is decreasing in μ\mu when μ≥0\mu\geq 0; in (ii) we use that μ⋆(λ,0)=λ/λ⋆\mu_{\star}(\lambda,0)=\lambda/\lambda_{\star}. Combining the calculations above, we have from Eq. (38)

where in the last line we used the definition of Bn(λ)\mathsf{B}_{n}(\lambda) in Eq. (7). By Eq. (21), we have

which reduces the approximation bound for bias to

We again take δ=λκ2n−1k\delta=\lambda{\kappa}^{2}n^{-\frac{1}{k}} and the bound becomes

This bounds hold under the conditions (42) to (43), which are implied by the following:

For the first condition, we invoke Lemma 6.6 to obtain a sufficient requirement λkn−1k≤nκ/2\lambda kn^{-\frac{1}{k}}\leq n{\kappa}/2. For the last condition, it suffices to have χn(λ)3log⁡2n≤C′nκ4.5ρ(λ)\chi_{n}(\lambda)^{3}\log^{2}n\leq\mathsf{C}^{\prime}n{\kappa}^{4.5}\sqrt{\rho(\lambda)} for the same C′\mathsf{C}^{\prime} defined in Part III.

Proof of Theorem 5

The proof is based on the following interpolating construction. We will construct a sequence of random variables μi∈Fi−1\mu_{i}\in\mathcal{F}_{i-1} for i=0,1,⋯ ,n+1i=0,1,\cdots,n+1 (where, by convention, F−1=F0\mathcal{F}_{-1}=\mathcal{F}_{0} is the trivial σ\sigma-algebra) such that, defining

we obtain that Ri(Q)\mathsf{R}_{i}({\bm{Q}}) is approximately a martingale and, as a consequence, R0(Q)≈Rn(Q)\mathsf{R}_{0}({\bm{Q}})\approx\mathsf{R}_{n}({\bm{Q}}). We will further have μ0=μ⋆(λ,μ)\mu_{0}=\mu_{\star}(\lambda,\mu) and μn≈μ\mu_{n}\approx\mu, asd therefore we obtain the desired claim R0(λ,μ⋆(λ,μ);Q)≈Rn(λ,μ;Q)\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{Q}})\approx\mathscr{R}_{n}(\lambda,\mu;{\bm{Q}}).

Before formally defining the sequence {μ0,⋯ ,μn+1}\{\mu_{0},\cdots,\mu_{n+1}\}, we introduce some helpful notations. We first define the matrices Ai,Bi∈Fi{\bm{A}}_{i},{\bm{B}}_{i}\in\mathcal{F}_{i} for 0≤i≤n0\leq i\leq n as

Then we can write Ri(Q)=Tr(QAi)\mathsf{R}_{i}({\bm{Q}})={\rm{Tr}}\left({{\bm{Q}}{\bm{A}}_{i}}\right). Similarly we define another sequence of functions by Si(Q):=Tr(QBi)\mathsf{S}_{i}({\bm{Q}}):={\rm{Tr}}\left({{\bm{Q}}{\bm{B}}_{i}}\right).

Now we are ready to define the sequence μi∈Fi−1\mu_{i}\in\mathcal{F}_{i-1}. We set the initial value μ0=μ⋆(λ,μ)∈F−1\mu_{0}=\mu_{\star}(\lambda,\mu)\in\mathcal{F}_{-1} and thus R0(Q)=R0(λ,μ⋆(λ,μ);Q)\mathsf{R}_{0}({\bm{Q}})=\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{Q}}). The sequence (μj)j≥1(\mu_{j})_{j\geq 1} is iteratively determined through the following equation

It is evident that if the solution μi+1\mu_{i+1} exists and is unique (almost surely with respect to the random choice of μi\mu_{i}), since μi∈Fi−1\mu_{i}\in\mathcal{F}_{i-1} and Xi∈Fi{\bm{X}}_{i}\in\mathcal{F}_{i}, it follows that μi+1∈Fi\mu_{i+1}\in\mathcal{F}_{i}. The next lemma shows that the iteration via (46) is indeed well-defined. Its proof is in Appendix C.1.

There exists a unique strictly decreasing sequence μ0>μ1>μ2>⋯>μn>μn+1\mu_{0}>\mu_{1}>\mu_{2}>\cdots>\mu_{n}>\mu_{n+1} satisfying the update rule (46).

Part II: Approximation to a martingale.

We next explain what is the rationale for the iterative definition of Eq. (46), and how it will help us prove the theorem claim.

Since we want to upper bound ∣Rn(Q)−R0(Q)∣|\mathsf{R}_{n}({\bm{Q}})-\mathsf{R}_{0}({\bm{Q}})|, it makes sense to compute the difference Ri(Q)−Ri−1(Q)\mathsf{R}_{i}({\bm{Q}})-\mathsf{R}_{i-1}({\bm{Q}}),

Using rgw definitions in Eqs. (45a) and (45b), we can further expand (I) by Sherman-Morrison formula

which recovers the iteration in Eq. (46).

Part III: Proof via stopping times.

We next make the previous argument rigorous. For any scalars α1,α2,β1,β2,γ>0\alpha_{1},\alpha_{2},\beta_{1},\beta_{2},\gamma>0 (in what follows, we’ll use the notation Δ:=(α1,α2,β1,β2,γ)\Delta:=(\alpha_{1},\alpha_{2},\beta_{1},\beta_{2},\gamma)) we consider the events

where μ‾i+1=μ⋅(i+1)/n+μ⋆(λ,μ)⋅(1−(i+1)/n)\overline{\mu}_{i+1}=\mu\cdot(i+1)/n+\mu_{\star}(\lambda,\mu)\cdot(1-(i+1)/n) is nonrandom. In particular we set E0(Q)=ΩE_{0}({\bm{Q}})=\Omega so that Ei(Q)E_{i}({\bm{Q}}) and Fi(Q)F_{i}({\bm{Q}}) are well-defined for 0≤i≤n0\leq i\leq n. It follows then Ei(Q),Fi(Q)∈FiE_{i}({\bm{Q}}),F_{i}({\bm{Q}})\in\mathcal{F}_{i}. Next we can proceed to define two stopping times via

for k=0,1,⋯ ,nk=0,1,\cdots,n, with TE(Q),TF(Q)∈{0,1,⋯ ,n+1}T_{E}({\bm{Q}}),T_{F}({\bm{Q}})\in\{0,1,\cdots,n+1\}. One can easily check that TE(Q)T_{E}({\bm{Q}}) and TF(Q)T_{F}({\bm{Q}}) are indeed stopping times since the sets in the above displays are in Fk\mathcal{F}_{k}, and another immediate consequence is that TE(Q)≥TF(Q)T_{E}({\bm{Q}})\geq T_{F}({\bm{Q}}). These stopping times are helpful since the event {TF(Q)=n+1}\{T_{F}({\bm{Q}})=n+1\} implies

We are left with the task of bounding the two terms pk,k(TF,TF,Q)−pk+1,k(TE,TF,Q)p_{k,k}(T_{F},T_{F},{\bm{Q}})-p_{k+1,k}(T_{E},T_{F},{\bm{Q}}) and pk,k(TE,TE,Q)−pk,k(TF,TE,Q)p_{k,k}(T_{E},T_{E},{\bm{Q}})-p_{k,k}(T_{F},T_{E},{\bm{Q}}) for any p.s.d. Q{\bm{Q}}, and showing that they are small. Before doing this, we show that, by appropriately choosing γ\gamma, we have ∥Ai∥≤γ\|{\bm{A}}_{i}\|\leq\gamma and ∥Bi∥≤γ\|{\bm{B}}_{i}\|\leq\gamma with high probability. The proof of the next lemma is in Appendix C.2.

Under Assumption 1, for any positive integer DD, there exists a fixed η=η(Cx)∈(0,1/2)\eta=\eta(\mathsf{C}_{{\bm{x}}})\in(0,1/2), such that for all n=ΩD(1)n=\Omega_{D}(1), it holds with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) that

additionally, under the same notations of Proposition 2.2, letting θ≤k:=∑i≤k⟨θ,vi⟩vi{\bm{\theta}}_{\leq k}:=\sum_{i\leq k}\langle{\bm{\theta}},{\bm{v}}_{i}\rangle{\bm{v}}_{i} and θ>k:=θ−θ≤k{\bm{\theta}}_{>k}:={\bm{\theta}}-{\bm{\theta}}_{\leq k}, we have for all λ>0\lambda>0,

The next lemma—upper bounding the first term (I)—uses Hanson-Wright inequality to show concentration for events Ei(Q)E_{i}({\bm{Q}}) in (48a). A proof is in Appendix C.3.

Under Assumption 1, choose β1,β2\beta_{1},\beta_{2} in Eq. (48b) so that β1≤R0(Q)/4\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/4 and β2≤μ/2\beta_{2}\leq\mu/2. Then for any positive integer DD, there exists constants η=η(Cx)∈(0,1/2)\eta=\eta(\mathsf{C}_{{\bm{x}}})\in(0,1/2), Cα=Cα(Cx,D)\mathsf{C}_{\alpha}=\mathsf{C}_{\alpha}(\mathsf{C}_{{\bm{x}}},D) and Cγ=Cγ(Cx,D)\mathsf{C}_{\gamma}=\mathsf{C}_{\gamma}(\mathsf{C}_{{\bm{x}}},D) such that if we take

We then proceed to bound the term pk,k(TE,TE,Q)−pk,k(TF,TE,Q)p_{k,k}(T_{E},T_{E},{\bm{Q}})-p_{k,k}(T_{F},T_{E},{\bm{Q}}). The proof of the next lemma is in Appendix C.4.

Under Assumption 1, for any positive integer DD, there exists a constant Cβ=Cβ(Cx,D)>0\mathsf{C}_{\beta}=\mathsf{C}_{\beta}(\mathsf{C}_{{\bm{x}}},D)>0 such that the following holds. Consider α1,α2,γ\alpha_{1},\alpha_{2},\gamma as defined in Lemma 7.3, and set β1,β2\beta_{1},\beta_{2} by

If α1≤R0(I)/4\alpha_{1}\leq\mathsf{R}_{0}({\bm{I}})/4, β1≤R0(Q)/4\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/4, β2≤μ/2\beta_{2}\leq\mu/2 and n−D=O(α1/(1+R0(I)))n^{-D}=\mathcal{O}\left({\alpha_{1}/\left({1+\mathsf{R}_{0}({\bm{I}})}\right)}\right), then for all 1≤k≤n+11\leq k\leq n+1 and n=ΩD(1)n=\Omega_{D}(1),

Applying Lemmas 7.3 and 7.4 to Eq. (50) (note that we can take Q=I{\bm{Q}}={\bm{I}}), we have shown that

which implies by choosing the parameter Δ\Delta given by the above lemmas, with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1})

Therefore, since μ‾n=μ\overline{\mu}_{n}=\mu, μ0=μ⋆(λ,μ)\mu_{0}=\mu_{\star}(\lambda,\mu), and recalling the definition of Rk(Q)\mathsf{R}_{k}({\bm{Q}}), cf. Eq. (44), we have

where in (ii) we used Lemma 7.2; in (iii) we used the fact that β1≤R0(Q)/4\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/4 by assumption. We explain the inequality in (i) more carefully as it is less evident. Denoting by B=Σ12(λI+μΣ+XTX)−1Σ12{\bm{B}}={\bm{\Sigma}}^{\frac{1}{2}}(\lambda{\bm{I}}+\mu{\bm{\Sigma}}+{\bm{X}}^{\sf T}{\bm{X}})^{-1}{\bm{\Sigma}}^{\frac{1}{2}}, we first show B{\bm{B}} and An{\bm{A}}_{n} commute. Clearly commutativity holds if μ=μn\mu=\mu_{n}, otherwise we have

Noting that B{\bm{B}} and An{\bm{A}}_{n} are both p.s.d. compact self-adjoint operators in Hilbert space, commutativity implies they can be simultaneously orthogonally diagonalized and that B12{\bm{B}}^{\frac{1}{2}} and An12{\bm{A}}_{n}^{\frac{1}{2}} also commute. Consequently, combined with the fact that Tr(AnC)≤∥An∥Tr(C){\rm{Tr}}({\bm{A}}_{n}{\bm{C}})\leq\|{\bm{A}}_{n}\|{\rm{Tr}}({\bm{C}}) for any p.s.d. matrix C{\bm{C}}, we have (i) from

We therefore proved the following. If β1≤R0(Q)/4\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/4 and n−D=O(α1/(1+R0(I)))n^{-D}=\mathcal{O}\left({\alpha_{1}/\left({1+\mathsf{R}_{0}({\bm{I}})}\right)}\right), then

To remove the condition β2≤μ/2\beta_{2}\leq\mu/2, we use the following estimate, proven in Appendix C.5.

Under Assumption 1, consider the parameter tuple Δ=(α1,α2,β1,β2,γ)\Delta=(\alpha_{1},\alpha_{2},\beta_{1},\beta_{2},\gamma) defined in Lemmas 7.3 and 7.4. If α1≤R0(I)/8\alpha_{1}\leq\mathsf{R}_{0}({\bm{I}})/8, β1≤R0(Q)/64\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/64, γβ2(1+R0(I))≤1/64\gamma\beta_{2}(1+\mathsf{R}_{0}({\bm{I}}))\leq 1/64, n−D=O(α1/(1+R0(I)))n^{-D}=\mathcal{O}(\alpha_{1}/(1+\mathsf{R}_{0}({\bm{I}}))) and β2>μ/2\beta_{2}>\mu/2, then we have

Combining Eqs. (51) and (52), the proof is complete.

Acknowledgements

This work was supported by the NSF through award DMS-2031883, the Simons Foundation through Award 814639 for the Collaboration on the Theoretical Foundations of Deep Learning, the NSF grant CCF-2006489, the ONR grant N00014-18-1-2729, and a grant from Eric and Wendy Schmidt at the Institute for Advanced Studies. C. Cheng is supported by the William R. Hewlett Stanford graduate fellowship.

Part of this work was carried out while A. Montanari was on partial leave from Stanford and a Chief Scientist at Ndata Inc dba Project N. The present research is unrelated to A. Montanari’s activity while on leave.

References

Appendix A Proof of Proposition 2.2

Since σk⋆≥λ⋆≥σk⋆+1\sigma_{k_{\star}}\geq\lambda_{\star}\geq\sigma_{k_{\star}+1}, we have

Next we bound Vn(λ)\mathsf{V}_{n}(\lambda). Recalling that Tr(Σ2(Σ+λ⋆I)−2)≤n(1−c⋆−1){\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)\leq n(1-c_{\star}^{-1}), it then follows

where in (i) we use the previous bound r1(k⋆)≤2bk⋆nr_{1}(k_{\star})\leq 2b_{k_{\star}}n. Finally, for the bias term, we have

Appendix B Auxiliary lemmas

First we verify that μ⋆(λ,0)=λ/λ⋆\mu_{\star}(\lambda,0)=\lambda/\lambda_{\star}. Set μ=0\mu=0 in Eq. (36), we obtain

which proves the claim comparing to Eq. (5). Further by (36), we can compute the derivatives

where in (i) we use Eq. (5) which implies μ⋆=n−Tr(Σ(Σ+λ⋆I)−1)\mu_{\star}=n-{\rm{Tr}}\left({{\bm{\Sigma}}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-1}}\right). For the bias we can compute

B.2 Proof of Lemma 6.2

The lemma is an analogue of [HMRT22, Lemma. 5], which requires two-sided differentiability around and makes use of higher order central difference operators from numerical analysis. Here we apply a more straightforward argument. For any 0≤j≤k0\leq j\leq k, by Taylor expansion with Lagrange remainder, we can write

for some tj∈[0,jδ]t_{j}\in[0,j\delta]. We can write the k+1k+1 equations in matrix form,

The Vandermonde matrix Vk{\bm{V}}_{k} is invertible, and therefore we can write

Dividing δ\delta from both sides completes the proof.

B.3 Proof of Lemma 6.3

we can easily write out derivatives with respect to λ\lambda up to any order k≥1k\geq 1 as

Part II: Derivative w.r.t. μ𝜇\mu.

where in (i) we use ∥Σ∥=1\left\|{{\bm{\Sigma}}}\right\|=1.

B.4 Proof of Lemma 6.4

Combining with the fixed-point equation (5) that determines λ⋆\lambda_{\star}, we further get

and it boils down to controlling higher order derivatives of λ⋆\lambda_{\star} w.r.t. λ\lambda. Of course, we need to first show that we can actually write λ⋆=λ⋆(λ)\lambda_{\star}=\lambda_{\star}(\lambda) locally by implicit function theorem. Since

which is clearly a increasing function of λ⋆\lambda_{\star} on the right hand side, and thus ∂λ/∂λ⋆>0\partial\lambda/\partial\lambda_{\star}>0 and the implicit function theorem applies. To calculate the higher order derivative of the inverse function, we apply the formula for higher order derivatives of inverse function [Apo00]

To further upper bound the above display, we need a lower bound for the derivative ∂λ/∂λ⋆\partial\lambda/\partial\lambda_{\star} and upper bounds for higher order derivatives ∂lλ/∂λ⋆l\partial^{l}\lambda/\partial\lambda_{\star}^{l}. Using the Leibniz rule, we can compute that

we have nκ≤∂λ/∂λ⋆≤nn{\kappa}\leq\partial\lambda/\partial\lambda_{\star}\leq n. When l≥2l\geq 2, we get

Substituting the above displays into Eq. (55) yields

Taken collectively with Eq. (54) and F0(λ,μ⋆(λ,0);I)=λ⋆Tr(Σ(Σ+λ⋆I)−1)≥κnλ⋆\mathscr{F}_{0}(\lambda,\mu_{\star}(\lambda,0);{\bm{I}})=\lambda_{\star}{\rm{Tr}}\left({{\bm{\Sigma}}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-1}}\right)\geq{\kappa}n\lambda_{\star}, we obtain for all k≥2k\geq 2,

where we use Assumption (21) again for the final bound. This is also valid for k=1k=1 as

where we use F0(λ,μ⋆(λ,0);I)/λ=nλ⋆/λ−1\mathscr{F}_{0}(\lambda,\mu_{\star}(\lambda,0);{\bm{I}})/\lambda=n\lambda_{\star}/\lambda-1 and

Part II: Derivative w.r.t. μ𝜇\mu.

Now we fix λ\lambda and allow μ\mu be take nonzero values. We will also use the shorthand μ⋆=μ⋆(λ,μ)\mu_{\star}=\mu_{\star}(\lambda,\mu). Similar to the previous part, we apply Faà di Bruno’s formula to F0\mathscr{F}_{0} and bound

To bound higher order derivatives ∂lμ⋆/∂μl\partial^{l}\mu_{\star}/\partial\mu^{l}, we apply again the formula for higher order derivatives of inverse function. Of course, this would first require showing the existence of inverse function by implicit function theorem, which will be evident as we will provide a lower bound for ∣∂μ/∂μ⋆∣|\partial\mu/\partial\mu_{\star}| below. By [Apo00], we have for all 1≤l≤k−11\leq l\leq k-1,

This is a more manageable formula as we can explicitly write μ\mu as a function of μ⋆\mu_{\star}

We can compute the first order derivative as

which, together with 0≤μ≤μ⋆/20\leq\mu\leq\mu_{\star}/2, implies a lower bound

To further bound higher order derivatives, we again appeal to Faà di Bruno’s formula. Use the shorthand R0=R0(λ,μ⋆;I)\mathscr{R}_{0}=\mathscr{R}_{0}(\lambda,\mu_{\star};{\bm{I}}), we have for all r≥1r\geq 1,

Taking the above displays into Eq. (57) and use the condition μ⋆/n≥κ\mu_{\star}/n\geq{\kappa}, we have

Finally, taking the above display back into Eq. (56) yields

B.5 Proof of Lemma 6.6

First we show μ⋆(λ,μ)\mu_{\star}(\lambda,\mu) is increasing in μ\mu when μ≥0\mu\geq 0. To this end, we consider the function

By Eq. (36), we have f(μ⋆(λ,μ))=μf(\mu_{\star}(\lambda,\mu))=\mu for all μ≥0\mu\geq 0. Further, we prove f(t)f(t) is increasing in [μ⋆(λ,0),∞)[\mu_{\star}(\lambda,0),\infty). We write

where in (i) we use that t−f(t)=n/(1+R0(λ,t;I))t-f(t)=n/(1+\mathscr{R}_{0}(\lambda,t;{\bm{I}})). Define

and therefore e−g(t)f(t)e^{-g(t)}f(t) is increasing. As f(μ⋆(λ,0))=0f(\mu_{\star}(\lambda,0))=0 (cf. Eq. (36)), we must have f(t)≥0f(t)\geq 0 for all t≥μ⋆(λ,0)t\geq\mu_{\star}(\lambda,0). Substituting back into the above display with g(t)≥0g(t)\geq 0 yields

We then proceed to show a sufficient condition for μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0) is 0≤μ≤nκ3/20\leq\mu\leq n{\kappa}^{3}/2 under Assumption (21). Provided with monotonicity of f(t)f(t), the desired condition μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0) is essentially equivalent to μ=f(μ⋆(λ,μ))≤f((1−κ/2)−1μ⋆(λ,0))\mu=f(\mu_{\star}(\lambda,\mu))\leq f((1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0)). Together with μ⋆(λ,0)=n/(1+R0(λ,μ⋆(λ,0);I))\mu_{\star}(\lambda,0)=n/(1+\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,0);{\bm{I}})), we obtain a lower bound for the right hand side

where in (i) and (ii) we use two times the trivial bound 1−κ/2≤11-{\kappa}/2\leq 1. By Assumption (21),

and thus a sufficient condition for μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0) is μ≤nκ3/2\mu\leq n{\kappa}^{3}/2.

Appendix C Proofs for Theorem 5

which implies μ‾i≥−(λ+∥Xiφ∥2)/∥Σ∥>−∞\overline{\mu}_{i}\geq-(\lambda+\left\|{{\bm{X}}_{i}{\bm{\varphi}}}\right\|^{2})/\left\|{{\bm{\Sigma}}}\right\|>-\infty. The update rule is equivalent to solving the equation

For all t∈(μ‾i,∞)t\in(\overline{\mu}_{i},\infty), let

In this given domain, Σ12(λI+tΣ+XiTXi)−1Σ12≻0{\bm{\Sigma}}^{\frac{1}{2}}\left({\lambda{\bm{I}}+t{\bm{\Sigma}}+{\bm{X}}_{i}^{\sf T}{\bm{X}}_{i}}\right)^{-1}{\bm{\Sigma}}^{\frac{1}{2}}\succ 0 and thus Tr(Σ(λI+tΣ+XiTXi)−1){\rm{Tr}}\left({{\bm{\Sigma}}\left({\lambda{\bm{I}}+t{\bm{\Sigma}}+{\bm{X}}_{i}^{\sf T}{\bm{X}}_{i}}\right)^{-1}}\right) is decreasing in tt (this can be seen by computing its derivative with respect to tt), which further implies f(t)f(t) is strictly increasing in tt. Since

(The first inequality follows since μi∈(μ‾i−1,∞)\mu_{i}\in(\overline{\mu}_{i-1},\infty) and μ‾i≤μ‾i−1\overline{\mu}_{i}\leq\overline{\mu}_{i-1}.) Thus, there must be a unique μi+1∈(μ‾i,μi)\mu_{i+1}\in(\overline{\mu}_{i},\mu_{i}) that solves f(μi+1)=μif(\mu_{i+1})=\mu_{i}, proving the lemma.

C.2 Proof of Lemma 7.2

when σk=0\sigma_{k}=0. We write the spectral decomposition of Σ{\bm{\Sigma}} as

with σ1≥σ2≥⋯≥σn≥⋯\sigma_{1}\geq\sigma_{2}\geq\cdots\geq\sigma_{n}\geq\cdots where {vi}\left\{{{\bm{v}}_{i}}\right\} form an orthogonal basis of eigenvectors. For any k≤nk\leq n, define the projection operators

By writing X=Uk+Wk{\bm{X}}={\bm{U}}_{k}+{\bm{W}}_{k}, we can have the following inequality:

To apply the above lemma, we need to further provide an upper bound on ∥WkTWk∥\|{\bm{W}}_{k}^{\sf T}{\bm{W}}_{k}\|, which we summarize as the following result.

Let Assumption 1 holds, we have for any 1≤k≤n−11\leq k\leq n-1 with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) that,

Since ∥ζi∥=∥Pk⊥xi∥2\left\|{\bm{\zeta}_{i}}\right\|=\left\|{\bm{P}_{k}^{\perp}{\bm{x}}_{i}}\right\|^{2}, we can apply Hanson-Wright inequality (cf. Lemma 2.1) and conclude that

For t=ΘCx,D(∥Σ12Pk⊥Σ12∥Flog⁡n)t=\Theta_{\mathsf{C}_{{\bm{x}}},D}(\|{\bm{\Sigma}}^{\frac{1}{2}}\bm{P}_{k}^{\perp}{\bm{\Sigma}}^{\frac{1}{2}}\|_{F}\log n) we have with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) that for all i=1,2,⋯ ,ni=1,2,\cdots,n

where the last inequality follows from ∥Σ∥=1\left\|{{\bm{\Sigma}}}\right\|=1 and

we can thus deduce from the Bernstein inequality with intrinsic dimension [T+15, Theorem 7.3.1] that for t≥vk+Lk/3t\geq\sqrt{v_{k}}+L_{k}/3

we can obtain with probability 1−O(n−D)1-\mathcal{O}(n^{-D}),

where in (i) we make use of vk=nσkLkv_{k}=n\sigma_{k}L_{k}, and apply Assumption 1 for the spectrum in (ii). Next by the fact that dΣ≥n\mathsf{d}_{{\bm{\Sigma}}}\geq n, we can further write

To bound the norm of Σ12(λI+XTX)−1Σ12{\bm{\Sigma}}^{\frac{1}{2}}\left({\lambda{\bm{I}}+{\bm{X}}^{\sf T}{\bm{X}}}\right)^{-1}{\bm{\Sigma}}^{\frac{1}{2}}, we apply Lemmas C.1 and C.2 and obtain

Therefore by block matrix inverse, we can further get

Substituting θ=Σ−1/2β{\bm{\theta}}={\bm{\Sigma}}^{-1/2}{\bm{\beta}} into Eq. (58), we also obtain

Therefore, if we choose k=⌊ηn⌋k=\lfloor\eta n\rfloor for some fixed η\eta such that OCx(η)≤1/4\mathcal{O}_{\mathsf{C}_{{\bm{x}}}}(\sqrt{\eta})\leq 1/4, it holds for n=ΩD(1)n=\Omega_{D}(1) that

and we therefore conclude the proof by taking k=⌊ηn⌋k=\lfloor\eta n\rfloor as above and substituting into Eq. (59)

where in the last line we use the fact that dΣ≥n\mathsf{d}_{{\bm{\Sigma}}}\geq n and therefore σk=O(dΣσk⋅log⁡nlog⁡(dΣn)/n)\sigma_{k}=\mathcal{O}(\mathsf{d}_{{\bm{\Sigma}}}\sigma_{k}\cdot\log n\log(\mathsf{d}_{{\bm{\Sigma}}}n)/n).

where in the last line we use the fact that for all k+1≤i≤nk+1\leq i\leq n,

C.3 Proof of Lemma 7.3

We apply Hanson-Wright inequality in Lemma 2.1 and get

In particular, on the event {TF(Q)≥k,TF(I)≥k}\{T_{F}({\bm{Q}})\geq k,T_{F}({\bm{I}})\geq k\}, we have

Substituting the above bounds into the Hanson-Wright inequalities, we have conditioning on Hk:={TF(Q)≥k,TF(I)≥k}H_{k}:=\{T_{F}({\bm{Q}})\geq k,T_{F}({\bm{I}})\geq k\} for some constant C=C(Cx,D)\mathsf{C}=\mathsf{C}(\mathsf{C}_{{\bm{x}}},D) that

and therefore it holds with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) that

The Hanson-Wright inequalities also give the following upper bounds on the expectations conditioning on the tail event when ∥Bk−1∥≤γ\|{\bm{B}}_{k-1}\|\leq\gamma. In particular, we would have

To finish the proof, we now only need to show ∥Ak∥≤γ\left\|{{\bm{A}}_{k}}\right\|\leq\gamma holds with probability 1−O(n−D)1-\mathcal{O}(n^{-D}). We provide upper bounds for small k≤n/2k\leq n/2 and large k>n/2k>n/2 separately. Under the assumption β2≤μ/2\beta_{2}\leq\mu/2, we make use of the fact that Hk⊂Fk−1(Q)H_{k}\subset F_{k-1}({\bm{Q}}) which enables us to derive

which in particular implies for k≤n/2k\leq n/2 that

On the other hand, if k>n/2k>n/2, we can still deduce from Eq. (62) that μk≥μ/2>0\mu_{k}\geq\mu/2>0 and thus

Applying Lemma 7.2, we obtain with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) for all k>n/2k>n/2,

for some η=η(Cx)\eta=\eta(\mathsf{C}_{{\bm{x}}}). Combine with the trivial bound ∥Ak∥≤1/λ\|{\bm{A}}_{k}\|\leq 1/\lambda, we conclude that ∥Ak∥≤γ\|{\bm{A}}_{k}\|\leq\gamma with probability 1−O(n−D)1-\mathcal{O}(n^{-D}), provided we take

C.4 Proof of Lemma 7.4

We therefore need to control ∣Rk−1(Q)−R0(Q)∣|\mathsf{R}_{k-1}({\bm{Q}})-\mathsf{R}_{0}({\bm{Q}})| and ∣Sk−1(Q)−R0(Q)∣|\mathsf{S}_{k-1}({\bm{Q}})-\mathsf{R}_{0}({\bm{Q}})|, as well as ∣μk−μ‾k∣|\mu_{k}-\overline{\mu}_{k}| and ∥Bk−1∥\left\|{{\bm{B}}_{k-1}}\right\|.

Recall the calculations for Eq. (47), we have

and on the event {TE(Q)≥k,TE(I)≥k}={T‾≥k}\{T_{E}({\bm{Q}})\geq k,T_{E}({\bm{I}})\geq k\}=\{\overline{T}\geq k\}, it holds

For each of the summand, we can decompose it into two parts—the martingale difference part Di(Q,T‾)D_{i}({\bm{Q}},\overline{T}) and a bias part Bi(Q,T‾)B_{i}({\bm{Q}},\overline{T})—to be specific, we can write

Since T‾\overline{T} is a stopping time, one can easily have that Di(Q,T‾)D_{i}({\bm{Q}},\overline{T}) is a martingale difference sequence for i=0,1,⋯ ,ni=0,1,\cdots,n. (We note in passing that the above decomposition is similar but does not coincide with the standard Doob decomposition. In particular Bi(Q,T‾)B_{i}({\bm{Q}},\overline{T}) is not measurable on Fi−1{\cal F}_{i-1}. We find the present decomposition more convenient.)

Part II: Controlling the martingale part.

We will show Di(Q,T‾)D_{i}({\bm{Q}},\overline{T}) is bounded and thus by concentration inequality for bounded martingale differences, we can obtain an upper bound for the sum of the Di(Q,T‾)D_{i}({\bm{Q}},\overline{T})’s. To this end, we use the fact that if for some mi−1∈Fi−1m_{i-1}\in\mathcal{F}_{i-1}

where in (i) we use {T‾≥i+1}⊂Fi−1(Q)∩Fi−1(I)=Gi−1\{\overline{T}\geq i+1\}\subset F_{i-1}({\bm{Q}})\cap F_{i-1}({\bm{I}})=G_{i-1}, and therefore

Recalling our assumptions for α1\alpha_{1}, we observe that on the event {T‾≥i+1}⊂Ei(Q)\{\overline{T}\geq i+1\}\subset E_{i}({\bm{Q}}),

and on the event {T‾≥i+1}⊂Fi−1(I)\{\overline{T}\geq i+1\}\subset F_{i-1}({\bm{I}}) and {T‾≥i+1}⊂Fi−1(Q)\{\overline{T}\geq i+1\}\subset F_{i-1}({\bm{Q}}) by assumptions on β1\beta_{1},

and finally on the event {T‾≥i+1}⊂Gi−1\{\overline{T}\geq i+1\}\subset G_{i-1} it holds

Putting together bounds in Eqs. (66), (67), (68) and making use of the fact that {T‾≥i+1}⊂Ei(Q)∩Fi−1(I)∩Fi−1(Q)\left\{{\overline{T}\geq i+1}\right\}\subset E_{i}({\bm{Q}})\cap F_{i-1}({\bm{I}})\cap F_{i-1}({\bm{Q}}) yield

Then we can apply Azuma-Hoeffding inequality and obtain

with probability 1−O(n−D)1-\mathcal{O}(n^{-D}).

Part III: Controlling the bias part.

Now we proceed to bound the bias part ∣Bi(Q,T‾)∣|B_{i}({\bm{Q}},\overline{T})| in Eq. (65). We can write an upper bound

Upper bounding the term Tr(QBi−12Ai−1){\rm{Tr}}({\bm{Q}}{\bm{B}}_{i-1}^{2}{\bm{A}}_{i-1}) requires more careful treatment. Note that Bi−1{\bm{B}}_{i-1} and Ai−1{\bm{A}}_{i-1} commute, as follows from the observation that

Since Ai−1{\bm{A}}_{i-1} and Bi−1{\bm{B}}_{i-1} are both p.s.d. compact self-adjoint operators in Hilbert space, commutativity implies they can be simultaneously orthogonally diagonalized, which further implies that Ai−112{\bm{A}}_{i-1}^{\frac{1}{2}} and Bi−112{\bm{B}}_{i-1}^{\frac{1}{2}} also commute. Therefore

where in the last inequality we use Eq. (67) on the event {T‾≥i+1}⊂Fi−1(I)\{\overline{T}\geq i+1\}\subset F_{i-1}({\bm{I}}), while {T‾≥i+1}⊂Fi−1(Q)\{\overline{T}\geq i+1\}\subset F_{i-1}({\bm{Q}}) also implies

Next to bound (II), we make use of the fact that

We again make use of the bounds in Eqs. (66), (67) and (68) on the event {T‾≥i+1}\{\overline{T}\geq i+1\}, which implies

Finally for term (IV) in Eq. (70), we can control it by

Combining the above displays, we obtain that

Substitute Eqs. (71) and (72) into Eq. (70) we have

Part IV: Combining the results.

Hence, by combining results in part III and IV, we have with probability 1−O(n−D)1-\mathcal{O}(n^{-D}) that

We can first see ∥Bk−1∥≤γ\left\|{{\bm{B}}_{k-1}}\right\|\leq\gamma holds with probability 1−O(n−D)1-\mathcal{O}(n^{-D}), which follows via exactly the same argument as in Appendix C.3 for ∥Ak∥≤γ\|{\bm{A}}_{k}\|\leq\gamma by invoking Lemma 7.2. Moreover, we have on {T‾≥k}\{\overline{T}\geq k\} that

where in (i) we apply μk−1≥μk\mu_{k-1}\geq\mu_{k} which indicates Rk−1(I)≤Sk−1(I)\mathsf{R}_{k-1}({\bm{I}})\leq\mathsf{S}_{k-1}({\bm{I}}). Therefore, by setting a constant Cβ:=Cβ(Cx,D)\mathsf{C}_{\beta}:=\mathsf{C}_{\beta}(\mathsf{C}_{{\bm{x}}},D) large enough and take

if this satisfies the assumption β1≤R0(I)/4\beta_{1}\leq\mathsf{R}_{0}({\bm{I}})/4, we can conclude that with probability 1−O(n−D)1-\mathcal{O}(n^{-D}),

which is exactly the event Fk−1(Q)F_{k-1}({\bm{Q}}) (cf. Eq. (48b)). Substituting into Eq. (63) completes the proof.

C.5 Proof of Lemma 7.5

As β2>μ/2\beta_{2}>\mu/2, we cannot directly apply Lemmas 7.3 and 7.4. We will instead use a perturbation argument, reducing ourselves to the case β2≤μ/2\beta_{2}\leq\mu/2. We will define a second sequence μi′\mu_{i}^{\prime} following the recursion Eq. (46) but with a different initialization μ0′=μ⋆(λ,μ′)\mu_{0}^{\prime}=\mu_{\star}(\lambda,\mu^{\prime}) with μ′:=64β2>μ\mu^{\prime}:=64\beta_{2}>\mu. We use the notations

and also denote by Ri′(Q)=Ri(λ,μi′;Q):=Tr(QAi′)\mathsf{R}_{i}^{\prime}({\bm{Q}})=\mathscr{R}_{i}(\lambda,\mu_{i}^{\prime};{\bm{Q}}):={\rm{Tr}}({\bm{Q}}{\bm{A}}_{i}^{\prime}). For this second iteration, we define a parameter tuple Δ′=(α1′,α2′,β1′,β2′,γ)\Delta^{\prime}=(\alpha_{1}^{\prime},\alpha_{2}^{\prime},\beta_{1}^{\prime},\beta_{2}^{\prime},\gamma) defined in Lemmas 7.3 and 7.4 as

We want to show α1′≤R0′(I)/4\alpha_{1}^{\prime}\leq\mathsf{R}_{0}^{\prime}({\bm{I}})/4, β1′≤R0′(Q)/4\beta_{1}^{\prime}\leq\mathsf{R}_{0}^{\prime}({\bm{Q}})/4, β2′≤μ′/2\beta_{2}^{\prime}\leq\mu^{\prime}/2 and n−D=O(α1′/(1+R0′(I)))n^{-D}=\mathcal{O}\left({\alpha_{1}^{\prime}/\left({1+\mathsf{R}_{0}^{\prime}({\bm{I}})}\right)}\right) so that Lemmas 7.3 and 7.4 are valid for λ,μ′\lambda,\mu^{\prime} and Δ′\Delta^{\prime}. To prove this claim, we need the following result bounding the perturbation of μ⋆\mu_{\star}.

Taking derivatives w.r.t. μ\mu on both sides of

which gives the desired bounds 0≤∂μ⋆/∂μ≤1+R0(λ,μ⋆(λ,μ);I)0\leq\partial\mu_{\star}/\partial\mu\leq 1+\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{I}}). ∎

Recalling that μ⋆(λ,μ)\mu_{\star}(\lambda,\mu) is increasing in μ\mu and therefore R0(λ,μ⋆(λ,μ);I)\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{I}}) is decreasing in μ\mu, as a direct consequence of Lemma C.3 we have

where in the last inequality we used ∥A0∥≤min⁡{1/μ⋆(λ,μ),1/λ}≤γ\|{\bm{A}}_{0}\|\leq\min\{1/\mu_{\star}(\lambda,\mu),1/\lambda\}\leq\gamma. Substituting μ′=64β2\mu^{\prime}=64\beta_{2} and using the condition γβ2(1+R0(I))≤1/64\gamma\beta_{2}(1+\mathsf{R}_{0}({\bm{I}}))\leq 1/64, it then follows that

Using the last inequalities in Eqs. (73a) to (73c), it follows immediately that

We then first see that α1≤R0(I)/8\alpha_{1}\leq\mathsf{R}_{0}({\bm{I}})/8 implies α1′≤α1≤R0′(I)/4\alpha_{1}^{\prime}\leq\alpha_{1}\leq\mathsf{R}_{0}^{\prime}({\bm{I}})/4. For β1′\beta_{1}^{\prime} and β2′\beta_{2}^{\prime}, using 1+R0′(I)k≥2−k(1+R0(I))1+\mathsf{R}_{0}^{\prime}({\bm{I}})^{k}\geq 2^{-k}(1+\mathsf{R}_{0}({\bm{I}})) with k=1,2,3k=1,2,3, we can deduce from Eqs. (73d) and (73e) that

The last inequality verifies β2′≤32β2=μ′/2\beta_{2}^{\prime}\leq 32\beta_{2}=\mu^{\prime}/2. The condition β1≤R0(Q)/64\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/64 implies β1′≤8β1≤R0(Q)/8≤R0′(Q)/4\beta_{1}^{\prime}\leq 8\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/8\leq\mathsf{R}_{0}^{\prime}({\bm{Q}})/4.

Finally we need to show n−D=O(α1′/(1+R0′(I)))n^{-D}=\mathcal{O}\left({\alpha_{1}^{\prime}/\left({1+\mathsf{R}_{0}^{\prime}({\bm{I}})}\right)}\right). From Eq. (74), we can obtain that

Recalling that γ≤2/μ⋆(λ,μ)\gamma\leq 2/\mu_{\star}(\lambda,\mu), we then know μ⋆(λ,μ′)≤3/γ\mu_{\star}(\lambda,\mu^{\prime})\leq 3/\gamma and thus

Together with R0(I)=Θ(R0′(I))\mathsf{R}_{0}({\bm{I}})=\Theta(\mathsf{R}_{0}^{\prime}({\bm{I}})), we then show α1=O(α1′)\alpha_{1}=\mathcal{O}(\alpha_{1}^{\prime}) and further that n−D=O(α1/(1+R0(I)))=O(α1′/(1+R0′(I)))n^{-D}=\mathcal{O}\left({\alpha_{1}/\left({1+\mathsf{R}_{0}({\bm{I}})}\right)}\right)=\mathcal{O}\left({\alpha_{1}^{\prime}/\left({1+\mathsf{R}_{0}^{\prime}({\bm{I}})}\right)}\right). Hence, we can apply Lemmas 7.3 and 7.4, and by Eq. (51)

In order to finish the perturbation argument, we bound

where in (i) we apply Lemma 7.2 and in the last line we use β1=O(R0(Q))\beta_{1}=\mathcal{O}(\mathsf{R}_{0}({\bm{Q}})) and γβ2=O((1+R0(I))−1)=O(1)\gamma\beta_{2}=\mathcal{O}((1+\mathsf{R}_{0}({\bm{I}}))^{-1})=\mathcal{O}(1). Similarly, invoke Lemma C.3 and we have

By triangular inequality, we deduce from Eqs. (75), (76) and (77) that

C.6 Proof of Corollary 6.5

We first derive upper bounds for the parameter Δ=(α1,α2,β1,β2,γ)\Delta=(\alpha_{1},\alpha_{2},\beta_{1},\beta_{2},\gamma) in Theorem 5. Since μ⋆(λ,0)≤μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)\mu_{\star}(\lambda,0)\leq\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0), we have

On the other hand, by Eq. (21) and the fact that μ⋆(λ,0)=λ/λ⋆\mu_{\star}(\lambda,0)=\lambda/\lambda_{\star}, we know

which implies κ/2≤R0(I)≤κ−1{\kappa}/2\leq\mathsf{R}_{0}({\bm{I}})\leq{\kappa}^{-1}. Generalizing the definition of Eq. (23) to μ>0\mu>0 and arbitrary Q{\bm{Q}}, we let ρ:=R0(Q)/R0(I)∈(0,1]\rho:=\mathsf{R}_{0}({\bm{Q}})/\mathsf{R}_{0}({\bm{I}})\in(0,1].

First we notice that dΣ≥n\mathsf{d}_{{\bm{\Sigma}}}\geq n by Assumption 1 and therefore

Since μ⋆(λ,μ)≥μ⋆(λ,0)≥nκ\mu_{\star}(\lambda,\mu)\geq\mu_{\star}(\lambda,0)\geq n{\kappa}, we can write

We know that R0(I)≤κ−1\mathsf{R}_{0}({\bm{I}})\leq{\kappa}^{-1} and R0(Q)=ρR0(I)\mathsf{R}_{0}({\bm{Q}})=\rho\mathsf{R}_{0}({\bm{I}}). As a consequence, we have

Using the bounds in the previous displays, we can write

Substituting in Eq. (78), we can further bound

As for β2\beta_{2}, we simply bound it by

Upper bound for resolvent approximation.

Recall the approximation bound we have in Theorem 5,

because R0(λ,μ⋆(λ,μ);I)=R0(I)≤κ−1\mathscr{R}_{0}(\lambda,\mu_{\star}(\lambda,\mu);{\bm{I}})=\mathsf{R}_{0}({\bm{I}})\leq{\kappa}^{-1}. And thus

As R0(Q)=ρR0(I)≥ρκ/2\mathsf{R}_{0}({\bm{Q}})=\rho\mathsf{R}_{0}({\bm{I}})\geq\rho{\kappa}/2, we can also write

Simplifying the conditions.

Finally we conclude the proof by simplifying the conditions α1≤R0(I)/8\alpha_{1}\leq\mathsf{R}_{0}({\bm{I}})/8, β1≤R0(Q)/64\beta_{1}\leq\mathsf{R}_{0}({\bm{Q}})/64, γβ2(1+R0(I))≤1/64\gamma\beta_{2}(1+\mathsf{R}_{0}({\bm{I}}))\leq 1/64 and n−D=O(α1/(1+R0(I)))n^{-D}=\mathcal{O}(\alpha_{1}/(1+\mathsf{R}_{0}({\bm{I}}))). As R0(I)≥κ/2\mathsf{R}_{0}({\bm{I}})\geq{\kappa}/2, by Eq. (79) it is sufficient to have the first condition once

for some sufficiently small constant C=C(Cx,D)\mathsf{C}=\mathsf{C}(\mathsf{C}_{{\bm{x}}},D). Recall that R0(Q)≥ρκ/2\mathsf{R}_{0}({\bm{Q}})\geq\rho{\kappa}/2. Therefore, by Eq. (80), the second requirement can be deduced from

for some sufficiently small constant C′=C′(Cx,D)\mathsf{C}^{\prime}=\mathsf{C}^{\prime}(\mathsf{C}_{{\bm{x}}},D). By Eqs. (78) and (81), we can derive γβ2(1+R0(I))≤1/64\gamma\beta_{2}(1+\mathsf{R}_{0}({\bm{I}}))\leq 1/64 from

for some constant C′′=C′′(Cx,D)\mathsf{C}^{\prime\prime}=\mathsf{C}^{\prime\prime}(\mathsf{C}_{{\bm{x}}},D). For the last condition, we need a lower bound for α1=Cαlog⁡n⋅γR0(I)\alpha_{1}=\mathsf{C}_{\alpha}\log n\cdot\sqrt{\gamma\mathsf{R}_{0}({\bm{I}})}. As μ⋆(λ,μ)≤(1−κ/2)−1μ⋆(λ,0)≤(1−κ/2)−1n≤2n\mu_{\star}(\lambda,\mu)\leq(1-{\kappa}/2)^{-1}\mu_{\star}(\lambda,0)\leq(1-{\kappa}/2)^{-1}n\leq 2n, it follows that

With κ/2≤R0(I)≤κ−1{\kappa}/2\leq\mathsf{R}_{0}({\bm{I}})\leq{\kappa}^{-1}, we obtain

Appendix D Proof of Theorem 2

we define λ=κnλ⋆\lambda={\kappa}n\lambda_{\star} and bound each term separately. By homogeneity, we will assume ∥θ∥=1\left\|{{\bm{\theta}}}\right\|=1 throughout the proof.

For the variance term, by the elementary inequality ∣1/x−x/(x+λ)2∣≤2λ/x2|1/x-x/(x+\lambda)^{2}|\leq 2\lambda/x^{2} for all x,λ>0x,\lambda>0, we have by Eq. (4a)

where in the last equality we use λ=κnλ⋆(λ)\lambda={\kappa}n\lambda_{\star}(\lambda) and sr=nsmins_{r}=ns_{\sf min}. The next lemma bounds the difference between λ⋆(0)\lambda_{\star}(0) and λ⋆(λ)\lambda_{\star}(\lambda).

Under the assumptions of Theorem 2, for λ\lambda such that λ=κnλ⋆(λ)\lambda={\kappa}n\lambda_{\star}(\lambda) it holds that

Rearranging terms, using κ≤CΣ2/8≤CΣ/2{\kappa}\leq\mathsf{C}_{{\bm{\Sigma}}}^{2}/8\leq\mathsf{C}_{{\bm{\Sigma}}}/2 and the fact that (1−x)−1≤1+2x(1-x)^{-1}\leq 1+2x for 0≤x≤1/20\leq x\leq 1/2 conclude the proof. ∎

Returning to the bound of the variance term, we can thus further derive the upper bound

Using the fact that κ≤smin/(8λ⋆(0)){\kappa}\leq s_{\sf min}/(8\lambda_{\star}(0)), we further have

Now we look at the bias term. From Eq. (4b), we first have

where in the last line we invoke Lemma D.1 and use λ⋆(λ)≤2λ⋆(0)\lambda_{\star}(\lambda)\leq 2\lambda_{\star}(0).

Additionally with BX(0)≤∥β∥2\mathscr{B}_{\bm{X}}(0)\leq\left\|{{\bm{\beta}}}\right\|^{2} and

We obtain an alternative upper bound for ∣BX(0)−BX(λ)∣\left|\mathscr{B}_{\bm{X}}(0)-\mathscr{B}_{\bm{X}}(\lambda)\right| in the following way. Note that

We next apply Lemma 7.2, which implies that with probability 1−O(n−D)1-\mathcal{O}(n^{-D})

Using the same argument, we can also bound

Combining Eqs. (85) and (86), we finally have

where we use n−Tr(Σ2(Σ+λ⋆(0)I)−2)≥CΣnn-{\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}(0){\bm{I}})^{-2}}\right)\geq\mathsf{C}_{{\bm{\Sigma}}}n in (i) and n≥Tr(Σ2(Σ+λ⋆(0)I)−2)n\geq{\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}(0){\bm{I}})^{-2}}\right) in (ii). By the elementary inequality 1−(1−a)(1−b)≤a+b1-(1-a)(1-b)\leq a+b for all 0≤a,b≤10\leq a,b\leq 1, we can thus derive that

For the bias term, we first similarly derive

From the previous calculations for the variance term, we know

In the last inequality, recall κ≤CΣ2/8≤CΣ/2{\kappa}\leq\mathsf{C}_{{\bm{\Sigma}}}^{2}/8\leq\mathsf{C}_{{\bm{\Sigma}}}/2. Putting together, we have error of the bias term bounded by

Part III: Variance approximation when λ=0𝜆0\lambda=0.

Recalling that λ=κnλ⋆(λ)\lambda={\kappa}n\lambda_{\star}(\lambda), we want to invoke Theorem 1 to bound ∣VX(λ)−Vn(λ)∣|\mathscr{V}_{\bm{X}}(\lambda)-\mathsf{V}_{n}(\lambda)|. Note that by Lemma D.1 it holds λ⋆(λ)=Θ(λ⋆(0))\lambda_{\star}(\lambda)=\Theta(\lambda_{\star}(0)) and thus

Hence the conditions hold for Theorem 1 by taking C1=Θ(C)\mathsf{C}_{1}=\Theta(\mathsf{C}), and we have for some constant C′:=C′(k,Cx,D)>0\mathsf{C}^{\prime}:=\mathsf{C}^{\prime}(k,\mathsf{C}_{{\bm{x}}},D)>0,

Substituting the above display and Eqs. (84), (88) into Eq. (82) yields

Since κ≤smin/(8λ⋆(0)){\kappa}\leq s_{\sf min}/(8\lambda_{\star}(0)) and κ≤CΣ2/8{\kappa}\leq\mathsf{C}_{{\bm{\Sigma}}}^{2}/8, if we additionally assume

We meet this assumption by setting C2=1/C′\mathsf{C}_{2}=1/\mathsf{C}^{\prime}.

Part IV: Bias approximation when λ=0𝜆0\lambda=0.

To apply Theorem 1 when λ=κnλ⋆(λ)\lambda={\kappa}n\lambda_{\star}(\lambda), we first note that the condition λkn−1k≤nκ/2\lambda kn^{-\frac{1}{k}}\leq n{\kappa}/2 is equivalent to λ⋆(λ)kn−1k≤1/2\lambda_{\star}(\lambda)kn^{-\frac{1}{k}}\leq 1/2, and by Lemma D.1 it suffices to have λ⋆(0)kn−1k≤1/4\lambda_{\star}(0)kn^{-\frac{1}{k}}\leq 1/4, which holds by assumption. Since we know χn′(κ)=Θ(χn(λ))\chi_{n}^{\prime}({\kappa})=\Theta(\chi_{n}(\lambda)) from the previous part of the proof, we only need to additionally verify that λ⋆(0)=Θ(λ⋆(λ))\lambda_{\star}(0)=\Theta(\lambda_{\star}(\lambda)) and ρ(0)=Θ(ρ(λ))\rho(0)=\Theta(\rho(\lambda)). The first relation is a direct consequence of Lemma D.1, and for the second claim we observe that

Therefore by Lemma D.1 and κ≤CΣ2/8{\kappa}\leq\mathsf{C}_{{\bm{\Sigma}}}^{2}/8, we can obtain

which implies R0(λ⋆(λ),1;Q)/R0(λ⋆(0),1;Q)=Θ(1)\mathscr{R}_{0}(\lambda_{\star}(\lambda),1;{\bm{Q}})/\mathscr{R}_{0}(\lambda_{\star}(0),1;{\bm{Q}})=\Theta(1) and therefore ρ(0)=Θ(ρ(λ))\rho(0)=\Theta(\rho(\lambda)). Now we are able to invoke Theorem 2, yielding for some constant C′:=C′(k,Cx,D)>0\mathsf{C}^{\prime}:=\mathsf{C}^{\prime}(k,\mathsf{C}_{{\bm{x}}},D)>0,

Now we can substitute the above bound and Eq. (89) into Eq. (82),

Similar to previous calculations for the variance approximation, setting C3=1/C′\mathsf{C}_{3}=1/\mathsf{C}^{\prime} and thus

Substituting in Eq. (87), it then holds that

Appendix E Proof of Theorem 3

We follow the same proof strategy in Appendix D for the overparameterized regime, taking λ=εn\lambda=\varepsilon n.

Similar to the overparameterized case, we can control the growth of λ⋆(λ)\lambda_{\star}(\lambda) by

Under the assumptions of Theorem 3, for λ\lambda such that λ=εn\lambda=\varepsilon n it holds that

we can apply Lemma E.1 and obtain for λ⋆(0)=0\lambda_{\star}(0)=0,

where in the last line we use n≥dn\geq d. Again by the elementary inequality 1−(1−a)(1−b)≤a+b1-(1-a)(1-b)\leq a+b for all 0≤a,b≤10\leq a,b\leq 1,

Part III: Variance approximation.

Taking λ=εn\lambda=\varepsilon n, we want to invoke Theorem 1 to bound ∣VX(λ)−Vn(λ)∣|\mathscr{V}_{\bm{X}}(\lambda)-\mathsf{V}_{n}(\lambda)|. Using Lemma E.1, we know

Since by assumption ε≤CΣ2σd/4≤CΣσd\varepsilon\leq\mathsf{C}_{{\bm{\Sigma}}}^{2}\sigma_{d}/4\leq\mathsf{C}_{{\bm{\Sigma}}}\sigma_{d}, Eq. (21) holds with κ=CΣ/2\kappa=\mathsf{C}_{{\bm{\Sigma}}}/2, because

Thus by Theorem 1, we have for some constant C′:=C′(k,Cx,D)>0\mathsf{C}^{\prime}:=\mathsf{C}^{\prime}(k,\mathsf{C}_{{\bm{x}}},D)>0,

Combining the above display with Eqs. (90), (91) yields

Since ε≤smin/2\varepsilon\leq s_{\sf min}/2 and ε≤CΣ2σd/4\varepsilon\leq\mathsf{C}_{{\bm{\Sigma}}}^{2}\sigma_{d}/4, if we additionally assume

and the proof is complete with C2=1/C′\mathsf{C}_{2}=1/\mathsf{C}^{\prime}.

Appendix F Proofs for proportional regime

To apply Theorem 1, we first provide upper bounds for dΣ(n)\mathsf{d}_{{\bm{\Sigma}}}(n) and κ{\kappa} implying that Assumptions 1 and Eq. (21) hold. Throughout we use the shorthand λp=λ/n∈[1/M,M]\lambda_{\mathsf{p}}=\lambda/n\in[1/M,M].

Under Assumption 2 and λ=nλp\lambda=n\lambda_{\mathsf{p}}, Assumptions 1 and (21) hold for

For such dΣ\mathsf{d}_{{\bm{\Sigma}}} and κ{\kappa}, χn(λ)=Oλp,M(log⁡2n)\chi_{n}(\lambda)=\mathcal{O}_{\lambda_{\mathsf{p}},M}(\log^{2}n).

By Assumption 2 we know d≤Mnd\leq Mn and therefore for any 1≤k≤min⁡{n,d}1\leq k\leq\min\left\{{n,d}\right\},

Using λ=nλp\lambda=n\lambda_{\mathsf{p}} into Eq. (5), we have

This implies λ⋆≤λp+M\lambda_{\star}\leq\lambda_{\mathsf{p}}+M and therefore

Finally, we can bound χn(λ)\chi_{n}(\lambda) as dΣ=OM(n)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}_{M}(n), and thus

we have ρ(λ)=ΩM(n−1)\rho(\lambda)=\Omega_{M}(n^{-1}). Together with Lemma F.1, since n=ΩM,Cx,D(1)n=\Omega_{M,\mathsf{C}_{{\bm{x}}},D}(1), the following conditions in Theorem 1 hold

Additionally, λkn−1k≤nκ/2\lambda kn^{-\frac{1}{k}}\leq n{\kappa}/2 is equivalent to λpkn−1k≤κ/2\lambda_{\mathsf{p}}kn^{-\frac{1}{k}}\leq{\kappa}/2, which holds for n=Ωk,M(1)n=\Omega_{k,M}(1). Finally, by using λ⋆(λ)≤λp+M=OM(1)\lambda_{\star}(\lambda)\leq\lambda_{\mathsf{p}}+M=\mathcal{O}_{M}(1), as shown above, we can conclude from Theorem 1 and Lemma F.1 that, for n=Ωk,M,Cx,D(1)n=\Omega_{k,M,\mathsf{C}_{{\bm{x}}},D}(1), with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}),

F.2 Proof of Proposition 4.2

we can deduce that λ⋆(0)≥M−1⋅(d/n−1)≥M−2\lambda_{\star}(0)\geq M^{-1}\cdot\left({d/n-1}\right)\geq M^{-2}. Hence,

and therefore, in Theorem 2 we can take CΣ≥1/(M2+1)=ΘM(1)\mathsf{C}_{{\bm{\Sigma}}}\geq 1/(M^{2}+1)=\Theta_{M}(1). By Eq. (92) we know ρ(0)=ΩM(n−1)\rho(0)=\Omega_{M}(n^{-1}). By [BY08, RV09], we know when n=ΩCx,M,D(1)n=\Omega_{\mathsf{C}_{{\bm{x}}},M,D}(1), with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) we have smin=ΩM,Cx,D(1)s_{\sf min}=\Omega_{M,\mathsf{C}_{{\bm{x}}},D}(1). Substituting λ⋆(0)=ΩM(1)\lambda_{\star}(0)=\Omega_{M}(1) and dΣ(n)=OM(n)\mathsf{d}_{{\bm{\Sigma}}}(n)=\mathcal{O}_{M}(n) (c.f. Lemma F.1) into χn′(κ)\chi_{n}^{\prime}({\kappa}), we get for κ=O(1){\kappa}=\mathcal{O}(1),

Thus, by taking κ=n−1/14{\kappa}=n^{-1/14}, the conditions below hold for n=Ωk,M,Cx,D(1)n=\Omega_{k,M,\mathsf{C}_{{\bm{x}}},D}(1) given k≥15k\geq 15,

and by taking κ=n−1/28{\kappa}=n^{-1/28}, the following additional conditions hold when n=Ωk,M,Cx,D(1)n=\Omega_{k,M,\mathsf{C}_{{\bm{x}}},D}(1) given k≥29k\geq 29,

We can then invoke Theorem 2 by taking κ=n−1/14{\kappa}=n^{-1/14} for variance approximation and n−1/28n^{-1/28} for bias approximation. Therefore, we can conclude that for k≥29k\geq 29,

Use again λ⋆(0)=ΩM(1)\lambda_{\star}(0)=\Omega_{M}(1) and CΣ=ΩM(1)\mathsf{C}_{{\bm{\Sigma}}}=\Omega_{M}(1), we know

We conclude the proof by fixing k≥57k\geq 57, and thus

Underparameterized regime.

Suppose M−1≤d/n≤1−M−1M^{-1}\leq d/n\leq 1-M^{-1}, we can invoke Theorem 3 with CΣ=M−1\mathsf{C}_{{\bm{\Sigma}}}=M^{-1}. By [BY08] we have smin=ΩM,Cx,D(1)s_{\sf min}=\Omega_{M,\mathsf{C}_{{\bm{x}}},D}(1). Also as we can take dΣ(n)=n\mathsf{d}_{{\bm{\Sigma}}}(n)=n in this case, we have

and therefore the conditions below hold for n=Ωk,M,Cx,D(1)n=\Omega_{k,M,\mathsf{C}_{{\bm{x}}},D}(1) by taking ε=n−1/4\varepsilon=n^{-1/4} when k≥5k\geq 5,

By fixing k>20k>20, we know for all n=ΩM,Cx,D(1)n=\Omega_{M,\mathsf{C}_{{\bm{x}}},D}(1),

Appendix G Proofs for bounded varying spectrum regime

Throughout this proof, we will use the shorthand λbv:=λ/(nλ⋆(0))∈[1/M,M]\lambda_{\mathsf{bv}}:=\lambda/(n\lambda_{\star}(0))\in[1/M,M]. We begin by lower bounding the constant κ{\kappa} of Eq. (21). Since

we know that λ⋆(0)≥σ2n\lambda_{\star}(0)\geq\sigma_{2n} and therefore ψ(δ)λ⋆(0)≥ψ(δ)σ2n≥σ⌊2δn⌋\psi(\delta)\lambda_{\star}(0)\geq\psi(\delta)\sigma_{2n}\geq\sigma_{\lfloor 2\delta n\rfloor} for any δ∈(0,1]\delta\in(0,1]. We then have

where in the last inequality we use ψ(δ)λ⋆(0)≥σ⌊2δn⌋\psi(\delta)\lambda_{\star}(0)\geq\sigma_{\lfloor 2\delta n\rfloor}. Further

and therefore, using the previous inequality, we conclude the following. If δ>0\delta>0 is such that

then λ⋆(λ)≤ψ(δ)λ⋆(0)\lambda_{\star}(\lambda)\leq\psi(\delta)\lambda_{\star}(0). Let δ0=δ0(M,ψ)\delta_{0}=\delta_{0}(M,\psi) be defined follows

Them λ⋆(0)≤λ⋆(λ)≤ψ(δ0)λ⋆(0)\lambda_{\star}(0)\leq\lambda_{\star}(\lambda)\leq\psi(\delta_{0})\lambda_{\star}(0). Hence

Putting together the above displays, we conclude Eq (21) holds for κ≥min⁡{λbv,1}/ψ(δ0)=ΩM,ψ(1){\kappa}\geq\min\{\lambda_{\mathsf{bv}},1\}/\psi(\delta_{0})=\Omega_{M,\psi}(1) when n=ΩM,ψ(1)n=\Omega_{M,\psi}(1) (recall that we need 2δ0n≥12\delta_{0}n\geq 1).

To verify the conditions of Theorem 1, we first assume dΣ=O(n1+γ)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}(n^{1+\gamma}) for γ∈[0,1/3)\gamma\in[0,1/3),

and with κ=ΩM,ψ(1){\kappa}=\Omega_{M,\psi}(1), the conditions

hold if n=ΩM,ψ,γ,Cx,D(1)n=\Omega_{M,\psi,\gamma,\mathsf{C}_{{\bm{x}}},D}(1). We then can apply Theorem 1 to approximate the variance. Given any positive integer kk, if n=Ωk,M,ψ,γ,Cx,D(1)n=\Omega_{k,M,\psi,\gamma,\mathsf{C}_{{\bm{x}}},D}(1), it holds with probability 1−Ok(n−D+1)1-\mathcal{O}_{k}(n^{-D+1}) that

If additionally dΣ=OM,ψ,Cx(n1+γλ1/6)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}_{M,\psi,\mathsf{C}_{{\bm{x}}}}(n^{1+\gamma}\lambda^{1/6}), we have

when n=ΩM,ψ,γ,Cx,D(1)n=\Omega_{M,\psi,\gamma,\mathsf{C}_{{\bm{x}}},D}(1). The condition λkn−1k≤nκ/2\lambda kn^{-\frac{1}{k}}\leq n{\kappa}/2 is equivalent to λ⋆(0)λbvkn−1/k≤κ/2\lambda_{\star}(0)\lambda_{\mathsf{bv}}kn^{-1/k}\leq{\kappa}/2, which holds when n=Ωk,M,ψ(1)n=\Omega_{k,M,\psi}(1) since we have assumed λ⋆(0)=O(1)\lambda_{\star}(0)=\mathcal{O}(1). Therefore, we can appeal to the bias approximation result in Theorem 1, yielding

G.2 Proof of Proposition 4.4

We provide the following bounds for the quantities in Theorem 2.

Under the same Assumptions of Theorem 2, we can take

when n=Ω(1)n=\Omega(1). For κ=O(1){\kappa}=\mathcal{O}(1), we have

In addition, smin=Ωψ,Cx(σn)s_{\sf min}=\Omega_{\psi,\mathsf{C}_{{\bm{x}}}}(\sigma_{n}) with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) .

where in the last line we use Tr(Σ(Σ+λ⋆(0)I)−1)=n{\rm{Tr}}\left({{\bm{\Sigma}}({\bm{\Sigma}}+\lambda_{\star}(0){\bm{I}})^{-1}}\right)=n. Since

and λ⋆(0)≥σ2n\lambda_{\star}(0)\geq\sigma_{2n} from Eq. (93), we know

We can hence take CΣ:=(2ψ(1/4)+2)−1=Ωψ(1)\mathsf{C}_{{\bm{\Sigma}}}:=\left({2\psi(1/4)+2}\right)^{-1}=\Omega_{\psi}(1).

Substituting λ⋆(0)≥σ2n\lambda_{\star}(0)\geq\sigma_{2n} and dΣ=O(n1+γ)\mathsf{d}_{{\bm{\Sigma}}}=\mathcal{O}(n^{1+\gamma}) for some 1≤γ<1/21\leq\gamma<1/2 into Eq. (24), we have for κ=O(1){\kappa}=\mathcal{O}(1),

Finally, to get a lower bound for smins_{\sf min}, we use Cauchy interlacing theorem which implies

where Pk\bm{P}_{k} is the projection to the space spanned by the top kk eigenvectors. Let k≥nk\geq n, we further have

with probability at least 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}), where ζ\zeta is the random variable

By Hanson-Wright in Lemma 2.1 and similar to the argument in Eq. (61), we have

Given the above sharp concentration of ζ\zeta, we can therefore conclude by taking k=⌊C(Cx)n⌋k=\lfloor\mathsf{C}(\mathsf{C}_{{\bm{x}}})n\rfloor for some C>0\mathsf{C}>0, and n=ΩCx,D(1)n=\Omega_{\mathsf{C}_{{\bm{x}}},D}(1), we have with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}) that

and therefore smin≥σk≥σn/ψ(C)s_{\sf min}\geq\sigma_{k}\geq\sigma_{n}/\psi(\mathsf{C}) by Assumption 3. ∎

By Lemma G.1 and the assumption λ⋆(0)/σn=O(log⁡O(1)n)\lambda_{\star}(0)/\sigma_{n}=\mathcal{O}(\log^{\mathcal{O}(1)}n), we know by taking κ=n−1/14{\kappa}=n^{-1/14}, the conditions below hold for n=Ωk,ψ,Cx,D(1)n=\Omega_{k,\psi,\mathsf{C}_{{\bm{x}}},D}(1) whenever k≥15k\geq 15,

Therefore by the variance approximation in Theorem 2, it holds

Fixing k≥29k\geq 29, we have with probability 1−O(n−D+1)1-\mathcal{O}(n^{-D+1}), we know as n=Ωψ,Cx,D(1)n=\Omega_{\psi,\mathsf{C}_{{\bm{x}}},D}(1),

For the bias approximation with the assumption ρ(0)=Ω(n−2+γ)\rho(0)=\Omega(n^{-2+\gamma}), the following additional conditions hold by taking κ=n−γ/28{\kappa}=n^{-\gamma/28} when n=Ωk,ψ,Cx,D(1)n=\Omega_{k,\psi,\mathsf{C}_{{\bm{x}}},D}(1) given k≥29/γk\geq 29/\gamma,

In verifying the second condition above, we use λ⋆(0)=O(σnlog⁡O(1)n)=O(σnlog⁡O(1)n)\lambda_{\star}(0)=\mathcal{O}(\sigma_{n}\log^{\mathcal{O}(1)}n)=\mathcal{O}(\sigma_{n}\log^{\mathcal{O}(1)}n). By Lemma G.1, we also have

We can then write out the bias approximation result applying Theorem 2

Fixing k≥57/γk\geq 57/\gamma, we conclude the proof with

Appendix H Proof of Theorem 4

Define the following increasing function in tt,

In the first case, we set λ=νnσn\lambda=\nu n\sigma_{n}. For any t>0t>0, we can compute that

We will first show dΣ(n)=OΣ(n)\mathsf{d}_{{\bm{\Sigma}}}(n)=\mathcal{O}_{{\bm{\Sigma}}}(n) and λ⋆=Θν(λ/n)\lambda_{\star}=\Theta_{\nu}(\lambda/n), and then we can invoke Proposition 4.3 for variance approximation. For simplicity, we will suppress the dependence on sequences {ai}\{a_{i}\} and {bi}\{b_{i}\} in the big-O and big-Ω\Omega notations. For instance, we will just write for all n=Ωα(1)n=\Omega_{\alpha}(1), ∣bn∣≤α|b_{n}|\leq\alpha.

We first upper bound dΣ\mathsf{d}_{{\bm{\Sigma}}}. Note that

As ala_{l} converges to a positive limit, we have al/ak=O(1)a_{l}/a_{k}=\mathcal{O}(1). For k=Ωα(1)k=\Omega_{\alpha}(1) such that ∣bl∣≤α/2|b_{l}|\leq\alpha/2 for all l≥kl\geq k, we can further derive that

This implies for all n=Ωα(1)n=\Omega_{\alpha}(1), we can take dΣ(n)=Oα(n)\mathsf{d}_{{\bm{\Sigma}}}(n)=\mathcal{O}_{\alpha}(n). Next we show λ⋆=Θν(λ/n)\lambda_{\star}=\Theta_{\nu}(\lambda/n). Note that

where in (i) we use the reflection formula for Γ\Gamma function. Recall that we define c⋆=c⋆(ν){\sf c}_{\star}={\sf c}_{\star}(\nu) as the unique solution of

it then follows from the above displays that

By the definition of λ⋆\lambda_{\star} in (5), we can write fn(λ⋆/σn;λ)=0f_{n}(\lambda_{\star}/\sigma_{n};\lambda)=0. Combining with the above limit, we can then conclude that

Substituting into Eq. (23), we further have

Therefore, under the additional condition for some 0<θ≤10<\theta\leq 1 that

we have ρ(λ)=Ω(n−2+θ)\rho(\lambda)=\Omega(n^{-2+\theta}). By choosing γ=(1−θ)/3\gamma=(1-\theta)/3, we can invoke Proposition 4.3. Choosing a sufficiently large kk yields VX(λ)=Vn(λ)(1+on(1))\mathscr{V}_{\bm{X}}(\lambda)=\mathsf{V}_{n}(\lambda)(1+o_{n}(1)) and BX(λ)=Bn(λ)(1+on(1))\mathscr{B}_{\bm{X}}(\lambda)=\mathsf{B}_{n}(\lambda)(1+o_{n}(1)).

In the next step, we derive explicit asymptotic formulas for Vn\mathsf{V}_{n} and Bn\mathsf{B}_{n}. Similar to the previous calculations in Eq. (94), we can compute that

and further n−1Tr(Σ2(Σ+λ⋆I)−2)→(1−νc⋆−1)(1−α−1)n^{-1}{\rm{Tr}}({\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2})\to(1-\nu{\sf c}_{\star}^{-1})(1-\alpha^{-1}). This then gives the variance

For the bias term, we can similarly write

Together with Tr(Σ2(Σ+λ⋆I)−2)=n(1−νc⋆−1)(1−α−1)(1+on(1)){\rm{Tr}}({\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2})=n(1-\nu{\sf c}_{\star}^{-1})(1-\alpha^{-1})(1+o_{n}(1)), we conclude the proof for this case.

Case II: regularly varying spectrum when α=1𝛼1\alpha=1.

Setting λ=νnσnlog⁡n\lambda=\nu n\sigma_{n}\log n. For any t>0t>0, we can compute that

We first verify Assumption 1 holds. With ai=O(1)a_{i}=\mathcal{O}(1) bounded and α′>1\alpha^{\prime}>1, we indeed have that Tr(Σ)<∞{\rm{Tr}}({\bm{\Sigma}})<\infty as

Since the sequence {ai}\{a_{i}\} converge to a positive limit, we have for k=Ω(1)k=\Omega(1)

and therefore, we can take dΣ(n)=Θα′(nlog⁡n)\mathsf{d}_{{\bm{\Sigma}}}(n)=\Theta_{\alpha^{\prime}}(n\log n). We proceed to compute λ⋆\lambda_{\star}. Taking any t>0t>0,

Taking the above display into Eq. (23), we get

where in the last line we use Fβ(x)=∑k=1⌊(n/log⁡n)x⌋⟨β,vk⟩2F_{\bm{\beta}}(x)=\sum_{k=1}^{\lfloor(n/\log n)x\rfloor}\langle{\bm{\beta}},{\bm{v}}_{k}\rangle^{2}. Thus we can have ρ(λ)=Ω(n−2+θ)\rho(\lambda)=\Omega(n^{-2+\theta}) provided the condition

Setting γ=(1−θ)/3\gamma=(1-\theta)/3, we can invoke Proposition 4.3 and obtain VX(λ)=Vn(λ)(1+on(1))\mathscr{V}_{\bm{X}}(\lambda)=\mathsf{V}_{n}(\lambda)(1+o_{n}(1)), BX(λ)=Bn(λ)(1+on(1))\mathscr{B}_{\bm{X}}(\lambda)=\mathsf{B}_{n}(\lambda)(1+o_{n}(1)).

For the variance Vn(λ)\mathsf{V}_{n}(\lambda), we note

Substituting in λ⋆\lambda_{\star}, we thus have n−1Tr(Σ2(Σ+λ⋆I)−2)=(1+on(1))/(c⋆log⁡n)n^{-1}{\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)=(1+o_{n}(1))/({\sf c}_{\star}\log n), which further implies that

Combining with n−1Tr(Σ2(Σ+λ⋆I)−2)=(1+on(1))/(c⋆log⁡n)n^{-1}{\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)=(1+o_{n}(1))/({\sf c}_{\star}\log n), it holds that

Case III: a non-regularly varying spectrum.

Take λ=νnσn\lambda=\nu n\sigma_{n}. For any t>0t>0, we can compute that

If σk=p−s\sigma_{k}=p^{-s}, we can easily have σl≤p−r−s\sigma_{l}\leq p^{-r-s} if qrk≤l<qr+1kq^{r}k\leq l<q^{r+1}k. This immediately yields

as q<pq<p and the geometric sum converges. We can thus take dΣ(n)=Op,q(n)\mathsf{d}_{{\bm{\Sigma}}}(n)=\mathcal{O}_{p,q}(n). For λ⋆\lambda_{\star}, using that

Since s⋆→∞s^{\star}\to\infty as nn tends to infinity, we have

While the right hand side is increasing in tt ranging in (−∞,1)(-\infty,1). There exists a unique c⋆=c⋆(ν){\sf c}_{\star}={\sf c}_{\star}(\nu) solving

Next we compute ρ(λ)\rho(\lambda) from Eq. (23),

we have ρ(λ)=Ω(n−2+θ)\rho(\lambda)=\Omega(n^{-2+\theta}) and Proposition 4.3 holds with γ=(1−θ)/3\gamma=(1-\theta)/3, implying that VX(λ)=Vn(λ)(1+on(1))\mathscr{V}_{\bm{X}}(\lambda)=\mathsf{V}_{n}(\lambda)(1+o_{n}(1)) and BX(λ)=Bn(λ)(1+on(1))\mathscr{B}_{\bm{X}}(\lambda)=\mathsf{B}_{n}(\lambda)(1+o_{n}(1)).

To compute the effective variance Vn(λ)\mathsf{V}_{n}(\lambda), we first note that

We conclude the proof for Bn(λ)\mathsf{B}_{n}(\lambda) by substituting in n−1Tr(Σ2(Σ+λ⋆I)−2)=(1+on(1))ρ⋆−1Gp,q,2(c⋆)n^{-1}{\rm{Tr}}\left({{\bm{\Sigma}}^{2}({\bm{\Sigma}}+\lambda_{\star}{\bm{I}})^{-2}}\right)=(1+o_{n}(1))\rho_{\star}^{-1}G_{p,q,2}({\sf c}_{\star}).