From a Risk Inequality to a Rate
A kernel ridge rate is not determined by regularization alone. The prediction error has two competing contributions: regularization leaves some of a smooth target unrepresented, while estimating the target from noisy observations incurs variance. A proof of a rate makes both contributions explicit, bounds each in terms of the regularization parameter, and then chooses that parameter to balance them.
This tutorial proves that calculation under a precise finite-sample risk inequality. The inequality is the statistical input: it must be justified by appropriate sampling, noise, and concentration conditions for the problem at hand. The rate proof then combines a source condition for the target with a bound on effective dimension. Keeping these roles distinct makes clear both what the rate argument proves and what must be checked before applying it.
The effective dimension counts directions in which the operator eigenvalue is large relative to \(\lambda\), with a gradual rather than a hard cutoff. The sum is finite whenever, for example, \(T\) is trace class: in that case \(\mathcal{N}(\lambda)\leq \operatorname{tr}(T)/\lambda\). It is not finite for every positive \(\lambda\) under arbitrary eigenvalue assumptions. We will explicitly impose conditions that guarantee finiteness.
The Risk Input and the Source Bias
Write \(\|h\|_{L^2(P_X)}^2=E[h(X)^2]\) for prediction risk. For the theorem below, assume the sampling and noise conditions in use provide the following oracle inequality at a fixed confidence level:
The first term has the expected source-condition order. To see the underlying bias calculation, consider the population-regularized target \(f_\lambda=T(T+\lambda I)^{-1}f_*\). Expand \(g=\sum_j g_j\phi_j\) in the eigenbasis. For positive eigenvalues, the coefficient of \(f_\lambda-f_*\) in direction \(\phi_j\) is \(-\lambda\mu_j^r g_j/(\mu_j+\lambda)\). Thus
The inequality holds because \(t^r/(1+t)\leq 1\) for \(t\geq0\) and \(0<r\leq1\): for \(t\leq1\), \(t^r\leq1\); for \(t\geq1\), \(t^r/(1+t)\leq t^{r-1}\leq1\). A component of \(g\) in the null space of \(T\) contributes zero to \(T^r g\) and to this bias calculation. The restriction \(r\leq1\) is important: this calculation does not give the same bound for arbitrarily large source exponents.
Worked Example: Checking the Source Bias Coordinate by Coordinate
Take a single eigen-direction with eigenvalue \(\mu=4\), source coefficient \(g_1=3\), exponent \(r=1/2\), and regularization \(\lambda=1\). The target coefficient is \(\mu^r g_1=2\cdot3=6\), while the population-regularized coefficient is \(\mu(\mu+\lambda)^{-1}\cdot6=(4/5)\cdot6=24/5\).
The squared coefficient error is \((6-24/5)^2=(6/5)^2=36/25=1.44\). The source bound for this one direction is \(\lambda^{2r}|g_1|^2=1^1\cdot9=9\), so the calculated error is indeed below the bound. More generally, the scalar multiplier in the error is \(\lambda\mu^r/(\mu+\lambda)\); the preceding inequality bounds it by \(\lambda^r\), independently of the eigenvalue.
Bounding Effective Dimension from Eigenvalue Decay
Assume the positive eigenvalues satisfy, for constants \(C_\mu>0\) and \(0<\beta<1\), \(\mu_j\leq C_\mu j^{-1/\beta}\). This polynomial decay is strong enough to make the effective dimension finite and to control its growth as \(\lambda\) decreases.
Proof. Put \(q=(C_\mu/\lambda)^\beta\geq1\) and \(J=\lceil q\rceil\). For \(j\leq J\), each summand \(\mu_j/(\mu_j+\lambda)\) is at most one, so those terms sum to at most \(J\leq2q\). For \(j>J\), \(\mu_j/(\mu_j+\lambda)\leq\mu_j/\lambda\leq(C_\mu/\lambda)j^{-1/\beta}\). Since \(1/\beta>1\), the integral bound for the decreasing function \(x^{-1/\beta}\) gives
The final inequality uses \(J\geq q\) and \(1-1/\beta<0\); hence \(J^{1-1/\beta}\leq q^{1-1/\beta}\). Also \((C_\mu/\lambda)q^{1-1/\beta}=q\). Adding the first \(J\) terms proves the lemma. The condition \(\beta<1\) is what makes the integral finite. \(\square\)
Worked Example: Effective Dimension for a Polynomial Spectrum
Suppose \(\mu_j=4j^{-2}\). This has \(C_\mu=4\) and \(\beta=1/2\), since \(j^{-2}=j^{-1/\beta}\). For \(0<\lambda\leq4\), the lemma gives
For example, at \(\lambda=1/4\), this upper bound is \(6(1/4)^{-1/2}=12\). This is an upper bound on the sum, not a claim that the sum equals 12. In particular, the proof accounts for the infinitely many small eigenvalues through the convergent tail rather than discarding them.
Kernel Ridge Rate Theorem
The bias term decreases with \(\lambda\), while the effective-dimension term increases as \(\lambda\) shrinks. Combining the preceding results yields the rate.
Proof. Since \(\lambda_n\to0\), for all sufficiently large \(n\) it satisfies both \(\lambda_n\leq\lambda_0\) and \(\lambda_n\leq C_\mu\). Apply the risk inequality and the effective-dimension lemma:
The variance power simplifies as \(n^{\beta/(2r+\beta)}/n=n^{-2r/(2r+\beta)}\). Both terms therefore have the claimed order, and their fixed coefficients can be combined into \(C\). The probability statement is inherited from the assumed risk inequality. \(\square\)
Worked Example: Balancing the Two Terms Numerically
Continue with eigenvalues \(\mu_j=4j^{-2}\), so that \(\beta=1/2\) and \(\mathcal{N}(\lambda)\leq6\lambda^{-1/2}\). Let \(r=1/2\), \(\|g\|_{L^2(P_X)}^2=1\), and take \(C_b=C_v=\sigma^2=1\). The resulting risk bound is \(\lambda+6n^{-1}\lambda^{-1/2}\).
Differentiate with respect to \(\lambda>0\): \[ \frac{d}{d\lambda}\left(\lambda+6n^{-1}\lambda^{-1/2}\right) =1-3n^{-1}\lambda^{-3/2}. \] Setting this to zero gives \(\lambda^{3/2}=3/n\), hence \(\lambda=(3/n)^{2/3}\). Substituting this value,
Thus the optimized bound has order \(n^{-2/3}\), matching \(n^{-2r/(2r+\beta)}=n^{-1/(1+1/2)}=n^{-2/3}\). The exact constant here comes from the stated upper bound and is not asserted to be the smallest possible risk constant.
Why Finiteness Is a Necessary Check
An eigenvalue-decay condition is not a cosmetic part of this argument. It makes the variance quantity finite and controls its growth. For instance, take \(\mu_j=1/j\). For any fixed \(\lambda>0\), whenever \(j\geq\lceil1/\lambda\rceil\), we have \(\lambda j\geq1\), and
The sum of \(1/j\) diverges, so \(\mathcal{N}(\lambda)=\infty\). The effective-dimension variance bound cannot then yield a finite risk rate. This sequence has decay exponent \(\beta=1\), outside the lemma's condition \(0<\beta<1\), and is not trace class. One must not invoke the polynomial-decay conclusion for it. A suitable stronger decay assumption, or another argument establishing finite effective dimension, is needed.
The theorem’s rate is determined by the exponents in its two terms: source smoothness contributes \(\lambda^{2r}\), and polynomial eigenvalue decay contributes \(n^{-1}\lambda^{-\beta}\). Equating their orders gives \(\lambda\asymp n^{-1/(2r+\beta)}\) and prediction risk \(n^{-2r/(2r+\beta)}\). This conclusion is conditional on the finite-sample risk inequality; verifying that inequality for a particular sampling design and noise model remains essential.
Check Your Understanding
Use the assumptions and calculations above to answer these questions.
- Why does the source-bias calculation require \(r\leq1\) for the stated bound?
- Under \(\mu_j\leq C_\mu j^{-1/\beta}\), why must \(\beta<1\) for the tail integral in the effective-dimension proof to converge?
- If \(r=1/4\) and \(\beta=1/2\), what powers of \(n\) do the theorem give for \(\lambda_n\) and prediction risk?
- What additional statistical input, beyond eigenvalue decay, is required to apply the rate theorem to an estimator?
- Why does \(\mu_j=1/j\) prevent the effective-dimension argument from giving a finite variance bound at fixed positive \(\lambda\)?