Tutorials › Statistical Learning (Graduate) › Misspecified Targets and Approximation Residuals

Kernel Ridge Rates and Source Conditions · Tutorial 731 of 989

Misspecified Targets and Approximation Residuals

Use scale-dependent approximations to quantify kernel ridge risk when the target is not represented by the kernel.

Advanced 10 min read

What You'll Learn

  • Define the population kernel approximation error when the target is outside the kernel range
  • Separate estimation error from population approximation error in prediction risk
  • Bound regularization bias using a candidate approximant and its residual
  • Identify the irreducible risk floor from the closure of the kernel range
  • Calculate approximation bounds in finite-rank and infinite-dimensional examples

When the Target Is Not Representable by the Kernel

Kernel ridge regression is often analyzed under a source condition that represents the regression function through the kernel operator. But a real target need not belong to the kernel range, and it may not have a representation with a suitably small norm. In that case, the regularization bias cannot be summarized by smoothness alone: it also depends on how well the target can be approximated at the chosen regularization level.

The central object here is a scale-dependent approximation residual. It records both the prediction error of an approximation and the cost of using that approximation in the kernel space. This makes it possible to distinguish three effects: approximation limitations of the kernel, regularization, and estimation from a finite sample.

Population Approximation and Its Residual

Let \(L_2(P_X)\) be the space of square-integrable functions of the predictor, with norm \(\|\cdot\|_{L_2(P_X)}\). Let \(\mathcal H\) be the reproducing kernel Hilbert space, and let \(S:\mathcal H\to L_2(P_X)\) be the inclusion map, assumed bounded. Write \(T=SS^*\) for the corresponding positive covariance operator on \(L_2(P_X)\). Let \(f_*(x)=E[Y\mid X=x]\), assumed to belong to \(L_2(P_X)\).

For \(\lambda>0\), the population kernel ridge solution \(g_\lambda\) minimizes the population squared prediction loss plus the RKHS penalty. Its prediction is denoted by \(f_\lambda=Sg_\lambda\). The approximation residual is the error \(f_*-Sg\) left by a candidate \(g\in\mathcal H\); a useful scale-dependent summary also charges for the candidate's RKHS norm.

Definition: The population approximation functional at regularization level \(\lambda>0\) is $$ A_\lambda(f_*)=\inf_{g\in\mathcal H}\left\{\|f_*-Sg\|_{L_2(P_X)}^2+\lambda\|g\|_{\mathcal H}^2\right\}. $$ The first term is the squared approximation residual, and the second is its regularization cost. The target is in the kernel range if \(f_*=Sg\) for some \(g\in\mathcal H\); it is outside the range otherwise.

The range \(S(\mathcal H)\) need not be closed. Thus a target can be outside the range but still be approximable arbitrarily well in \(L_2(P_X)\), usually at the cost of approximants with increasingly large RKHS norm. The parameter \(\lambda\) controls how much of that cost is acceptable.

Two Bounds for the Population Regularization Error

The population solution exists and is unique for \(\lambda>0\), because its objective is a continuous, strictly convex quadratic functional with a positive norm penalty. Its prediction has the operator representation \(f_\lambda=T(T+\lambda I)^{-1}f_*\). The following comparison shows directly how any candidate approximation controls its residual.

Theorem: For every \(\lambda>0\), $$ \|f_\lambda-f_*\|_{L_2(P_X)}^2\leq A_\lambda(f_*). $$ In addition, for every \(g\in\mathcal H\), with \(e=f_*-Sg\), $$ \|f_\lambda-f_*\|_{L_2(P_X)} \leq \sqrt{\lambda}\,\|g\|_{\mathcal H}+\|e\|_{L_2(P_X)}. $$

Proof. The conditional-mean property gives \(E[(Y-Sg(X))^2]=E[(Y-f_*(X))^2]+\|Sg-f_*\|_{L_2(P_X)}^2\). The first term does not depend on \(g\), so minimizing population squared loss plus \(\lambda\|g\|_{\mathcal H}^2\) is equivalent to minimizing the expression defining \(A_\lambda(f_*)\). At its minimizer, the residual term is no larger than the full objective. Hence \(\|f_\lambda-f_*\|_{L_2(P_X)}^2\leq A_\lambda(f_*)\).

For the second bound, write \(f_*=Sg+e\). The operator formula gives \(f_\lambda-f_*=-\lambda(T+\lambda I)^{-1}(Sg+e)\). Since \(T\) is positive, the spectral theorem implies \(\|\lambda(T+\lambda I)^{-1}\|_{\mathrm{op}}\leq1\). Also, using \(T=SS^*\), \(\|\lambda(T+\lambda I)^{-1}S\|_{\mathrm{op}}\leq\sqrt{\lambda}\): on a spectral value \(t\geq0\), the relevant multiplier is \(\lambda\sqrt{t}/(t+\lambda)\leq\sqrt{\lambda}\). The triangle inequality now yields the stated bound. \(\square\)

The first inequality is often more useful when minimizing over candidate approximations. The second makes the residual-norm tradeoff visible: a small residual is helpful, but an approximant with a very large RKHS norm can be expensive at a fixed \(\lambda\).

Worked Example: A Finite-Rank Kernel Leaves an Irreducible Component

Take \(L_2(P_X)=\mathbb R^2\) with its usual Euclidean norm, and let the kernel range be the first coordinate axis. In this model, write \(Sg=(a,0)\), with \(\|g\|_{\mathcal H}=|a|\). Let \(f_*=(2,3)\). Find the population solution and its prediction error.

The objective, up to the irreducible conditional noise, is \(\|(2,3)-(a,0)\|^2+\lambda a^2=(2-a)^2+9+\lambda a^2\). Differentiating with respect to \(a\) gives \(-2(2-a)+2\lambda a=0\), so \(a_\lambda=2/(1+\lambda)\). The prediction residual is therefore \(f_\lambda-f_*=(-2\lambda/(1+\lambda),-3)\), and its squared norm is $$ \|f_\lambda-f_*\|^2=9+\frac{4\lambda^2}{(1+\lambda)^2}. $$ The second coordinate cannot be represented by this kernel, so its squared error, \(9\), remains even as \(\lambda\) tends to zero. The approximation functional is \(A_\lambda(f_*)=9+4\lambda/(1+\lambda)\): substituting \(a_\lambda\) into the objective gives this value. Its limit is also \(9\), agreeing with the irreducible floor.

Estimation Error Is a Separate Term

The population approximation error describes what regularized population fitting can achieve. A finite-sample estimator has an additional discrepancy because it is fitted to random data. To state the separation precisely, suppose \((X_i,Y_i)_{i=1}^n\) are independent and identically distributed, \(E[Y^2]<\infty\), and \(\hat g\) is a measurable empirical kernel ridge solution with penalty \(\lambda>0\). Define its prediction risk above the regression function by \(E\|S\hat g-f_*\|_{L_2(P_X)}^2\), where the outer expectation is over the training sample.

Theorem: For any population minimizer \(g_\lambda\) and any such empirical estimator, $$ E\|S\hat g-f_*\|_{L_2(P_X)}^2 \leq 2E\|S\hat g-Sg_\lambda\|_{L_2(P_X)}^2 +2\|Sg_\lambda-f_*\|_{L_2(P_X)}^2 \leq 2E\|S\hat g-Sg_\lambda\|_{L_2(P_X)}^2+2A_\lambda(f_*). $$

Proof. For every realized training sample, insert and subtract \(Sg_\lambda\). The Hilbert-space inequality \(\|u+v\|^2\leq2\|u\|^2+2\|v\|^2\) gives \(\|S\hat g-f_*\|^2\leq2\|S\hat g-Sg_\lambda\|^2+2\|Sg_\lambda-f_*\|^2\). Taking expectations over the sample proves the first inequality. The population comparison already proved gives \(\|Sg_\lambda-f_*\|^2\leq A_\lambda(f_*)\), proving the second. \(\square\)

The first term is an estimation discrepancy; the second is population approximation error, including regularization. This inequality does not itself give a rate for the estimation term. Such rates require additional assumptions about the noise and the sample, which are distinct from the approximation question addressed here.

Worked Example: Checking a Candidate Residual Bound

Suppose a candidate \(g\) has \(\|g\|_{\mathcal H}=\sqrt{5}\), its residual has norm \(\|e\|_{L_2(P_X)}=1/5\), and \(\lambda=1/4\). Apply the residual-norm bound and calculate its squared value.

The bound is \(\|f_\lambda-f_*\|\leq\sqrt{1/4}\sqrt{5}+1/5=\sqrt{5}/2+1/5\). Squaring the right-hand side gives $$ \left(\frac{\sqrt{5}}{2}+\frac{1}{5}\right)^2 =\frac{5}{4}+\frac{\sqrt{5}}{5}+\frac{1}{25} \approx 1.25+0.4472+0.04 =1.7372. $$ Thus the squared error is bounded by approximately \(1.737\), not \(1.718\). The bound can be conservative, but the arithmetic in evaluating it must still be exact before rounding.

Approximation Floors and Targets Outside the Range

Let \(\overline{S(\mathcal H)}\) denote the closure of the kernel range in \(L_2(P_X)\), and let \(d=\operatorname{dist}(f_*,\overline{S(\mathcal H)})\). The limiting behavior of \(A_\lambda\) has a simple interpretation: only the component orthogonal to the closure of the range is permanently unapproximable.

Theorem: Under the assumptions above, $$ \lim_{\lambda\downarrow0}A_\lambda(f_*)=d^2. $$ In particular, if \(f_*\notin S(\mathcal H)\) but \(f_*\in\overline{S(\mathcal H)}\), then the approximation floor is zero, even though exact representation is impossible.

Proof. For any \(g\in\mathcal H\), the squared residual is at least \(d^2\), so \(A_\lambda(f_*)\geq d^2\). For the reverse limit, let \(\epsilon>0\). By the definition of closure and distance, choose a fixed \(g_\epsilon\in\mathcal H\) such that \(\|f_*-Sg_\epsilon\|<d+\epsilon\). Consequently, \(A_\lambda(f_*)\leq(d+\epsilon)^2+\lambda\|g_\epsilon\|_{\mathcal H}^2\). Taking the upper limit as \(\lambda\downarrow0\) gives at most \((d+\epsilon)^2\). Letting \(\epsilon\downarrow0\) and combining with the lower bound proves the result. \(\square\)

Worked Example: An Infinite-Rank Target Outside the Range

Consider a diagonal model with eigenvalues \(t_j=2^{-j}\), \(j=1,2,\ldots\), and let the target have coordinates \(f_{*,j}=2^{-j/4}\). The squared target norm is \(\sum_{j\geq1}2^{-j/2}<\infty\), so it belongs to \(L_2\). A range representation would require RKHS coordinates \(g_j=f_{*,j}/\sqrt{t_j}=2^{j/4}\). Their squared sum \(\sum_{j\geq1}2^{j/2}\) diverges, so the target is outside the kernel range. Nevertheless, its finite-coordinate truncations approximate it in \(L_2\).

Match the first \(m\) coordinates exactly and set the remaining coordinates of the candidate to zero. Its residual squared is \(\sum_{j=m+1}^\infty 2^{-j/2}=2^{-m/2}/(\sqrt{2}-1)\), while its RKHS norm squared is \(\sum_{j=1}^m2^{j/2}\). Choose \(\lambda_m=2^{-m}\). Since the latter sum is at most \((\sqrt{2})^{m+1}/(\sqrt{2}-1)\), its penalty is at most \(\sqrt{2}\,2^{-m/2}/(\sqrt{2}-1)\). Therefore $$ A_{\lambda_m}(f_*)\leq \frac{1+\sqrt{2}}{\sqrt{2}-1}\,2^{-m/2}\longrightarrow0. $$ This target cannot be represented exactly, but its best regularized approximation error tends to zero as the regularization level decreases.

Common Pitfall and Practical Interpretation

A common mistake is to label every target outside the RKHS as having a positive, irreducible approximation error. That conclusion is false when the range is not closed. Outside the range means that no finite-norm RKHS element represents the target exactly; it does not mean that the target is separated by positive \(L_2(P_X)\) distance from all kernel predictions. The relevant floor is the distance to the closure of the range.

A second mistake is to treat a decreasing approximation residual as if it were a complete risk bound. A sequence of increasingly accurate approximants may have rapidly growing RKHS norms, and finite-sample estimation error may also increase as regularization weakens. The functional \(A_\lambda(f_*)\) makes the first tradeoff explicit; the estimation term must still be controlled separately. The key question is therefore not simply whether the target belongs to the kernel range, but how residual size, RKHS norm, and sample estimation behave together at the chosen \(\lambda\).

Check Your Understanding

Answer each question by identifying the approximation or risk component involved.

  1. What are the two terms in \(A_\lambda(f_*)\), and what does each measure?
  2. Why can a target outside \(S(\mathcal H)\) still have approximation floor zero?
  3. In the finite-rank example, which coordinate produces the irreducible error, and what is its squared contribution?
  4. What is the distinction between \(E\|S\hat g-Sg_\lambda\|^2\) and \(\|Sg_\lambda-f_*\|^2\)?
  5. For the infinite-rank example, why does the target fail to have a finite-norm range representation despite having finite \(L_2\) norm?
Clinical Biostats