Why the Minimizer Has a Finite-Dimensional Form
An RKHS can be infinite-dimensional, so optimizing over all its functions may appear to require infinitely many degrees of freedom. But an empirical objective built from finitely many observed input points only evaluates a candidate function at those points. The reproducing property links each such evaluation to one kernel section, making it possible to separate the part of a function that affects the data from the part that does not.
The key is the penalty: if it strictly increases with the RKHS norm, adding a nonzero component that has no effect on the observed evaluations can only make the objective worse. The argument is geometric and does not require a convex loss.
Because \(\mathcal S\) is finite-dimensional, it is a closed subspace of \(\mathcal H\). Every \(f\in\mathcal H\) therefore has a unique orthogonal decomposition \(f=g+h\), where \(g\in\mathcal S\) and \(h\in\mathcal S^\perp\). The component \(g\) is the orthogonal projection of \(f\) onto \(\mathcal S\); \(h\) is the residual.
Projection Preserves the Observed Evaluations
The reproducing property states that \(f(x)=\langle f,k_x\rangle_{\mathcal H}\) for every \(f\in\mathcal H\) and \(x\in\mathcal X\). Since each observed section \(k_{x_i}\) belongs to \(\mathcal S\), any \(h\in\mathcal S^\perp\) is orthogonal to it. Thus \(h(x_i)=0\): the residual vanishes at every observed input.
Proof. Since \(k_{x_i}\in\mathcal S\) and \(h\perp\mathcal S\), the reproducing property gives \(h(x_i)=\langle h,k_{x_i}\rangle_{\mathcal H}=0\). Therefore \(f(x_i)=g(x_i)+h(x_i)=g(x_i)\). Orthogonality of \(g\) and \(h\) gives the Pythagorean identity for the squared norm. If \(h\ne0\), then \(\|h\|_{\mathcal H}^2>0\), so \(\|f\|_{\mathcal H}^2>\|g\|_{\mathcal H}^2\), and hence \(\|f\|_{\mathcal H}>\|g\|_{\mathcal H}\). \(\square\)
This proposition identifies both sides of the argument: projection leaves the data fit unchanged and, unless the residual is zero, strictly reduces the norm. It does not yet say which functions minimize an objective. For that conclusion, the penalty must respond strictly to the norm reduction.
The Representer Theorem by Orthogonal Decomposition
Consider an objective whose empirical loss depends on \(f\) only through its values at the observed inputs. Allow the loss to be any real-valued function \(\Phi\) of those values, and let the norm penalty be \(\Omega(\|f\|_{\mathcal H})\).
Proof. Take any \(f\in\mathcal H\), and decompose it as \(f=g+h\) with \(g\in\mathcal S\) and \(h\in\mathcal S^\perp\). By the proposition, \(f(x_i)=g(x_i)\) at every observed input. Thus the empirical loss is identical at \(f\) and \(g\). If \(h\ne0\), then \(\|g\|_{\mathcal H}<\|f\|_{\mathcal H}\). Strict increase of \(\Omega\), together with \(\lambda>0\), then gives $$ J(g)=\Phi\bigl(f(x_1),\ldots,f(x_n)\bigr)+\lambda\Omega(\|g\|_{\mathcal H}) < \Phi\bigl(f(x_1),\ldots,f(x_n)\bigr)+\lambda\Omega(\|f\|_{\mathcal H}) =J(f). $$ If \(f\) were a minimizer with \(h\ne0\), this strict inequality would contradict its minimality. Every minimizer must therefore have \(h=0\), so it belongs to \(\mathcal S\). By the definition of \(\mathcal S\), it has the stated expansion. \(\square\)
The existence condition matters: the theorem says that any minimizer, if attained, lies in the indicated span. It does not assert that an arbitrary empirical loss and penalty guarantee attainment. Nor does the conclusion say that the coefficients \(\alpha_i\) are unique; the observed kernel sections might be linearly dependent.
Proof. Since \(\mathcal S\subseteq\mathcal H\), the infimum over \(\mathcal H\) is at most the infimum over \(\mathcal S\). Conversely, for every \(f\in\mathcal H\), its projection \(g\in\mathcal S\) satisfies \(J(g)\le J(f)\): the losses agree, and the projection cannot increase the norm, so it cannot increase the penalty. Therefore the infimum over \(\mathcal S\) is at most \(J(f)\) for every \(f\in\mathcal H\), and hence at most the infimum over \(\mathcal H\). The two infima are equal. \(\square\)
Worked Examples
Worked Example: Projection in a Linear-Kernel RKHS
Take \(\mathcal X=\mathbb R^2\) with the linear kernel \(k(x,z)=x^\top z\). Identify an RKHS function with \(f_w(z)=w^\top z\), where \(w=(a,b)\in\mathbb R^2\), and use the Euclidean norm. Suppose the observed inputs and responses are \(x_1=(1,0)\), \(x_2=(2,0)\), \(y_1=1\), and \(y_2=2\). With squared-error loss and a squared-norm penalty of weight \(1\), the objective is $$ J(a,b)=(a-1)^2+(2a-2)^2+a^2+b^2. $$
Both observed kernel sections lie on the first coordinate axis, so \(\mathcal S=\{(a,0):a\in\mathbb R\}\). The loss does not involve \(b\), because both observed inputs have second coordinate zero. Simplifying the objective gives $$ J(a,b)=5(a-1)^2+a^2+b^2 =6\left(a-\frac{5}{6}\right)^2+\frac{5}{6}+b^2. $$
The two squared terms are minimized at \(a=5/6\) and \(b=0\), giving the minimizer \(w^\star=(5/6,0)\) with objective value \(5/6\). In particular, the minimizer lies in \(\mathcal S\). For any fixed \(a\), a nonzero \(b\) leaves both fitted values unchanged but adds \(b^2\) to the objective.
Worked Example: A Nonsquared Norm Penalty
Let the input domain consist of two points \(u,v\). Use the kernel \(k(s,t)=1\) if \(s=t\) and \(k(s,t)=0\) otherwise. Its RKHS consists of functions represented by \((a,b)=(f(u),f(v))\), with norm \(\sqrt{a^2+b^2}\). Observe only \(u\), with response \(2\), and minimize $$ J(a,b)=(a-2)^2+\sqrt{a^2+b^2}. $$ The norm penalty itself, rather than its square, is strictly increasing in the norm.
For fixed \(a\), \(\sqrt{a^2+b^2}\ge |a|\), with equality exactly when \(b=0\). Thus a minimizer must have \(b=0\), and the remaining problem is to minimize \(q(a)=(a-2)^2+|a|\). If \(a\ge0\), then $$ q(a)=a^2-3a+4=\left(a-\frac{3}{2}\right)^2+\frac{7}{4}, $$ so its minimum on that region occurs at \(a=3/2\), with value \(7/4\). If \(a<0\), then \(q(a)=a^2-5a+4\); its derivative \(2a-5\) is negative throughout \(a<0\), so \(q\) decreases toward \(a=0\) and has values greater than \(q(0)=4\) on that region. Since \(7/4<4\), the global minimizer is \((a,b)=(3/2,0)\). The observed section is \(k_u=(1,0)\), and the minimizer lies in its span.
Worked Example: A Nonconvex Empirical Loss
Again take the linear-kernel RKHS on \(\mathbb R^2\), and observe just \(x_1=(1,0)\). Consider the nonconvex empirical loss \(\bigl(f(x_1)^2-1\bigr)^2\), with objective $$ J(a,b)=(a^2-1)^2+\frac{1}{5}(a^2+b^2). $$ The penalty \((1/5)\|f\|_{\mathcal H}^2\) is strictly increasing as a function of \(\|f\|_{\mathcal H}\ge0\).
For any fixed \(a\), the loss is unchanged by \(b\), while the penalty includes \(b^2/5\). Hence a minimizer must have \(b=0\). To minimize over \(a\), set \(t=a^2\), so \(t\ge0\). The objective becomes $$ (t-1)^2+\frac{t}{5} =t^2-\frac{9}{5}t+1 =\left(t-\frac{9}{10}\right)^2+\frac{19}{100}. $$ The minimum is attained at \(t=9/10\), or \(a=\pm\sqrt{9/10}\), and its value is \(19/100\). Both minimizers have \(b=0\), so both lie in \(\mathcal S=\operatorname{span}\{(1,0)\}\). This example shows that convexity of the empirical loss is not needed for the representer conclusion.
What the Result Does—and Does Not—Require
The theorem reduces the search for minimizers to a finite-dimensional subspace generated by the observed kernel sections. The crucial properties are that the empirical loss sees only the observed evaluations and that a nonzero orthogonal residual increases the penalty. The RKHS can remain infinite-dimensional; it is the objective's dependence on finitely many evaluations that makes this particular reduction possible.
A common mistake is to reason that projection “does not change the loss,” then conclude that every minimizer can be projected without changing the objective. The loss is unchanged, but the penalty generally decreases strictly. With a strictly increasing penalty, that means a function with a nonzero orthogonal component is not a minimizer at all. This strictness is what establishes that every minimizer is in the span.
If the penalty is not strictly increasing, that conclusion can fail. For example, in \(\mathbb R^2\), consider the objective \(J(a,b)=(a-1)^2\), which uses one evaluation along the first coordinate and a constant penalty. Every \((1,b)\) is a minimizer, including points outside the first-coordinate span. Projection still produces a minimizer in the span, but it does not force all minimizers to lie there. Also, the theorem’s conclusion applies to evaluation-based losses as stated; if an objective depends on other function information, such as derivatives, the relevant finite-dimensional subspace need not be the span of the observed kernel sections alone.
Check Your Understanding
Use the projection argument and the assumptions of the theorem to answer these questions.
- Why does a function in \(\mathcal S^\perp\) vanish at each observed input?
- Which part of the theorem’s argument uses strict increase of the penalty, and which part uses \(\lambda>0\)?
- Does the theorem guarantee that a minimizer exists? What does it conclude if a minimizer does exist?
- In the two-point example, why can a nonzero value of \(b=f(v)\) not improve the objective?
- What changes in the conclusion if the penalty is constant rather than strictly increasing?