Kernel regression in high dimensions: Refined analysis beyond double descent

Fanghui Liu, Zhenyu Liao, Johan A. K. Suykens

Introduction

Interpolation learning [MM19, HMRT19, BLLT20] has recently attracted growing attention in the machine learning community. This is mainly because current state-of-the-art neural networks appear to be models of this type: they are able to interpolate the training data while still generalize well on test data, even in the presence of label noise [ZBH+16]. It has been empirically observed that other models including random features, decision trees, and as simple as linear regression also exhibit similar phenomenon [BLLT20, BHMM19, LHCS20]. This is somewhat striking as it goes against the conventional wisdom of bias-variance trade-off[CS02]: predictors that generalize well must trade off the model complexity against training data fitting. The double descent theory [BHMM19] resolves this paradox by revisiting the bias-variance trade-off and showing that the model generalization error exhibits a phase transition at the interpolation point: moving away from this point on either side tends to reduce the generalization error.

The double descent phenomenon has recently inspired intense theoretical research [MM19, GLK+20, WX20, LCM20] and has been further extended to multiple descent [CMBK20, LRZ19, AP20] on various models. One line of work formalized the argument that, even when no explicit regularization is imposed, implicit regularization is encoded in the model via the choice of optimization algorithms and techniques, e.g., stochastic gradient descent (SGD) [HRS16], dropout [SHK+14], early stopping [AKT19], and ensemble methods [LJB20]. Different from these “external” schemes, the kernel interpolation estimator [LR20, BRT19] directly benefits from its intrinsic kernel structure that serves as an implicit regularization to help both interpolate and approximate. In fact, (strictly) positive-definite kernels can interpolate an arbitrary number of data points [Wen04], and thus kernel spaces contain (nearly) optimal interpolants [GMMM19, Li20]. Although the kernel space is rich enough to contain models that generalize well, the generalization property of kernel method, for example how it depends on the choice of kernel, its interplay with the data and the level of regularization, still remains unclear. In particular, the question whether the double descent phenomenon exists in the kernel regression models is still unanswered [LR20, BCP20]. As such, refined analyses are needed to have a thorough understanding of kernel estimators, notably in the high dimensional regime of interest. This is indeed the objective of the article.

where an explicit Tikhonov regularization term induced by a reproducing kernel Hilbert space (RKHS) H\mathcal{H} is added to the least-squares objective. In statistical learning theory [CZ07], the regularization parameter λ>0\lambda>0 is generally taken to depend on the sample size nn in such a way that lim⁡n→∞λ(n)=0\lim_{n\rightarrow\infty}\lambda(n)=0. Here we assume that λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} with some ϑ≥0\vartheta\geq 0 and 0≤cˉ≤10\leq\bar{c}\leq 1 to cover the interpolation case.

In this paper, we propose a novel bias-variance decomposition of the KRR expected excess risk, and derive non-asymptotic bounds for both bias and variance. This precise assessment leads to fruitful discussions as a function of different data eigenvalue decays and regularization schemes. Our main findings include:

The explicit regularization λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} largely affects the peak point of the variance: a large λ\lambda decreases the model complexity, and thus corresponds to a small value of interpolation point n∗≡n∗(λ)n_{*}\equiv n_{*}(\lambda). Table 1 shows that, under a small (or zero) regularization so that r∗≤n∗r_{*}\leq n_{*} with r∗:=rank⁡(XX ⁣⊤/d)r_{*}:=\operatorname{rank}(\bm{X}\bm{X}^{\!\top}/d): the error bound for variance V{\tt{V}} monotonically increases with nn until n:=r∗n:=r_{*}, as in the red curve of Figure 1(a). Under a moderate regularization with n∗≤r∗n_{*}\leq r_{*}: V{\tt{V}} first increases with nn until n:=n∗n:=n_{*} and then decreases. In this case, the peak point will move to the left due to n∗<dn_{*}<d, see the blue curve in Figure 1(a). Under a large regularization with n∗≤cn_{*}\leq c for some constant cc, V{\tt{V}} monotonically decreases with nn, as in the green curve of Figure 1(a).

Our error bounds for the bias and the variance exhibit different characteristics. More specifically, the bias bound is (almost) independent of the data/feature dimension dd and monotonically decreases with nn at a certain O(λ)\mathcal{O}(\lambda) (learning) rate as in the classical learning theory [CZ07, WZ11, SS07]. Besides, the variance bound depends on nn and dd, and exhibits monotonic decreasing or unimodal with nn under different regularizations. Hence, the expected excess risk, as the sum of bias and variance, can be double descent (Figure 1(b)), bell-shaped (Figure 1(c)), or monotonic decreasing (Figure 1(d)), depending on the level of implicit and explicit regularizations. This is in agreement with empirical findings in neural networks [YYY+20].

Our non-asymptotic results show that, for large but fixed dd, both the variance and bias tends to zero as n→∞n\rightarrow\infty under λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta}, implying that the excess risk approaches zero. Based on this, in the double descent case particularly, the minimum of the expected error in the over-parameterized n>dn>d regime is lower than that in the n<dn<d regime. This claim cannot be obtained from [LR20].

The rest of the paper is organized as follows. We briefly introduce problem settings in Section 2. In Section 3, we present our main results on the generalization property of KRR in high dimensions and briefly sketch the main ideas of the proof. Discussions on the derived error bounds are given in Section 4. In Section 5, we report numerical experiments to support our theoretical results and the conclusion is drawn in Section 6.

Problem Settings and Preliminaries

We work in the high dimensional regime for some large d,nd,n with c≤d/n≤Cc\leq d/n\leq C for some constants c,C>0c,C>0. For notational simplicity, we denote by a(n)≲b(n)a(n)\lesssim b(n): there exists a constant C~\widetilde{C} independent of nn such that a(n)≤C~b(n)a(n)\leq\widetilde{C}b(n), and analogously for ≍\asymp and ≳\gtrsim.

2 Background on RKHS

Now we characterize the integral operators defined by a kernel. Given a kernel kk, its integral operator LK:LρX2→LρX2L_{K}:\mathcal{L}_{\rho_{X}}^{2}\rightarrow\mathcal{L}_{\rho_{X}}^{2} admits

Since LKL_{K} is compact, positive definite and self-adjoint, by the spectral theorem (see, Theorem A.5.13 in [SA08]), there exists countable pairs of eigenvalues and eigenfunctions {μi,ψi}i=1∞\{\mu_{i},\psi_{i}\}_{i=1}^{\infty} of LKL_{K} such that LKψi=μiψiL_{K}\psi_{i}=\mu_{i}\psi_{i}, where {ψ}i=1∞\{\psi\}_{i=1}^{\infty} are orthogonal basis of LρX2(X)\mathcal{L}_{\rho_{X}}^{2}(X) and μ1≥μ2⋯>0\mu_{1}\geq\mu_{2}\cdots>0 with lim⁡i→∞μi=0\lim\limits_{i\rightarrow\infty}\mu_{i}=0. Accordingly, by Mercer’s theorem, we have k(x,x′)=∑i=1∞μiψi(x)ψi(x′)k(\bm{x},\bm{x}^{\prime})=\sum_{i=1}^{\infty}\mu_{i}\psi_{i}(\bm{x})\psi_{i}(\bm{x}^{\prime}), and there exists a constant κ≥1\kappa\geq 1 such that sup⁡x∈X∑i=1∞μiψi2(x)≤κ2\sup_{\bm{x}\in X}\sum_{i=1}^{\infty}\mu_{i}\psi_{i}^{2}(\bm{x})\leq\kappa^{2}. It holds by κ:=max⁡{1,sup⁡x∈Xk(x,x)}\kappa:=\max\{1,\sup_{\bm{x}\in X}\sqrt{k(\bm{x},\bm{x})}\}. Based on the data matrix X\bm{X} and the integral operator LKL_{K}, the empirical integral operator is given by LK,X=1n∑i=1nk(⋅,xi)⊗k(⋅,xi)L_{K,\bm{X}}=\frac{1}{n}\sum_{i=1}^{n}k(\cdot,\bm{x}_{i})\otimes k(\cdot,\bm{x}_{i}), which converges to the data-free limit LKL_{K} at an O(1/n)\mathcal{O}(1/\sqrt{n}) rate [DMDVR09].

Main Results

In this section, we state our main result under some basic/technical assumptions, compare it with existing results, and sketch the main ideas of our proof.

To illustrate our analysis, we need the following three standard assumptions.

(Existence of fρf_{\rho}) We assume fρ∈Hf_{\rho}\in\mathcal{H}.

This is a standard assumption in learning theory and assumes that the target function fρf_{\rho} defined in Eq. (2.1) is indeed realizable, see also [RR19, RR17, CZ07, SS07].

This is a broad model for the noise in the output yy, containing uniformly bounded or sub-Gaussian noise; and is in fact weaker than the standard Bernstein condition, e.g., in [BK10].

This is a standard setting in high-dimensional statistics and random matrix theory [EK10, DW18, LR20, HMRT19, EKZ+20] that assumes that the data are drawn from some not-too-heavy-tailed distribution, with possibly (involved) structure between the entries.

To aid our proof, we need some extra results. In [EK10], it has been shown that the kernel matrix K\bm{K} in high dimensions can be well approximated by Klin⁡~\widetilde{\bm{K}^{\operatorname{lin}}} in spectral norm, i.e., ∥K−Klin⁡~∥2→0\|\bm{K}-\widetilde{\bm{K}^{\operatorname{lin}}}\|_{2}\rightarrow 0 as n,d→∞n,d\to\infty

with non-negative parameters α\alpha, β\beta, γ\gamma, and the additional matrix E\bm{E} given in Table 2, see some typical examples in Appendix A. Here γ\gamma is the implicit regularization parameter in kernel estimator that depends on the nonlinear function hh in the kernel kk and the data structure Σd\bm{\Sigma}_{d}. According to Eq. (3.1), denote the shortcut X~:=βXX ⁣⊤/d+α11 ⁣⊤\widetilde{\bm{X}}:=\beta{\bm{X}\bm{X}^{\!\top}}/{d}+\alpha\bm{1}\bm{1}^{\!\top}, we show in high dimensions that, K\bm{K} admits the same eigenvalue decay as X~\widetilde{\bm{X}} and XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d (see details in Appendix B). Subsequently, we introduce the following quantity function

which is associated with various quantity functions in [AKT19, DW18, LR20, JŞS+20b, NVKM20] and, as we shall see, plays an important role in determining the variance behavior. We will discuss at length NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} based on different data eigenvalue decays in Section 4.

Formally, our main results of KRR in a high-dimensional regime are stated as follows.

(Basic result) Under Assumptions 1-3, let 0<δ<1/20<\delta<1/2, θ=12−28+m\theta=\frac{1}{2}-\frac{2}{8+m}, dd large enough, taking the regularization parameter λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} with 0≤ϑ≤1/20\leq\vartheta\leq 1/2, for any given ε>0\varepsilon>0, it holds with probability at least 1−2δ−d−21-2\delta-d^{-2} with respect to the draw of X{\bm{X}} that

with V1:=σ2βdNX~nλ+γ{\tt{V}}_{1}:=\frac{\sigma^{2}\beta}{d}\mathcal{N}^{n\lambda+\gamma}_{\widetilde{\bm{X}}} and the residual term V2{\tt{V}}_{2}

Remark: The first term in Eq. (3.3) is the bound of the bias, which is independent of dd and monotonically decreases with nn. The sum V1+V2{\tt{V}}_{1}+{\tt{V}}_{2} is the bound of the variance that depends on both nn and dd. Note that V2{\tt{V}}_{2} monotonically decreases with nn, and approaches to zero for a large nn. Therefore, the error bound for V1≍1dNX~nλ+γ{\tt{V}}_{1}\asymp\frac{1}{d}\mathcal{N}^{n\lambda+\gamma}_{\widetilde{\bm{X}}} is the key part of estimates for the variance and will be discussed in in Section 4, where nλn\lambda corresponds to the explicit regularization and γ\gamma the implicit regularization. We will demonstrate that V1{\tt{V}}_{1} can be monotonically decreasing or unimodal under different regularization schemes. Such monotonic bias and unimodal variance can lead to various behaviors of the excess risk, including monotonically decreasing, double descent, and bell-shaped risk curve, as illustrated in Figure 1 of introduction.

2 Refined result

Based on the basic result, if we consider two additional assumptions, i.e., extending Assumption 1 by considering the regularity of fρf_{\rho} and studying spectral decay of kk via complexity of H\mathcal{H}, we can obtain a refined result.

(Source condition [CZ07]) For some 0<r≤10<r\leq 1, there exists gρ∈LρX2g_{\rho}\in\mathcal{L}_{\rho_{X}}^{2} satisfying ∥gρ∥LρX2≤R\|g_{\rho}\|_{\mathcal{L}_{\rho_{X}}^{2}}\leq R such that fρ=LKrgρf_{\rho}=L_{K}^{r}g_{\rho}.

(Capacity condition [CZ07]) For any λ>0\lambda>0, there exist Q>0Q>0 and η∈\eta\in such that

The notation N(λ)\mathcal{N}(\lambda) denotes the “effective dimension” and can be regarded as a “measure of size” of the RKHS. This is a natural and widely used assumption in the literature [CZ07, ZDW13, RR17]. Assumption 5 always holds for η=1\eta=1 and Q=κQ=\kappa where κ:=max⁡{1,sup⁡x∈Xk(x,x)}\kappa:=\max\{1,\sup_{\bm{x}\in X}\sqrt{k(\bm{x},\bm{x})}\} as LKL_{K} is a trace class operator. Its kernel matrix form is dKλ:=tr⁡((K+λIn)−1K)=∑i=1nλi(K)λi(K)+λd_{\bm{K}}^{\lambda}:=\operatorname{tr}\left((\bm{K}+\lambda\bm{I}_{n})^{-1}\bm{K}\right)=\sum_{i=1}^{n}\frac{\lambda_{i}(\bm{K})}{\lambda_{i}(\bm{K})+\lambda} [AKM+17, LTOS19]. While Assumption 5 can be further refined to obtain a bound that depends on dd [PRDVR20], here we focus on the eigenvalue decay of K\bm{K}, see Section 4 for details.

Based on the above discussion, we obtain a refined result of Theorem 1 as below.

(Refined result) Under Assumptions 2-5, let 0<δ<1/20<\delta<1/2, θ=12−28+m\theta=\frac{1}{2}-\frac{2}{8+m}, and dd large enough, taking λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} with 0≤ϑ≤11+η0\leq\vartheta\leq\frac{1}{1+\eta}, then for any given ε>0\varepsilon>0, it holds with probability at least 1−2δ−d−21-2\delta-d^{-2}

where V1{\tt{V}}_{1} and V2{\tt{V}}_{2} are the same as in Theorem 1.

Remark: Compared to classical learning theory results [FS17] achieving O(n−2r+12r+1+η)\mathcal{O}(n^{-\frac{2r+1}{2r+1+\eta}}) learning rates, the parameter η\eta in our results only effects the selection range of λ\lambda, which is nearly independent of the learning rates to some extent. That means, the spectral decay of a kernel function kk in high dimensions is almost irrelevant to its kernel type. In fact, the eigenvalue decay of the kernel matrix in our model largely depends on the data, which is in essence different from classical learning theory results. Therefore, our result reflects a certain “universality” on the kernel function in high dimensional problems, which shows consistency to [EK10].

3 Related work

We provide non-asymptotic results that systematically analyze both implicit and explicit regularization schemes within a unified framework.

Implicit regularization in kernel/linear interpolation: Implicit regularization can be induced by minimum norm solutions in linear interpolation [DLM19, KLS20], or the curvature of the kernel function in kernel interpolation [LR20]. Compared to the risk curve in [LR20] that converges to a non-zero constant, the risk curve in our results tends to zero when n≫dn\gg d. Hence our result demonstrates that, in the double descent case, the minimum of the expected risk in the second descent is lower than the first descent; while the same claim cannot be obtained from [LR20]. Besides, under the basic fρ∈Hf_{\rho}\in\mathcal{H} case, our bias bound is based on the eigen-decay (trends) of the kernel matrix K\bm{K} and thus can be (almost) independent of dd, achieving an optimal learning rate O(λ)\mathcal{O}(\lambda) in a minimax case. This is different from [LR20] that corresponds to the sum of tailed eigenvalues of K\bm{K}. Specifically, if we directly set λ\lambda to zero, our result for the bias still holds, which can be bounded by ∥LK,X−LK∥LρX2≲O(1/n)\|L_{K,\bm{X}}-L_{K}\|_{\mathcal{L}_{\rho_{X}}^{2}}\lesssim\mathcal{O}(1/\sqrt{n}).

Explicit regularization in kernel/linear regression: We provide non-asymptotic results that refine a series of asymptotic analyses, e.g., the Stieltjes transform approach in [HMRT19, EKZ+20, YYY+20, JŞS+20a] and the statistical mechanic approach in [CBP20]. In fact, by considering the limiting eigenvalue distribution of XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d via its Stieltjes transform 1nNXX ⁣⊤/db ⁣≈ ⁣m(−b)−bm′(−b)\frac{1}{n}\mathcal{N}^{b}_{\bm{X}\bm{X}^{\!\top}/d}\!\approx\!m(-b)-bm^{\prime}(-b), for m(b)m(b) the solution to the popular Marc̆enko–Pastur equation [MP67], our error bound recovers [HMRT19, Theorem 5] with b:=λb:=\lambda and isotropic features Σd=Id\bm{\Sigma}_{d}=\bm{I}_{d}. Finite sample analyses are often based on a finer control of the Stieltjes transform [JŞS+20b] or the effective rank [BLLT20, CL20]. However, the aforementioned results are generally limited to Gaussian [JŞS+20b, NVKM20] and sub-Gaussian data [BLLT20, CL20, CC20], or Gaussian covariates [RMR20]. Here we consider a much broader family of distributions. Besides, under some specific situations, the regularization parameter λ\lambda in (generalized) linear regression can be negative [KLS20] or optimal tuned [NVKM20, WX20] so as to generalize well. Recent research [GMMM19, LRZ19, BCP20] on kernel regression in n:=O(dc)n:=\mathcal{O}(d^{c}) shows different trends.

4 Proof framework

The proof of our results is fairly technical and lengthy, and we briefly sketch some main ideas of Theorem 2 here. Note that, Theorem 1 is a special case of Theorem 2 by taking r=1/2r=1/2 and η=1\eta=1. The modified error decomposition, the error bounds of variance for radial kernels, and estimates for bias are the main elements of novelty in the proof.

we have fX,λ=(LK,X+λI)−1LK,Xfρf_{\bm{X},\lambda}=(L_{K,\bm{X}}+\lambda I)^{-1}L_{K,\bm{X}}f_{\rho}. Accordingly, the variance-bias decomposition is stated in the following lemma, with proof deferred to Appendix C.

It is clear that, the variance term does not depend on the target function fρf_{\rho}, and the bias is independent of the residual error ϵ\bm{\epsilon}. Proof for the bias {\tt{B}}\lesssim n^{-2\vartheta r}\log^{4}\big{(}\frac{2}{\delta}\big{)} can be found in Appendix D. Proof for the variance V≲V1+V2{\tt{V}}\lesssim{\tt{V}}_{1}+{\tt{V}}_{2} refers to Appendix E.

Discussion on Error Bounds

In this section, we discuss our Theorem 2 for different eigenvalue profiles of X~\widetilde{\bm{X}} in the two regimes of n<dn<d and n>dn>d. Since K\bm{K} shares the same eigenvalue decay as XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d and X~\widetilde{\bm{X}} (see Proposition B.1 in Appendix B), we do not distinguish the eigen-decay of these two data matrices in the subsequent discussions. We first focus on the variance V{\tt{V}} that can be unimodal or monotonically decreasing with nn under different regularization schemes. Subsequently, we investigate the total risk curve as the sum of bias and variance. Note that X~\widetilde{\bm{X}} has different numbers of non-zero eigenvalues under the two regimes, we denote r∗:=rank⁡(X~)≤min⁡{n,d}r_{*}:=\operatorname{rank}(\widetilde{\bm{X}})\leq\min\{n,d\}, which, as we shall see, plays a significant role in characterizing the different cases of our bounds.

We consider here three eigenvalue decays of X~\widetilde{\bm{X}}: harmonic, polynomial, and exponential decay [Bac13, LTOS19].

Under the three eigenvalue decays in Table 3, denote r∗=rank⁡(X~)r_{*}=\operatorname{rank}(\widetilde{\bm{X}}), then the quantity function NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} with b:=nλ+γb:=n\lambda+\gamma can be bounded by 1) harmonic decay: NX~b≤nb2ln⁡n+(r∗+1)bn+b=O(nb2)\mathcal{N}^{b}_{\widetilde{\bm{X}}}\leq\frac{n}{b^{2}}\ln\frac{n+(r_{*}+1)b}{n+b}=\mathcal{O}(\frac{n}{b^{2}}). 2) polynomial decay: NX~b≤C~2ab(nb)12a\mathcal{N}^{b}_{\widetilde{\bm{X}}}\leq\frac{\widetilde{C}}{2ab}\left(\frac{n}{b}\right)^{\frac{1}{2a}}, where C~\widetilde{C} is some constant. 3) exponential decay: NX~b ⁣≤ ⁣1a(1b+ne−a(r∗+1) ⁣− ⁣1b+ne−a)\mathcal{N}^{b}_{\widetilde{\bm{X}}}\!\leq\!\frac{1}{a}\left(\frac{1}{b+ne^{-a(r_{*}+1)}}\!-\!\frac{1}{b+ne^{-a}}\right).

Proof The proof can be found in Appendix F. ∎

According to Proposition 4.1, we summarize our results in Table 1 and discuss them as follows:

Harmonic decay: V1⩽O(nb2d){\tt{V}}_{1}\leqslant\mathcal{O}(\frac{n}{b^{2}d}).

For λ=0\lambda=0, i.e., the ridgeless case, we have b=γ=O(1)b=\gamma=\mathcal{O}(1), and V1≤O(nd){\tt{V}}_{1}\leq\mathcal{O}(\frac{n}{d}), which indicates V1{\tt{V}}_{1} increases with nn in the n<dn<d regime. For λ≠0\lambda\neq 0, taking λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta}, we have V1⩽O(nd(cˉn1−ϑ+γ)2){\tt{V}}_{1}\leqslant\mathcal{O}(\frac{n}{d(\bar{c}n^{1-\vartheta}+\gamma)^{2}}). To investigate the monotonicity of g(n):=nd(cˉn1−ϑ+γ)2g(n):=\frac{n}{d(\bar{c}n^{1-\vartheta}+\gamma)^{2}}, define n∗:=(γ2−2ϑ−cˉ)11−ϑn_{*}:=\left(\frac{\gamma}{2-2\vartheta-\bar{c}}\right)^{\frac{1}{1-\vartheta}}, we find that, a large λ\lambda leads to a small n∗n_{*}. According to the relationship between r∗r_{*}, n∗n_{*}, and dd, we can conclude that (see Table 1 and the red curve in Figure 1(a)):

When ϑ≥12(2−cˉ)\vartheta\geq\frac{1}{2(2-\bar{c})}, V1{\tt{V}}_{1} will increase with nn until n:=r∗n:=r_{*} and then remain unchanged when r∗<n<dr_{*}<n<d. When ϑ<12(2−cˉ)\vartheta<\frac{1}{2(2-\bar{c})}, there are various trends as follows: 1) if d<n∗d<n_{*}, this is the same as the ϑ≥12(2−cˉ)\vartheta\geq\frac{1}{2(2-\bar{c})} case; 2) if r∗<n∗<dr_{*}<n_{*}<d, V1{\tt{V}}_{1} will increase with nn until n:=r∗n:=r_{*}, and then remain unchanged when r∗<n<dr_{*}<n<d; 3) if n∗<r∗<dn_{*}<r_{*}<d, V1{\tt{V}}_{1} will increase with nn until n:=n∗n:=n_{*} and then decrease with nn until n:=r∗n:=r_{*}, and stay unchanged on r∗<n<dr_{*}<n<d; 4) If n∗<cn_{*}<c such that n>cn>c always holds for some constant cc, we have V1{\tt{V}}_{1} increases with nn until n:=r∗n:=r_{*}, and then stays unchanged on r∗<n<dr_{*}<n<d. Remark that, for γ<2−2ϑ−cˉ\gamma<2-2\vartheta-\bar{c}, we have n∗<1n_{*}<1 and thus n>n∗n>n_{*}, so that V1{\tt{V}}_{1} always decreases with nn until n:=r∗n:=r_{*}.

Polynomial decay: V1⩽O(1bd(nb)12a){\tt{V}}_{1}\leqslant\mathcal{O}(\frac{1}{bd}(\frac{n}{b})^{\frac{1}{2a}}).

Similar to above, define n∗=(γ2acˉ[1−(1+12a)ϑ])11−ϑn_{*}=\left(\frac{\gamma}{2a\bar{c}[1-(1+\frac{1}{2a})\vartheta]}\right)^{\frac{1}{1-\vartheta}}, we obtain results similar to the case of harmonic decay, but with different thresholds: ϑ≥(1+12a)−1\vartheta\geq(1+\frac{1}{2a})^{-1} and ϑ<(1+12a)−1\vartheta<(1+\frac{1}{2a})^{-1}, see Table 1 for details.

Exponential decay: {\tt{V}}_{1}\leq\frac{\widetilde{C}\beta}{ad}\big{(}\frac{1}{b+ne^{-a(r_{*}+1)}}\!-\!\frac{1}{b+ne^{-a}}\big{)}.

Here we consider the monotonicity of the function G(n):=\big{(}\frac{1}{b+ne^{-a(r_{*}+1)}}\!-\!\frac{1}{b+ne^{-a}}\big{)} with b:=nλ+γb:=n\lambda+\gamma to study the trend of V1{\tt{V}}_{1} regarding to nn. Let n∗n_{*} be the solution of the equation G′(n)=0G^{\prime}(n)=0, then we have the similar conclusion with that of harmonic decay and polynomial decay by the relationship between n∗n_{*}, r∗r_{*}, and dd, see Table 1 for details. More specifically, under some certain conditions, V1{\tt{V}}_{1} is able to monotonically decrease with nn, refer to Appendix F.1 for details.

2 Variance trends for n>d𝑛𝑑n>d and total risk

Different from the above n<dn<d case, the current n>dn>d regime admits that X~\widetilde{\bm{X}} has at most dd non-zero eigenvalues. In this under-parameterized regime, we are particularly interested in the behavior as n→∞n\to\infty. In Appendix F.2, we prove that V1{\tt{V}}_{1} approaches to zero as n→∞n\to\infty under the above three eigenvalue decays.

Based on the above discussions in the n>dn>d and n<dn<d regimes, we conclude that, the variance can be unimodal (small regularization) or decreasing (large regularization) as nn grows, which, together with the fact that the bias is monotonically decreasing with nn, leads to the following three configurations for the total risk: (i) if the bias dominates at small nn and then decays fast (i.e., with a small regularization), we observe a double descent curve as in Figure 1(b); (ii) if the bias dominates but decays slowly (with a large regularization), the risk curve will be monotonic decreasing as in Figure 1(d); (iii) if the variance dominates, a bell-shaped risk curve as in Figure 1(c) will be observed.

Numerical Results

In this section, experiments are conducted to validate our theoretical resultsThe source code of our implementation can be found in http://www.lfhsgre.org.. Polynomial kernel of degree 33 and Gaussian kernel are evaluated on 1) a synthetic dataset that satisfies our technical assumptions and 2) a subset of the YearPredictionMSD dataset [Cha08] with 1,000 data samples and d=90d=90, to study our derived error bounds for the bias and variance. More experimental results can be found in Appendix G.

Eigenvalue decay equivalence: Here we study the eigenvalue decay of the original polynomial/Gaussian kernel matrices and their linearization XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d on the subset of YearPredictionMSD dataset. Note that, polynomial kernels k(x,x′):=(1+⟨x,x′⟩/d)pk(\bm{x},\bm{x}^{\prime}):=\left(1+\langle\bm{x},\bm{x}^{\prime}\rangle/d\right)^{p} admit β:=p\beta:=p independent of Σd\bm{\Sigma}_{d} (see in Table 4), so we use the linearization βXX ⁣⊤/d\beta\bm{X}\bm{X}^{\!\top}/d for this kernel. Results in Figure 2 demonstrate that, the original nonlinear kernels admit the same eigenvalue decay as XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d. More experimental results on various dataset can be found in Appendix G.1.

Risk curves on synthetic dataset: To quantitatively assess our derived error bounds for the bias and variance, we generate a synthetic dataset under a known fρf_{\rho}, with harmonic decay for the data as an illustrating example. More experimental results on different eigenvalue decays refer to Appendix G.2. To be specific, we assume yi=fρ(xi)+εy_{i}=f_{\rho}(\bm{x}_{i})+\varepsilon with target function fρ(x)=sin⁡(∥x∥22)f_{\rho}(\bm{x})=\sin(\|\bm{x}\|^{2}_{2}) and Gaussian noise ε\varepsilon having zero-mean and unit-variance. The feature dimension dd is set to 500. The samples are generated from xi=Σd1/2ti\bm{x}_{i}=\bm{\Sigma}_{d}^{1/2}\bm{t}_{i} (and thus X ⁣⊤X=T ⁣⊤ΣdT\bm{X}^{\!\top}\bm{X}=\bm{T}^{\!\top}\bm{\Sigma}_{d}\bm{T} with T=[t1,t2,⋯ ,tn] ⁣⊤\bm{T}=[\bm{t}_{1},\bm{t}_{2},\cdots,\bm{t}_{n}]^{\!\top}) by the following steps: (i) take Σd\bm{\Sigma}_{d} as a diagonal matrix with its diagonal entries following with harmonic decay, i.e., (Σd)ii∝n/i(\bm{\Sigma}_{d})_{ii}\propto n/i. (ii) take T\bm{T} as a random orthogonal matrixWe generate a random Gaussian matrix and use the QR decomposition to obtain an orthogonal matrix [YSC+16]. such that T ⁣⊤ΣdT\bm{T}^{\!\top}\bm{\Sigma}_{d}\bm{T} also has a harmonic eigen-decay with T\bm{T} having almost i.i.d entries.

Accordingly, the above generation process satisfies Assumption 3, and also XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d admits the same eigenvalue decay as Σd\bm{\Sigma}_{d}, which can be used to validate our discussion in Section 4. In this setting, the expected excess risk, the bias, and the variance can be directly computed to validate our derived error bounds. The experimental results are validated across 10 trials. Specifically, to disentangle the implicit regularization effect of KRR on the final result, we apply the linearization of the polynomial/Gaussian kernel by setting γ=0\gamma=0 in Eq. (3.1). In this case, the explicit λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} is the only regularization in KRR. In our model, cˉ\bar{c} is empirically set to 0.010.01 to avoid a large λ\lambda when nn is small.

Figures 3 and 4 show results under the harmonic decay setting for the linearization of the polynomial/Gaussian kernel, respectively. We observe that: 1) our error bound V1≍1dNX~nλ{\tt{V}}_{1}\asymp\frac{1}{d}\mathcal{N}^{n\lambda}_{\widetilde{\bm{X}}} exhibits the same trend as the true variance; 2) in this case, the variance dominates and we thus obtain a bell-shaped risk curve that first increases and then decreases; 3) as ϑ\vartheta decreases, λ\lambda increases and the peak point of the variance occurs at smaller and smaller nn; 4) the bias monotonically decreases with nn, which corresponds to our error bound for the bias at a certain O(n−2ϑr)\mathcal{O}(n^{-2\vartheta r}) rate in Theorem 2 by taking r=1r=1 as the used fρf_{\rho} is smooth enough to achieve a good approximation error; 5) in our high-dimensional regimes, different kernels lead to the same convergence rates of the bias, which verifies our results but is different from those in classical learning theory.

Risk curves on the real-world datasets: Figure 5(a) shows the relative mean squared error (RMSE) of kernel ridgeless regression and its linearization in Eq. (3.1) on a subset (1,000 examples) of the YearPredictionMSD dataset averaged on 10 trials. Figure 5(b) shows the classification accuracy of such two methods on the MNIST dataset [LBBH98]. To evaluate the effectiveness of our error bounds, we plot the re-scaled V1≍1dNX~γ{\tt{V}}_{1}\asymp\frac{1}{d}\mathcal{N}^{\gamma}_{\widetilde{\bm{X}}} with λ=0\lambda=0. It can be found that, kernel interpolation estimator generalizes well due to the implicit regularization, i.e., γ≠0\gamma\neq 0, which also exhibits a bell-shaped risk curve as our theoretical results suggest. However, in Figure 5(b), the risk curve monotonically decreases with nn on the MNIST dataset [LBBH98], and at the same time kernel interpolation estimator and its linearization appear to generalize well. This observation may due to the implicit regularization parameter γ\gamma in Eq. (3.1) (of 10−310^{-3} order on this dataset) that plays a fundamental role of “self-regularization”. Accordingly, the proposed analysis provides access to the high-dimensional classification problem that may establish more involved behavior than double descent, despite a clear mismatch between real-world data and the technical Assumption 3, thereby conveying a strong practical motivation for the present analysis.

Conclusion

We derived non-asymptotic expressions for the expected excess risk of kernel ridge regression estimators in the under- and over-determined regimes. The used linearization technique of nonlinear smooth kernel allows us to discuss the impact of implicit and explicit regularization in a systematic manner. Our refined analysis demonstrates that the monotonic bias and unimodal variance are able to exhibit various trends of risk curves. Since it is enough to require that the kernel function is differentiable in a neighborhood, our results further extend to the case of Laplace kernels [RZ19].

Acknowledgements

The research leading to these results has received funding from the European Research Council under the European Union’s Horizon 2020 research and innovation program / ERC Advanced Grant E-DUALITY (787960). This paper reflects only the authors’ views and the Union is not liable for any use that may be made of the contained information. This work was supported in part by Research Council KU Leuven: Optimization frameworks for deep kernel machines C14/18/068; Flemish Government: FWO projects: GOA4917N (Deep Restricted Kernel Machines: Methods and Foundations), PhD/Postdoc grant. This research received funding from the Flemish Government (AI Research Program). This work was supported in part by Ford KU Leuven Research Alliance Project KUL0076 (Stability analysis and performance improvement of deep reinforcement learning algorithms), EU H2020 ICT-48 Network TAILOR (Foundations of Trustworthy AI - Integrating Reasoning, Learning and Optimization), Leuven.AI Institute.

References

Appendix A Examples of kernels and their linearizations

In this section, we present linearization of some typical kernels by Eq. (3.1). Here we assume that α,β,γ≥0\alpha,\beta,\gamma\geq 0 to ensure the positive definiteness of the approximated kernel matrix K~lin\widetilde{\bm{K}}^{\text{lin}}. Table 4 reports the results of three inner-product kernels including polynomial kernel, linear kernel, exponential kernel; as well as a radial kernel: the common-used Gaussian kernel. We can find that α,γ≥0\alpha,\gamma\geq 0. Specifically, β>0\beta>0 avoids a trivial solution.

Appendix B Eigenvalue decay equivalence

In this section, we demonstrate that, in high dimensions, a kernel matrix induced by inner-product kernels or radial kernels admits the same eigenvalue decay as X~=βXX ⁣⊤/d+α11 ⁣⊤\widetilde{\bm{X}}=\beta{\bm{X}\bm{X}^{\!\top}}/{d}+\alpha\bm{1}\bm{1}^{\!\top} and XX ⁣⊤/d{\bm{X}\bm{X}^{\!\top}}/{d}.

For notational simplicity, denote the inner-product kernel matrix Kinner⁡\bm{K}_{\operatorname{inner}} and its linearization Kinner⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{inner}}}; the radial kernel matrix Kradial⁡\bm{K}_{\operatorname{radial}} and its linearization Kradial⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{radial}}}.

The inner-product kernel matrix Kinner⁡\bm{K}_{\operatorname{inner}} admits the same eigenvalue decay as X~\widetilde{\bm{X}} and XX ⁣⊤/d{\bm{X}\bm{X}^{\!\top}}/{d}.

Proof According to Theorem 2.1 in [EK10], the inner-product kernel matrix Kinner⁡\bm{K}_{\operatorname{inner}} can be well approximated by Kinner⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{inner}}} with

in a spectral norm sense, where α\alpha, β\beta, γ\gamma are given in Table 2. As a result, with high probability, the inner-product kernel matrix Kinner⁡\bm{K}_{\operatorname{inner}} and its linearization Kinner⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{inner}}} has the same eigenvalue. That means, Kinner⁡\bm{K}_{\operatorname{inner}} admits the same eigenvalue decay as X~:=βXX ⁣⊤/d+α11 ⁣⊤\widetilde{\bm{X}}:=\beta{\bm{X}\bm{X}^{\!\top}}/{d}+\alpha\bm{1}\bm{1}^{\!\top} via a constant shift γ\gamma.

Next, we shall demonstrate that Kinner⁡\bm{K}_{\operatorname{inner}} admits the same eigenvalue decay as XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d. Since 11 ⁣⊤\bm{1}\bm{1}^{\!\top} is a rank-one matrix with λ1(11 ⁣⊤)=n\lambda_{1}(\bm{1}\bm{1}^{\!\top})=n, with Weyl’s inequality and λn≤λn−1≤…≤λ1\lambda_{n}\leq\lambda_{n-1}\leq\ldots\leq\lambda_{1}, we have

so that the eigenvalue of Kinner⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{inner}}} interlaced with those of βXX ⁣⊤/d+γI\beta{\bm{X}\bm{X}^{\!\top}}/{d}+\gamma\bm{I}. We can thus conclude that the eigenvalue decay of Kinner⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{inner}}} is the same as that of XX ⁣⊤/d{\bm{X}\bm{X}^{\!\top}}/{d} with a constant shift and scaling, which do not effect the trend of eigenvalue decay. Accordingly, the inner-product-type kernel matrix Kinner⁡{\bm{K}}_{\operatorname{inner}} and its linearization Kinner⁡lin⁡~\widetilde{{\bm{K}}^{\operatorname{lin}}_{\operatorname{inner}}}, X~\widetilde{\bm{X}} admit the same eigenvalue decay as XX ⁣⊤/d{\bm{X}\bm{X}^{\!\top}}/{d}, which concludes the proof. ∎ Proposition B.1 also provides a justification to study the eigenvalue decay of a radial kernel matrix. According to Theorem 2.2 in [EK10], the radial kernel matrix Kradial⁡\bm{K}_{\operatorname{radial}} can be well approximated by Kradial⁡lin⁡~\widetilde{{\bm{K}}_{\operatorname{radial}}^{\operatorname{lin}}} with

Accordingly, Kradial⁡{\bm{K}}_{\operatorname{radial}} admits the same eigenvalue decay as XX ⁣⊤/d{\bm{X}\bm{X}^{\!\top}}/{d}.

Appendix C Proof of Lemma 3.1

Proof By virtue of the closed form of the KRR estimator in Eq. (2.2) and ϵ:=y−fρ(X)\bm{\epsilon}:=\bm{y}-f_{\rho}(\bm{X}), we have

Based on the definition of B{\tt{B}}, we decompose B{\tt{B}} as

Appendix D Proof for the bias

The error bound for the bias is given by the following theorem.

(Bias) Under Assumption 4 (source condition with 0<r≤10<r\leq 1), Assumption 5 (capacity condition with 0≤η≤10\leq\eta\leq 1), let 0<δ<1/20<\delta<1/2, taking the regularization parameter λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} with 0≤ϑ≤11+η0\leq\vartheta\leq\frac{1}{1+\eta}, there holds with probability at least 1−2δ1-2\delta, we have

In our error decomposition, ∥fλ−fρ∥LρX22\|f_{\lambda}-f_{\rho}\|^{2}_{\mathcal{L}^{2}_{\rho_{X}}} is independent of data X{\bm{X}} that corresponds to the approximation error in learning theory [CZ07]; while the first term ∥fX,λ−fλ∥LρX22\|f_{\bm{X},\lambda}-f_{\lambda}\|^{2}_{\mathcal{L}^{2}_{\rho_{X}}} depends on X{\bm{X}}, termed as bias-sample error. To prove Theorem 3, we need to bound the approximation error and the bias-sample error as follows.

In learning theory, the approximation error ∥fλ−fρ∥LρX2\|f_{\lambda}-f_{\rho}\|_{\mathcal{L}^{2}_{\rho_{X}}} can be estimated by the source condition in Assumption 4.

(Lemma 3 in [SZ07]) Under the source condition in Assumption 4 with 0<r≤10<r\leq 1, the approximation error can be given by

D.2 Bound bias-sample error

To bound the bias-sample error ∥fX,λ−fλ∥LρX2\|f_{\bm{X},\lambda}-f_{\lambda}\|_{\mathcal{L}^{2}_{\rho_{X}}}, we need the following lemma.

(Lemma 17 in [LGZ17]) For any 0<δ<10<\delta<1, it holds with probability at least 1−δ1-\delta that

where κ:=max⁡{1,sup⁡x∈Xk(x,x)}\kappa:=\max\{1,\sup_{\bm{x}\in X}\sqrt{k(\bm{x},\bm{x})}\}.

Then the bias-sample error can be decomposed into several parts.

Proof [Proof of Lemma D.3] According to the definition of fX,λf_{\bm{X},\lambda} and fλf_{\lambda}, we have

Due to (A+λI)−1A=I−λ(A+λI)−1(A+\lambda I)^{-1}A=I-\lambda(A+\lambda I)^{-1} for any bounded positive operator AA, we have

Further, by virtue of the first order decomposition of operator difference: A−1−B−1=A−1(B−A)B−1A^{-1}-B^{-1}=A^{-1}(B-A)B^{-1} for any invertible bounded operator and using the source condition in Assumption 4, the above equation can be further expressed as

Besides, using ∥ABt∥≤∥A∥1−t∥AB∥t\|AB^{t}\|\leq\|A\|^{1-t}\|AB\|^{t} with t∈t\in for any bounded linear operator AA and positive semi-definite operator BB in Proposition 9 in [RR17], we have

where we choose A:=(LK+λI)−1/2(LK−LK,X)A:=(L_{K}+\lambda I)^{-1/2}(L_{K}-L_{K,\bm{X}}), B:=(LK+λI)−1B:=(L_{K}+\lambda I)^{-1}, and t:=1−r∈[0,1)t:=1-r\in[0,1). Accordingly, we can conclude our proof due to ∥(LK,X+λI)−1/2∥≤1/λ\|(L_{K,\bm{X}}+\lambda I)^{-1/2}\|\leq 1/\sqrt{\lambda} and ∥(LK+λI)−rLKr∥≤1\|(L_{K}+\lambda I)^{-r}L_{K}^{r}\|\leq 1. ∎ Remark: The proof framework of Lemma D.3 is similar to Lemma 4 in [RR17] but we consider a more general case 0<r≤10<r\leq 1 than 1/2≤r≤11/2\leq r\leq 1 in [RR17]. Although 0<r<1/20<r<1/2 appears to be unattainable as claimed in [RR17], we follow with [LGZ17, GSW17] on a quite general case with r>0r>0.

To prove Theorem 3, we also need the following two lemmas.

(Proposition 6 in [RR17]) Let δ∈(0,1/2]\delta\in(0,1/2], it holds with probability at least 1−2δ1-2\delta that

For any 0<δ<10<\delta<1, with probability at least 1−δ1-\delta, we have

Proof [Proof of Lemma D.5] By virtue of a second order decomposition of operator difference in Lemma 16 [LGZ17], we have

Accordingly, denote A:=LK,X+λIA:=L_{K,\bm{X}}+\lambda I and B:=LK+λIB:=L_{K}+\lambda I, we can derive that

where A:=2κnλ{κnλ+N(λ)}log⁡(2/δ)\mathcal{A}:=\frac{2\kappa}{\sqrt{n\lambda}}\left\{\frac{\kappa}{\sqrt{n\lambda}}+\sqrt{\mathcal{N}(\lambda)}\right\}\log(2/\delta) by Lemma D.2. The first inequality holds by ∥AsBs∥≤∥AB∥s\|A^{s}B^{s}\|\leq\|AB\|^{s} with 0≤s≤10\leq s\leq 1 for positive operators AA and BB on Hilbert spaces [BK10]. The second inequality can be derived by Eq. (D.1), ∥(LK,X+λI)−1∥≤1/λ\|(L_{K,\bm{X}}+\lambda I)^{-1}\|\leq 1/\lambda and ∥(LK+λI)−1/2∥≤1/λ\|(L_{K}+\lambda I)^{-1/2}\|\leq 1/\sqrt{\lambda}. ∎ Remark: Lemma 7.2 in [RCR13] gives ∥(LK,X+λI)−1/2(LK+λI)1/2∥≤2\|(L_{K,\bm{X}}+\lambda I)^{-1/2}(L_{K}+\lambda I)^{1/2}\|\leq\sqrt{2} by assuming λ>9nlog⁡nδ\lambda>\frac{9}{n}\log\frac{n}{\delta}; whereas our result does not require extra conditions on λ\lambda.

Based on the above lemmas, we are ready to prove Theorem 3.

Proof [Proof of Theorem 3] We first estimate ∥(LK,X+λI)−1/2(LK+λI)1/2∥\|(L_{K,\bm{X}}+\lambda I)^{-1/2}(L_{K}+\lambda I)^{1/2}\| in Lemma D.5 by taking λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta} and the capacity condition in Assumption 5: N(λ)≤Q2λ−η\mathcal{N}(\lambda)\leq Q^{2}\lambda^{-\eta} with η∈\eta\in. Accordingly, we have

where we use log⁡r(2/δ)≤log⁡(2/δ)\log^{r}(2/\delta)\leq\log(2/\delta) due to log⁡(2/δ)>1\log(2/\delta)>1 in the last inequality. Since ∥(LK,X+λI)−1/2(LK+λI)1/2∥\|(L_{K,\bm{X}}+\lambda I)^{-1/2}(L_{K}+\lambda I)^{1/2}\| converges to zero when nn is large enough, we require ϑ<11+η\vartheta<\frac{1}{1+\eta} to ensure a positive convergence rate, which implies ϑ≤1\vartheta\leq 1. Then we bound ∥(LK+λI)−1/2(LK−LK,X)∥r\|(L_{K}+\lambda I)^{-1/2}(L_{K}-L_{K,\bm{X}})\|^{r} by Lemma D.2. By virtue of (a+b)r≤ar+br(a+b)^{r}\leq a^{r}+b^{r} for any r∈(0,1]r\in(0,1] and a,b≥0a,b\geq 0, we have

where the second one admits by the capacity condition in Assumption 5. Similarly, to bound ∥(LK+λI)−1/2(LK−LK,X)(LK+λI)−1∥1−r\|(L_{K}+\lambda I)^{-1/2}(L_{K}-L_{K,\bm{X}})(L_{K}+\lambda I)^{-1}\|^{1-r} by Lemma D.4, we can derive that

Combining the above three inequalities, we have

where CR,Q,κ,cˉ~:=4Rκ3(Q+κ)2/cˉ3\widetilde{C_{R,Q,\kappa,\bar{c}}}:=4R\kappa^{3}(Q+\kappa)^{2}/\bar{c}^{3} is independent of nn and dd.

where the third inequality holds by 2ϑr≤1−ϑ(ηr+1−2r)2\vartheta r\leq 1-\vartheta(\eta r+1-2r) due to ϑ≤11+η\vartheta\leq\frac{1}{1+\eta}, and C~,C1~\widetilde{C},\widetilde{C_{1}} are some constants independent of nn and dd. Accordingly, we can conclude the proof. ∎

Appendix E Proof for the variance

Formally, we have the following theorem to bound the variance.

(Variance) Under Assumptions 2, 3, then for 0<δ<10<\delta<1 with probability 1−δ−d−21-\delta-d^{-2}, θ=12−28+m\theta=\frac{1}{2}-\frac{2}{8+m}, and dd large enough, for any given ε>0\varepsilon>0, we have

where V1:=σ2βdNX~nλ+γ{\tt{V}}_{1}:=\frac{\sigma^{2}\beta}{d}\mathcal{N}^{n\lambda+\gamma}_{\widetilde{\bm{X}}} and V2{\tt{V}}_{2} is the residual term with

For inner-product kernels, our proof framework follows [LR20], and is briefly discussed in Section E.1. Nevertheless, error bound on radial kernels has not been investigated in [LR20] and is more subtle to handle (than that of inner-product kernels) due to the additionally introduced A\bm{A} and A⊙A\bm{A}\odot\bm{A} in Table 2. Accordingly, we mainly focus on proofs for radial kernels.

In this subsection, we consider the inner-product kernel case with k(x,x′)=h(⟨x,x′⟩/d)k(\bm{x},\bm{x}^{\prime})=h\left(\langle\bm{x},\bm{x}^{\prime}\rangle/d\right). We briefly introduce our results that can be derived from proofs of Theorem 2 in [LR20] for completeness.

and klin⁡(X,x)k^{\operatorname{lin}}(\bm{X},\bm{x}) is the transpose of klin⁡(x,X)k^{\operatorname{lin}}(\bm{x},\bm{X}). Note that γ\gamma in Klin⁡~\widetilde{\bm{K}^{\operatorname{lin}}} corresponds to the implicit regularization and nλn\lambda corresponds to the explicit regularization. Now we prove Theorem 4 for inner-product kernels. Proof [Proof of Theorem 4 for inner-product kernels] According to the definition of V, we have

where the first inequality comes from Assumption 2. To bound the terms in Eq. (E.2), we need

Combining the above results, with probability at least 1−δ−d−21-\delta-d^{-2}, for any given ε>0\varepsilon>0, The error bound for the variance in Eq. (E.2) can be further given by

E.2 Radial kernel matrices

In this subsection, we consider the radial kernel case with k(x,x′)=h(1d∥x−x′∥22)k(\bm{x},\bm{x}^{\prime})=h\left(\frac{1}{d}\|\bm{x}-\bm{x}^{\prime}\|_{2}^{2}\right). Since the linearization of radial kernel matrices incurs in two additionally terms A\bm{A} and A⊙A\bm{A}\odot\bm{A}, estimation for radial kernels is more technical than that of inner-product kernels. Accordingly, to prove Theorem 4 for radial kernels, we need to introduce the following notations and auxiliary results.

Recall τ:=tr⁡(Σd)/d\tau:=\operatorname{tr}(\bm{\Sigma}_{d})/d, define

where A(x,X):=ψx+[ψ1,ψ2,⋯ ,ψn] ⁣⊤\bm{A}(\bm{x},\bm{X}):=\psi_{\bm{x}}+[\psi_{1},\psi_{2},\cdots,\psi_{n}]^{\!\top} with ψx=∥x∥22/d−τ\psi_{\bm{x}}=\|\bm{x}\|^{2}_{2}/d-\tau and ψi=∥xi∥22/d−τ\psi_{i}=\|\bm{x}_{i}\|^{2}_{2}/d-\tau for i=1,2,…,ni=1,2,\ldots,n. As discussed in Appendix B, we conclude that Klin⁡~\widetilde{\bm{K}^{\operatorname{lin}}} admits the same eigenvalue decay as X~\widetilde{\bm{X}} since A\bm{A} is a rank-2 matrix. Accordingly, we have the following results.

Note that, the matrix diag(Σd)1n ⁣⊤\mathop{\rm diag}(\bm{\Sigma}_{d})\bm{1}_{n}^{\!\top} is a rank-one matrix, which implies rank⁡(XΣd1/2diag(Σd)1n ⁣⊤)≤1\operatorname{rank}(\bm{X}\bm{\Sigma}_{d}^{1/2}\mathop{\rm diag}(\bm{\Sigma}_{d})\bm{1}_{n}^{\!\top})\leq 1. Accordingly, its non-zero eigenvalue λ1(XΣd1/2diag(Σd)1n ⁣⊤)\lambda_{1}(\bm{X}\bm{\Sigma}_{d}^{1/2}\mathop{\rm diag}(\bm{\Sigma}_{d})\bm{1}_{n}^{\!\top}) admits

Proof [Proof of Proposition E.2] By virtue of the following results [EK10]

Given a radial kernel, under Assumption 3, for θ=12−28+m\theta=\frac{1}{2}-\frac{2}{8+m}, we have with probability at least 1−d−21-d^{-2} with respect to the draw of X\bm{X}, for dd large enough, for any given ε>0\varepsilon>0, we have

where C1~\widetilde{C_{1}} is some constant independent of nn and dd.

Remark: In fact, we only need the (5+m)(5+m)-moment in Assumption 3 but we still follow with it for simplicity.

Proof [Proof of Lemma E.3] We start with the entry-wise Taylor expansion for the smooth kernel at 2τ2\tau with τ:=tr⁡(Σd)/d\tau:=\operatorname{tr}(\bm{\Sigma}_{d})/d

where ψj=∥xj∥22/d−τ\psi_{j}=\|\bm{x}_{j}\|^{2}_{2}/d-\tau for j=1,2,…,nj=1,2,\dots,n as defined before. Accordingly, by virtue of klin⁡(x,xj)=βx ⁣⊤xjd−β2(ψx+ψj)k^{\operatorname{lin}}(\bm{x},\bm{x}_{j})=\frac{\beta\bm{x}^{\!\top}\bm{x}_{j}}{d}-\frac{\beta}{2}(\psi_{\bm{x}}+\psi_{j}) and Corollary 2 in [EK10], with probability at least 1−d−21-d^{-2}, for any ε>0\varepsilon>0, we have

where we only need (5+m)(5+m)-moment. Therefore, with probability at least 1−d−21-d^{-2}, for any given ε>0\varepsilon>0, we have

where C1~\widetilde{C_{1}} and C2~\widetilde{C_{2}} are some constant independent of nn and dd. ∎

E.2.2 Proofs of Theorem 4 for radial kernels

In [EK10], the approximation error between radial kernel matrices and their linearization can be decomposed into three parts: the first-order term A1A_{1}, the second-order term A2A_{2}, and the third-order term A3A_{3}

where A1A_{1} and A3A_{3} admit ∥A1∥2≤d−θlog⁡2+4εd\|A_{1}\|_{2}\leq d^{-\theta}\log^{2+4\varepsilon}d and ∥A3∥2≤d−θlog⁡2+4εd\|A_{3}\|_{2}\leq d^{-\theta}\log^{2+4\varepsilon}d. The second-order term A2A_{2} admits Pr⁡(∥A2∥≤d−θδ−1/2)≤δ\operatorname{Pr}(\|A_{2}\|\leq d^{-\theta}\delta^{-1/2})\leq\delta by Proposition A.2 in [LR20] and [EK10]. Accordingly, with probability at least 1−δ−d−21-\delta-d^{-2}, for θ=12−28+m\theta=\frac{1}{2}-\frac{2}{8+m} and any given ε>0\varepsilon>0, we have

According to Proposition E.1 and E.2, we have

It can be found that, the above error bounds are the same as that of inner-product kernels, except two additional terms due to the considered A\bm{A} and A⊙A\bm{A}\odot\bm{A} in the linearization, which can be shown small in the large n,dn,d regime.

By virtue of ∥(K+nλI)−1∥2≤2nλ+γ\left\|(\bm{K}+n\lambda\bm{I})^{-1}\right\|_{2}\leq\frac{2}{n\lambda+\gamma} and ∥(K+nλI)−1Klin⁡~∥2≤2\left\|(\bm{K}+n\lambda\bm{I})^{-1}\widetilde{\bm{K}^{\operatorname{lin}}}\right\|_{2}\leq 2 in [LR20], Lemma E.3, and the above equations, with probability at least 1−δ−d−21-\delta-d^{-2}, for any given ε>0\varepsilon>0, we have

where the second inequality admits by Lemma E.3, and the last inequality follows by Eq. (E.5). Finally, we conclude the proof. ∎

Appendix F Proof of Proposition 4.1

In this section, we discuss NX~nλ+γ\mathcal{N}^{n\lambda+\gamma}_{\widetilde{\bm{X}}} based on three eigenvalue decays: harmonic decay, polynomial decay, and exponential decay under two regimes n<dn<d and n>dn>d.

Recall b:=nλ+γ>0b:=n\lambda+\gamma>0, and NX~b:=∑i=1nλi(X~)[b+λi(X~)]2\mathcal{N}^{b}_{\widetilde{\bm{X}}}:=\sum_{i=1}^{n}\frac{\lambda_{i}(\widetilde{\bm{X}})}{\left[b+\lambda_{i}(\widetilde{\bm{X}})\right]^{2}}, define F(λi):=λi(b+λi)2F(\lambda_{i}):=\frac{\lambda_{i}}{(b+\lambda_{i})^{2}} where λi\lambda_{i} is short for λi(X~)\lambda_{i}(\widetilde{\bm{X}}). We notice that, when λi≤b\lambda_{i}\leq b, F(λi)F(\lambda_{i}) is an increasing function of λi\lambda_{i}, and thus a decreasing function of ii when the above three eigenvalue decays are considered. Likewise, when λi≥b\lambda_{i}\geq b, F(λi)F(\lambda_{i}) is a decreasing function of λi\lambda_{i}, and thus an increasing function of ii. Without loss of generality, we assume that the first qq eigenvalues satisfy λi≥b\lambda_{i}\geq b with i=1,2,⋯ ,qi=1,2,\cdots,q and the remaining n−qn-q eigenvalues satisfy λi≤b\lambda_{i}\leq b with i=m+1,m+2⋯ ,ni=m+1,m+2\cdots,n. Clearly, the integer qq can be chosen from to nn. Accordingly, denote r∗:=rank⁡(X~)r_{*}:=\operatorname{rank}(\widetilde{\bm{X}}) which includes the rank-deficient case, NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} can be upper bounded by the Riemann sum as follows.

Harmonic decay λi(X~)∝n/i\lambda_{i}(\widetilde{\bm{X}})\propto n/i for i∈{1,2,…,r∗}i\in\{1,2,\dots,r_{*}\} and λi(X~)=0\lambda_{i}(\widetilde{\bm{X}})=0 for i∈{r∗+1,…,n}i\in\{r_{*}+1,\dots,n\}

Polynomial decay: λi(X~)∝ni−2a\lambda_{i}(\widetilde{\bm{X}})\propto ni^{-2a} with a>1/2a>1/2 for i∈{1,2,…,r∗}i\in\{1,2,\dots,r_{*}\} and λi(X~)=0\lambda_{i}(\widetilde{\bm{X}})=0 for i∈{r∗+1,…,n}i\in\{r_{*}+1,\dots,n\}. Hence, we actually aim to bound

Exponential decay: λi(X~)∝ne−ai\lambda_{i}(\widetilde{\bm{X}})\propto ne^{-ai} with a>0a>0 for i∈{1,2,…,r∗}i\in\{1,2,\dots,r_{*}\} and λi(X~)=0\lambda_{i}(\widetilde{\bm{X}})=0 for i∈{r∗+1,…,n}i\in\{r_{*}+1,\dots,n\}.

Note that, the monotonicity of NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} (also V1{\tt{V}}_{1}) with respect to nn is relatively clear for harmonic decay and polynomial decay but is unclear in the case of exponential decay. Here we study the monotonicity in the exponential decay. Denote the function G(n):=\big{(}\frac{1}{b+ne^{-a(r_{*}+1)}}\!-\!\frac{1}{b+ne^{-a}}\big{)} with b:=nλ+γb:=n\lambda+\gamma, taking λ:=cˉn−ϑ\lambda:=\bar{c}n^{-\vartheta}, its derivation is

It can be found that both H1(n)H_{1}(n) and H2(n)H_{2}(n) are decreasing functions with nn. More specifically, their maximum and minimum can be achieved with

Accordingly, if H1(1)<H2(1)H_{1}(1)<H_{2}(1), we obtain a decreasing function G(n)G(n) of nn, which implies that NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} will decrease with nn. Here the condition H1(1)<H2(1)H_{1}(1)<H_{2}(1) indicates

Accordingly, if the above inequality holds, NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} will decrease with nn. In Section G.2, we will experimentally check whether this condition holds or not.

F.2 n>d𝑛𝑑n>d case and the large n𝑛n limit

In this section, we consider the n>dn>d case, and further study the trend of V1{\tt{V}}_{1} as n→∞n\rightarrow\infty. Note that, in this case, XX ⁣⊤/d{\bm{X}\bm{X}^{\!\top}}/{d} has at most r∗≤dr_{*}\leq d non-zero eigenvalues. Accordingly, the Riemann sum is counted to r∗r_{*} instead of nn. Similar to the above description, we also consider the following three eigenvalue decays.

Harmonic decay λi(X~)∝n/i\lambda_{i}(\widetilde{\bm{X}})\propto n/i, i∈{1,2,⋯ ,d}i\in\{1,2,\cdots,d\}

In particular, taking the limit of n→∞n\rightarrow\infty, we have

Accordingly, by the squeeze theorem, we can conclude, given dd, NX~b\mathcal{N}^{b}_{\widetilde{\bm{X}}} tends to zero when n→∞n\rightarrow\infty.

Polynomial decay: λi(X~)∝ni−2a\lambda_{i}(\widetilde{\bm{X}})\propto ni^{-2a} with a>1/2a>1/2, i∈{1,2,⋯ ,d}i\in\{1,2,\cdots,d\}

Exponential decay: λi(X~)∝ne−ai\lambda_{i}(\widetilde{\bm{X}})\propto ne^{-ai} with a>0a>0, i∈{1,2,⋯ ,d}i\in\{1,2,\cdots,d\}

Taking the limit of n→∞n\rightarrow\infty, we can directly have lim⁡n→∞1dNX~b=0\lim\limits_{n\rightarrow\infty}\frac{1}{d}\mathcal{N}^{b}_{\widetilde{\bm{X}}}=0.

Appendix G Additional Experiments

In this section, we present additional experiments including the following parts:

In Section G.1, we add the MNIST dataset [LBBH98] to verify the eigenvalue decay equivalence, and evaluate the effect by different orders in polynomial kernel.

In Section G.2, our model works in a polynomial kernel setting under the polynomial decay and exponential decay of X~\widetilde{\bm{X}} on the synthetic dataset.

Apart from the YearPredictionMSD dataset in the main text, we add the MNIST dataset [LBBH98] to verify the eigenvalue decay equivalence. We also compute eigenvalues of X~:=βXX ⁣⊤/d+α11 ⁣⊤\widetilde{\bm{X}}:=\beta\bm{X}\bm{X}^{\!\top}/d+\alpha\bm{1}\bm{1}^{\!\top} for validation. Here the parameters α\alpha depends on the covariate Σd\bm{\Sigma}_{d}, which can be empirically estimated by the sample covariance 1n∑i=1n(xi−1n∑j=1nxj)(xi−1n∑j=1nxj) ⁣⊤\frac{1}{n}\sum_{i=1}^{n}(\bm{x}_{i}-\frac{1}{n}\sum_{j=1}^{n}\bm{x}_{j})(\bm{x}_{i}-\frac{1}{n}\sum_{j=1}^{n}\bm{x}_{j})^{\!\top}.

Results on the polynomial kernel with order 3 and the Gaussian kernel are presented in Figure 6 and 7, respectively. It can be observed that, the nonlinear kernel matrix K\bm{K} admits almost the same eigenvalue as X~:=βXX ⁣⊤/d+α11 ⁣⊤\widetilde{\bm{X}}:=\beta\bm{X}\bm{X}^{\!\top}/d+\alpha\bm{1}\bm{1}^{\!\top} with a constant shift γ\gamma, and accordingly exhibits the same eigenvalue decay with X~\widetilde{\bm{X}} and XX ⁣⊤/d\bm{X}\bm{X}^{\!\top}/d.

Besides, to study eigenvalue decay effected by the order in polynomial kernels, we present results of the order p=5p=5 and p=10p=10 in Figure 8. Experimental results show that, there is some gap between the original kernel and its linearization in higher orders. This is because, nonlinear kernel approximated by linear model here is based on Taylor expansion, which would incur in some residual errors as higher order in polynomial kernels brings in stronger non-linearity.

G.2 Results on the synthetic dataset

Here we evaluate our model with the polynomial kernel on the synthetic dataset under the polynomial/exponential decay of Σd\bm{\Sigma}_{d}. The data generation process follows with our experiments part in the main text such that X~\widetilde{\bm{X}} admits the polynomial/exponential decay.

Results on the polynomial decay and the exponential decay are shown in Figure 9 and Figure 10, respectively. We find that, the bias achieves the certain O(n−2ϑr)\mathcal{O}(n^{-2\vartheta r}) convergence rate on both decays; while the variance shows different configurations on these two decays. To be specific, the tend of V1{\tt{V}}_{1} on the polynomial decay is unimodal, and thus the risk curve is bell-shaped. However, in Figure 10, V1{\tt{V}}_{1} on the exponential decay monotonically decreases with nn even if we set cˉ\bar{c} to 10−510^{-5}, 10−810^{-8} for a small regularization scheme.

Here we attempt to explain this phenomenon. In our setting, γ\gamma is set to zero. The condition in Eq. (F.2) can be reformulated as

Clearly, if we choose 0<ϑ<1/20<\vartheta<1/2, the condition in Eq. (F.2) always holds. Hence, V1{\tt{V}}_{1} will monotonically decreases with nn. If 1/2<ϑ<11/2<\vartheta<1, we examine our result with a=1a=1 and ϑ=2/3\vartheta=2/3. We conclude that the used cˉ=0.01<e−1\bar{c}=0.01<e^{-1}, so the tend of V1{\tt{V}}_{1} is monotonically decreasing with nn.