Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.A space of functions with a built-in ruler
A kernel doesn’t just compare points. It also defines a whole family of functions, built by placing little kernel bumps at points and adding them up, together with a way to measure each function’s size. In that family, the size is a “roughness score”: a function that wiggles in ways the kernel finds unnatural gets a big score. Learning algorithms then prefer functions that fit the data while keeping that score small, which is the mathematical version of Occam’s razor.
“Fit the data but keep the RKHS norm small” is what SVMs, kernel ridge regression, smoothing splines and Gaussian-process regression all do. Choosing the kernel is choosing what “smooth” means for your problem: smooth wind-field estimates for a drone, a smooth friction model for a rover wheel, a periodic model for orbital data.
- 1. Functions in an RKHS are built from…
- 2. A large RKHS norm means the function is…
- 3. Kernel methods prefer functions that…
Level 1: Beginner
★★☆☆☆ Basic⏱ 25 minSecondary-school mathematics: arithmetic and elementary algebra.Building the space
Start with finite combinations and define
Positive definiteness makes this a genuine inner product. Completing the space gives the RKHS .
The reproducing property
So is a canonical feature map.
Consequences
- for finite combinations.
- Evaluation is bounded: .
- Continuity: .
Functions with small norm can’t change fast where the kernel says points are similar.
- 1. ‖Σαᵢk(xᵢ, ·)‖² equals…
- 2. With an RBF kernel (k(x, x) = 1) and ‖f‖ = 3, |f(x)| is at most…
- 3. The reproducing property says f(x) = …
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Concrete RKHSs
- Linear kernel : the linear functions with .
- Brownian kernel on [0, 1]: the functions with f(0) = 0 and , with (a Sobolev space). Check: .
- Gaussian (RBF): very smooth (analytic) functions. Long length-scales make high-frequency functions extremely expensive.
- Via Mercer: . Components along small-eigenvalue directions cost a lot.
The minimum-norm interpolant
Among all functions in through , the one with the smallest norm is with , and . For the Brownian kernel this is the piecewise-linear interpolant through (0, 0).
- 1. The Brownian kernel's RKHS norm is…
- 2. The minimum-norm interpolant's coefficients are…
- 3. In the Mercer view, a component along φⱼ costs…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Moore–Aronszajn
Theorem. Every PSD kernel k has a unique Hilbert space of functions in which and the reproducing property holds. Conversely, every Hilbert space of functions with bounded evaluation functionals has a unique reproducing kernel.
Proof sketch. The converse: is bounded, so by Riesz there is with ; set , which is PSD. Existence: complete the pre-Hilbert space of finite combinations. Cauchy sequences converge pointwise, because , so the completion is a space of functions. ∎
Why L² is not an RKHS
Point evaluation isn’t even defined on (functions are equivalence classes), and no bounded evaluation functional exists. RKHSs are exactly the spaces where “the value at x” is a continuous operation, which is what learning from point samples needs.
Norm growth as a membership test
If f is in , the minimum-norm interpolants of f on denser and denser data have norms increasing to . If f is not in , they diverge.
- 1. Moore–Aronszajn pairs PSD kernels with…
- 2. L² is not an RKHS because…
- 3. If f is in H, interpolant norms on denser data…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.RKHS norms, measured
Exercise 1. The reproducing property holds to 10⁻¹², and |f(x)| ≤ ‖f‖ for an RBF kernel. The worst continuity ratio is 0.50, within the bound of 1. Interpolating sin(6πx) at 25 points costs ‖f‖ = 2.5 with ℓ = 0.05, 3.9 with ℓ = 0.1 and 42 with ℓ = 0.2. A long-length-scale kernel considers fast oscillation very unnatural.
Exercise 2 (Brownian kernel, grid x = j/m). The kernel formula αᵀKα matches the closed form Σ(Δy)²/Δx to 10⁻⁸. As m goes from 10 to 640:
- sin 3x: ‖f‖² rises from 4.255 to 4.2904, which equals ∫f′² = 4.2904. It is in the RKHS.
- √x: 1.57 to 2.61, gaining ln 4 / 4 ≈ 0.347 each time m quadruples (∫1/(4x) diverges). It is not in the RKHS.
- Step: ‖f‖² = m exactly.
- sin 3x + noise (σ = 0.05): 4.0 to 1976 ≈ 2σ²m².
RKHS in AI, robotics and aerospace
- Smoothing splines and GP regression for trajectory and sensor-drift estimation: the cubic spline is the minimum-norm interpolant in a second-order Sobolev RKHS.
- Kernel-based safety (GP-based control barrier functions): bounds use ‖f‖ to certify the worst-case model error.
- Kernel mean embeddings and MMD for comparing distributions, for example sim-to-real gaps.
- Koopman and kernel EDMD for learning dynamics of nonlinear systems.
References
- N. Aronszajn (1950). “Theory of reproducing kernels.” Transactions of the American Mathematical Society, 68.
- A. Berlinet, C. Thomas-Agnan (2004). Reproducing Kernel Hilbert Spaces in Probability and Statistics. Springer.
- G. Wahba (1990). Spline Models for Observational Data. SIAM.
- V. I. Paulsen, M. Raghupathi (2016). An Introduction to the Theory of Reproducing Kernel Hilbert Spaces. Cambridge University Press.
- F. Berkenkamp, M. Turchetta, A. P. Schoellig, A. Krause (2017). “Safe model-based reinforcement learning with stability guarantees.” NeurIPS.