Skip to main content

Gaussian Processes and Kernel Methods: A Review on Connections

Authors: Motonobu Kanagawa, Bharath K. Sriperumbudur, Kenji Fukumizu, Arthur Gretton
Published: 2018
Venue: arXiv
Link: arXiv

Summary​

This comprehensive review paper establishes rigorous connections between Gaussian Processes (GPs) and Reproducing Kernel Hilbert Spaces (RKHS). It clarifies when GP posteriors and RKHS estimators coincide and when they differ, providing deep insights into both frameworks.

Key Contributions​

1. Sample Path Properties​

The paper clarifies that GP sample paths are typically not in the RKHS:

Theorem: For a GP with kernel kk, sample paths f∼GP(0,k)f \sim \mathcal{GP}(0, k) satisfy: P(f∈Hk)=0P(f \in \mathcal{H}_k) = 0

unless the RKHS is finite-dimensional.

2. RKHS as Support​

While samples aren't in RKHS, the RKHS characterizes the support: supp(GP(0,k))=Hk‾\text{supp}(\mathcal{GP}(0, k)) = \overline{\mathcal{H}_k}

where the closure is in an appropriate topology.

3. Posterior Mean Equivalence​

The GP posterior mean equals the RKHS interpolant: E[f(x)∣y]=arg⁡min⁡g∈Hk∥g∥H2 s.t. g(xi)=y~i\mathbb{E}[f(x)|y] = \arg\min_{g \in \mathcal{H}_k} \|g\|_{\mathcal{H}}^2 \text{ s.t. } g(x_i) = \tilde{y}_i

where y~\tilde{y} accounts for noise.

Mathematical Framework​

RKHS via Integral Operator​

The RKHS Hk\mathcal{H}_k can be characterized through the integral operator: Tk:L2(X,μ)→L2(X,μ)T_k: L^2(\mathcal{X}, \mu) \to L^2(\mathcal{X}, \mu) (Tkf)(x)=∫k(x,x′)f(x′)dμ(x′)(T_k f)(x) = \int k(x, x') f(x') d\mu(x')

Then: Hk=Tk1/2(L2(X,μ))\mathcal{H}_k = T_k^{1/2}(L^2(\mathcal{X}, \mu))

Mercer Representation​

When kk has eigendecomposition k(x,x′)=∑iλiϕi(x)ϕi(x′)k(x,x') = \sum_i \lambda_i \phi_i(x)\phi_i(x'): Hk={f=∑ifiϕi:∑ifi2λi<∞}\mathcal{H}_k = \left\{f = \sum_i f_i \phi_i : \sum_i \frac{f_i^2}{\lambda_i} < \infty\right\}

GP samples satisfy ∑ifi2<∞\sum_i f_i^2 < \infty (weaker condition).

Cameron-Martin Space​

For Gaussian measure GP(0,k)\mathcal{GP}(0, k), the Cameron-Martin space is exactly Hk\mathcal{H}_k:

  • Translations by h∈Hkh \in \mathcal{H}_k give equivalent measures
  • Translations by h∉Hkh \notin \mathcal{H}_k give orthogonal measures

Connections Summary​

PropertyGPRKHS
Function spaceL2L^2 or continuousHk\mathcal{H}_k
Prior/RegularizerN(0,K)\mathcal{N}(0, K)∥f∥H\|f\|_{\mathcal{H}}
Posterior meanK∗(K+σ2I)−1yK_*(K + \sigma^2 I)^{-1}ySame!
UncertaintyFull posteriorNone (point estimate)
ConvergenceIn L2L^2In RKHS norm

Regularization Correspondence​

Ridge Regression​

RKHS formulation: f^=arg⁡min⁡f∈H∑i(yi−f(xi))2+λ∥f∥H2\hat{f} = \arg\min_{f \in \mathcal{H}} \sum_i (y_i - f(x_i))^2 + \lambda \|f\|_{\mathcal{H}}^2

GP formulation: E[f(x)∣y] with noise variance σ2=λ\mathbb{E}[f(x)|y] \text{ with noise variance } \sigma^2 = \lambda

These give the same function!

Different Regularization = Different Prior​

RegularizationEquivalent Prior
∥f∥H2\|f\|_{\mathcal{H}}^2GP(0,k)\mathcal{GP}(0, k)
∥f∥Hp\|f\|_{\mathcal{H}}^pNon-Gaussian
Elastic netMixture prior

Convergence Analysis​

RKHS Convergence​

The RKHS estimator converges in RKHS norm: ∥f^n−f∗∥H→0\|\hat{f}_n - f^*\|_{\mathcal{H}} \to 0

This implies uniform convergence when H\mathcal{H} embeds continuously into C(X)C(\mathcal{X}).

GP Posterior Contraction​

The GP posterior contracts around the truth: Πn(f:∥f−f∗∥L2>ϵ∣y(n))→0\Pi_n(f : \|f - f^*\|_{L^2} > \epsilon | y^{(n)}) \to 0

Rate depends on smoothness of f∗f^* relative to RKHS.

Misspecification​

Well-specified Case​

When f∗∈Hkf^* \in \mathcal{H}_k:

  • RKHS estimator achieves optimal rate
  • GP posterior is consistent

Misspecified Case​

When f∗∉Hkf^* \notin \mathcal{H}_k:

  • RKHS estimator converges to projection
  • GP posterior may be inconsistent
  • Calibration of uncertainty is lost

Practical Implications​

1. Model Selection​

GP marginal likelihood corresponds to RKHS complexity: log⁡p(y∣X)∝−∥f∥H2−data fit\log p(y|X) \propto -\|f\|_{\mathcal{H}}^2 - \text{data fit}

2. Uncertainty Quantification​

GP provides uncertainty; RKHS doesn't:

  • For decisions: Use GP variance
  • For prediction only: RKHS sufficient

3. Computational Tradeoffs​

MethodTrainingUncertaintyScalability
Full GPO(n3)O(n^3)ExactLimited
RKHS/KRRO(n3)O(n^3)NoneLimited
Sparse GPO(nm2)O(nm^2)ApproximateGood
Random featuresO(nD2)O(nD^2)NoneExcellent

Extensions​

Deep GPs​

Stack GPs hierarchically: fL=gL∘gL−1∘⋯∘g1f_L = g_L \circ g_{L-1} \circ \cdots \circ g_1 where each gl∼GPg_l \sim \mathcal{GP}.

GP-RKHS for Non-Gaussian Likelihoods​

Use RKHS theory for MAP estimation: f^=arg⁡min⁡f∈H∑iℓ(yi,f(xi))+12∥f∥H2\hat{f} = \arg\min_{f \in \mathcal{H}} \sum_i \ell(y_i, f(x_i)) + \frac{1}{2}\|f\|_{\mathcal{H}}^2

Citation​

@article{kanagawa2018gaussian,
title={Gaussian processes and kernel methods: A review on connections},
author={Kanagawa, Motonobu and Sriperumbudur, Bharath K and Fukumizu, Kenji},
journal={arXiv preprint arXiv:1807.02582},
year={2018}
}

Further Reading​

  • Van der Vaart, A. & Van Zanten, H. (2008). Reproducing kernel Hilbert spaces of Gaussian priors
  • Berlinet, A. & Thomas-Agnan, C. (2011). Reproducing kernel Hilbert spaces in probability and statistics
  • Karvonen, T. & Särkkä, S. (2020). Worst-case optimal approximation with RKHS