See why an RKHS minimiser uses kernels centred at the data, prove the span reduction, and distinguish a unique function from nonunique coefficients.
Representer theorem
The representer theorem says that, for a broad class of regularised learning problems in a reproducing kernel Hilbert space, every minimising function can be written as a finite sum of kernels centred at the training inputs. For a quant fitting a nonlinear signal or response surface, this turns a potentially infinite-dimensional function search into an optimisation over finitely many scalar coefficients. It does not establish that the fitted signal will predict future returns.
The statement needs an objective
Let H be a real reproducing kernel Hilbert space (RKHS) with kernel k. Fix training inputs x1,…,xn and their labels. Consider
f∈HminJ(f),J(f)=L(f(x1),…,f(xn))+Ω(∥f∥H),
where the labels are held fixed inside L. Assume a finite-valued global minimiser exists and Ω is strictly increasing on [0,∞). Then every global minimiser has the form
f∗(x)=i=1∑nαik(xi,x),αi∈R.
The loss can couple the evaluations and need not be a sum of squared errors. Strict increase concerns the RKHS norm, not an arbitrary penalty on a software parameter vector. The theorem describes existing minimisers; it does not prove existence or make a nonconvex loss easy to optimise. If Ω is merely nondecreasing, projection still yields at least one minimiser of this form, assuming a minimiser exists, but other minimisers may lie outside the span. Schölkopf, Herbrich and Smola, §2, Theorem 1 and following remarks
Why the unseen directions disappear
Set S=span{k(x1,⋅),…,k(xn,⋅)}. This finite-dimensional subspace is closed, so orthogonal projection gives a decomposition
f=fS+f⊥,fS∈S,f⊥⊥S.
The reproducing property turns evaluation into an inner product:
f⊥(xi)=⟨f⊥,k(xi,⋅)⟩H=0.
Thus f and fS give exactly the same training predictions and the same loss. Pythagoras gives
∥f∥H2=∥fS∥H2+∥f⊥∥H2.
A nonzero perpendicular component increases the norm without helping the fit. A strictly increasing norm penalty therefore rules it out at a minimum. This is the entire mechanism; it works even when the RKHS has infinitely many dimensions. Rasmussen and Williams, §§6.1–6.2
An exact two-weight example
Use the linear kernel k(x,z)=x⊤z on R2. Functions are fw(x)=w⊤x, with RKHS norm ∥fw∥H=∥w∥2. There is one training input x1=(1,0)⊤, label y1=2, no intercept and penalty coefficient 1. Inputs, targets and weights are dimensionless. The objective is
The unique minimum is w∗=(1,0)⊤, with prediction 1 and objective 2. The Hessian is diag(4,2), confirming strict convexity. Regularisation deliberately leaves a training residual: the prediction need not equal the label.
Now add v=(0,3)⊤, which is orthogonal to the training input. The prediction stays 1, but the squared norm rises from 1 to 4. Squared error remains 1, so the objective rises from 2 to 5. The extra weight changes predictions at other inputs, yet the objective has no data-fit reason to retain it.
Exact linear-kernel example: weights (1, 0) and (1, square root of 3) both predict 1 at input (1, 0). Their squared errors are both 1, squared norms are 1 and 4, and objectives are 2 and 5.
Original exact example. The vertical component is invisible at the training input and adds 3 objective units; removing it preserves the training prediction.
Finite coefficients, possibly infinite features
The learned αi are scalar coefficients multiplying functions k(xi,⋅). They are not coordinates proving that the kernel's feature map has only n dimensions. The data select a subspace of dimension at most n inside the RKHS; the ambient space may remain infinite-dimensional. This is the bridge from function-space regularisation to a finite kernel method.
Writing Kij=k(xi,xj), the Gram matrix gives training predictions Kα and squared RKHS norm α⊤Kα. For kernel ridge regression, this yields an objective in α using only K, labels and the penalty. The representer theorem supplies the form of the solution, not a universal closed-form coefficient formula. Rasmussen and Williams, §6.2
Function uniqueness and coefficient uniqueness are separate. With duplicate centres x1=x2=(1,0)⊤, the Gram matrix has every entry equal to 1 and rank 1. Coefficients (1,0)⊤ and (1/2,1/2)⊤ both represent the same function f(x)=x(1), where x(1) denotes the input's first coordinate. Their difference lies in the null space of K; its kernel expansion has zero RKHS norm and is the zero function everywhere, not merely on the sample. A strictly convex function-space objective can therefore have a unique fitted function with nonunique coefficient representations.
Finally, check the model's actual assumptions. A separately unpenalised intercept requires an additional term; a seminorm can leave unpenalised directions. Ordinary neural-network weight decay is not automatically an RKHS norm penalty. The classic result cannot be invoked just because an algorithm uses the word “kernel.” Schölkopf, Herbrich and Smola, Theorem 2; Rasmussen and Williams, §6.2 and its null-space qualification
For the geometry behind the proof, Orthogonal Projections and Minimization Problems develops the perpendicular decomposition and Pythagorean argument (membership required for the full lesson; public preview available).