Kernel Quadrature and Kernel Means

Summary

The three integrals that make Bayesian quadrature tractable have a reproducing-kernel-Hilbert-space (RKHS) reading: the kernel mean is the embedding of the base measure into the RKHS of , and the BQ posterior variance equals the squared worst-case (RKHS) error of the quadrature rule. This dual view links Bayesian quadrature to kernel means, kernel herding, and the maximum-mean-discrepancy (MMD); it also clarifies the one subtle difference from kernel quadrature, where the kernel is allowed to shrink with the number of nodes.

Overview

Bayesian Quadrature showed the posterior mean and variance are assembled from , the kernel mean , and the initial error . This note gives those quantities their functional-analytic meaning. Every positive-definite kernel defines an RKHS with reproducing property (see Gaussian Process Regression). In this language, integration against is a bounded linear functional whose Riesz representer is precisely the kernel mean. This is the bridge between the probabilistic (Bayesian) and the deterministic worst-case views of quadrature, and it is why the BQ error bar is simultaneously a Bayesian posterior variance and a tight worst-case bound over an RKHS ball.

Main Content

Kernel mean (kernel embedding of a measure)

For a kernel with RKHS and a measure on , the kernel mean (or kernel embedding) of is the element

Evaluated at a node, , recovering the BQ vector . By the reproducing property, for any ,

i.e. is the Riesz representer of the integration functional .

Symbols. = RKHS of ; = its inner product; = its norm; = kernel mean of ; ; = squared RKHS-norm of the kernel mean = initial variance.

The posterior variance is the squared worst-case error

A quadrature rule with weights (the BQ weights of ^thm-bq-weights in Bayesian Quadrature) has a worst-case error over the unit ball of . The following identity — the same computation as Exercise 4.7 in the text (the RKHS worst-case error of GP regression) — is the key result.

Worst-case error = BQ posterior standard deviation

Define the worst-case integration error of the rule with weights over the RKHS unit ball,

With the BQ weights this worst-case error equals the BQ posterior standard deviation:

Proof sketch. Write the error functional as an inner product with using the reproducing property: . By Cauchy–Schwarz the supremum over is attained at and equals . Expanding

Minimising over gives and the minimal value . So the BQ weights are simultaneously the minimum-worst-case-error weights, and is that minimal worst-case error.

This is a foundational fact: the Bayesian posterior variance (a subjective, prior-dependent quantity) coincides with a hard, frequentist worst-case error bound over the RKHS ball. The BQ error bar is therefore an honest upper bound on the actual error for any integrand living in the unit ball of .

Maximum mean discrepancy view

If nodes carry uniform weights (as in Monte Carlo / quasi-Monte Carlo), the worst-case error becomes the maximum mean discrepancy (MMD) between the target measure and the empirical measure :

Minimising MMD by choosing nodes greedily is kernel herding; choosing both nodes and weights to minimise is kernel quadrature. Bayesian quadrature is thus the probabilistic member of a family that also contains kernel herding, kernel quadrature, and (via low-discrepancy sequences) quasi-Monte Carlo.

Initial error and node contraction

Before any evaluation (), the rule integrates to the prior mean and the worst-case error is the initial error . Each added node can only reduce the worst-case error, because adding a row/column to and an entry to can only increase the subtracted term . The rate at which is governed by the smoothness of the kernel and the placement of nodes (see Convergence and Priors in Bayesian Quadrature).

Kernel quadrature vs Bayesian quadrature — the subtle difference

Bayesian quadrature keeps the kernel fixed (a genuine prior). Kernel quadrature (Bach; Bach, Lacoste-Julien, and Oborozinski) often lets the kernel shrink as the number of nodes grows. This can improve worst-case rates but is not compatible with the Bayesian notion of a prior (a prior must not depend on the amount of data). More practically, an -dependent kernel amounts to a continuous relaxation of the associated error estimate — which plays a less central role in the deterministic kernel view than in the Bayesian one. This same tension reappears for degenerate (finite-rank) polynomial kernels that reproduce Gaussian quadrature (see Classical Quadrature as Inference), where the “prior” grows more flexible with and is “not a real prior at all.”

Examples

Kernel mean for the Gaussian pairing

With and (see Bayesian Quadrature), the kernel mean is available in closed form by Gaussian convolution:

and its squared RKHS norm is . Every quantity needed for the worst-case error / posterior variance is thus a Gaussian evaluation.

Worst-case interpretation of an error bar

Suppose (unit initial error) and after nodes , so and . Then for any integrand in the unit ball , the rule’s error is guaranteed ; more generally the guaranteed error scales with . The Bayesian and worst-case readings agree exactly.

Connections

See Also