Consider a kernel k with reproducing-kernel Hilbert space (RKHS) H. How do you prove that a minimiser of ∑iL(yi,f(xi))+λ∥f∥H2, with λ>0, has the form f=∑iαik(xi,⋅)? Why does this make kernel SVMs practical?

Supervised learning, Representer theorem
Level L5 Expert. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can prove the representer theorem by an orthogonal decomposition.

Key idea

Split any f into a part in the span of {k(xi,⋅)} and an orthogonal part. The orthogonal part does not change any f(xi) but adds to the norm, so the minimiser has none of it.

Steps

  1. Let S=span⁡{k(xi,⋅):i=1..n}, a finite-dimensional subspace of H. Decompose any f=f∥+f⊥ with f∥∈S and f⊥⊥S.
  2. Reproducing property: f(xi)=⟨f,k(xi,⋅)⟩. Since f⊥ is orthogonal to every k(xi,⋅), f(xi)=⟨f∥,k(xi,⋅)⟩=f∥(xi). So the loss term is unchanged.
  3. Pythagoras: ∥f∥2=∥f∥∥2+∥f⊥∥2≥∥f∥∥2, with equality only if f⊥=0.
  4. So f∥ has the same loss and a no larger penalty. Because λ>0, any minimiser must have f⊥=0, i.e. f=∑iαik(xi,⋅).
  5. Then ∥f∥2=α⊤Kα and f(xj)=(Kα)j, so the infinite-dimensional problem is reduced to an n-dimensional one in α.
  6. For the SVM, L is the hinge loss. The bias b is added outside H and is not penalised, so the argument still holds. The representer form is exactly the dual solution f(x)=∑iαiyik(xi,x)+b, where most αi are zero (the support vectors).

Common mistakes

How long your answer should be

Half to one page; 6–8 minutes.

Last checked on 4 December 2026.

Read this

Previous in Supervised learning: How do you prove that the training error of AdaBoost is at most ∏t2εt(1−εt)≤exp⁡(−2∑tγt2), where γt=12−εt? For γt≥0.1 and n=1000 training points, after how many rounds is the training error zero?
Next in Supervised learning: none