Convergence and Priors in Bayesian Quadrature
Summary
The convergence rate of Bayesian quadrature is controlled by the smoothness of the prior kernel (how many times sample paths are differentiable), while the scale of the error bar is set separately and should be estimated at runtime. The trapezoidal (Wiener) rule contracts as ; -times-integrated Wiener (spline) priors contract faster for smoother integrands; Gaussian quadrature (degenerate polynomial kernels) contracts exponentially. Because the posterior variance is data-independent, its raw magnitude can be mis-calibrated — hierarchical (conjugate-Gamma) inference on and a cheap model-fit statistic let the method detect over- or under-confidence and calibrate its error bars.
Overview
A probabilistic numerical method must satisfy the classical desideratum — its point estimate should converge at a good rate — while also making its uncertainty meaningful. This note collects the convergence and calibration theory of Part II. Two ideas recur. First, the separation of rate and scale: the kernel’s smoothness fixes the exponent of the error decay, while a scalar fixes the constant. This mirrors the classical division between error analysis (rate) and error estimation (scale). Second, because the Gaussian posterior variance ignores the observed values (see Bayesian Quadrature), the error bar rests entirely on prior assumptions; if those assumptions mismatch the integrand, the bar is mis-scaled, and one needs the hierarchical machinery of Hierarchical Inference in Gaussian Models to fix it.
Main Content
Rate is set by kernel smoothness
Contraction rates by prior order (empirical + classical analysis)
For integrands matching the prior’s regularity, the posterior standard deviation on contracts as:
- Wiener prior (, trapezoidal rule): . For genuinely differentiable integrands the mean error even reaches , while the non-adaptive Wiener error bar stays at the conservative .
- -times integrated Wiener (spline) priors: faster polynomial rates increasing with , up to the point where added smoothness stops helping the particular integrand.
- Degenerate polynomial kernels (Gaussian quadrature): exponential (super-algebraic) convergence — but with vanishing posterior variance (see Classical Quadrature as Inference). All beat the Monte Carlo of Lemma 9.2 (see The Integration Problem).
The mechanism: from the Wiener error , the kernel (through the exponent on ) determines the rate, and only the constant. A rougher prior (Wiener) assigns non-zero mass only to continuous functions — a more restrictive, and here correct, assumption than Monte Carlo’s mere integrability — which is exactly why it converges faster. But the Wiener prior is so vague that it is also over-conservative: it both fails to exploit smoothness and reports pessimistic error bars.
Node placement and posterior contraction
Node placement is chosen to minimise the (data-independent) posterior variance (see Bayesian Quadrature node selection). For the Wiener prior this gives the equidistant grid as the maximally-informative design (derivation in Classical Quadrature as Inference ^thm-trapezoid). The equidistant grid is optimal independently of the scale : every prior in the scaled family shares the same optimal design and the same trapezoidal estimation rule. (A subtlety from the time-directed nature of the Wiener process: with the endpoint constraints relaxed, the strictly optimal Sacks–Ylvisaker nodes are , slightly denser on the left; e.g. for on the optimal nodes are .) Regular grids’ probabilistic optimality also grounds the good behaviour of quasi-Monte Carlo (see Lessons from Integration).
Rate vs scale, and runtime calibration of
The algebraic form of the estimation rule (hence its rate) is hard to change at runtime, so rate is studied by abstract analysis. The scale , by contrast, estimates the concrete magnitude of the error and should be inferred online. Using the conjugate hierarchical mechanism of Hierarchical Inference in Gaussian Models — a Gamma prior on the inverse scale — the joint posterior on stays tractable:
Conjugate scale inference and Student-t marginal on F
The posterior on the inverse scale, accumulated from Kalman residuals, is
Marginalising gives a Student-t posterior on the integral:
with variance . This estimated variance does depend on the values (unlike the raw ), and can be computed at linear cost by accumulating a running sum of the squared local residuals .
This is the “empirical Bayes” upgrade promised in Ch. 8: the Wiener error estimate is a conservative worst-case bound (see Kernel Quadrature and Kernel Means), and adapting moves it toward an expected-case estimate — better calibrated — at negligible ( a few percent) overhead over the classical trapezoidal rule.
A model-fit statistic for detecting mis-calibration
Even -adaptation can fail if the shape (the order ) mismatches the integrand. A cheap diagnostic detects this. With unit scale , the log marginal likelihood of the model is
Comparing the observed log-likelihood to its prior-predicted expectation yields the expected log-ratio / model-fit statistic
a trivial transform of the sufficient statistic already collected by the filter (Algorithm 11.2), so it costs nothing extra.
Interpreting the model-fit statistic
- : the integrand is less variable / more regular than the prior expects → the error estimate is conservative (method under-confident; true error smaller than reported).
- : the integrand varies more than the prior expects → surprises are likely elsewhere too → the error estimate is over-confident and should not be trusted.
Empirically, on the smooth running integrand, (cubic-spline / integrated-Wiener) is a good choice; convergence does not improve for higher . If the integrand is a true sample of an integrated Wiener process, a too-rough integrator flags (over-confident), and too-smooth integrators can detect their over-confident smoothness assumptions. Calibration is epistemic: it rests on the assumption that unobserved parts of the integrand resemble observed ones.
Examples
Trapezoid vs Monte Carlo convergence (running integrand)
On , the Monte Carlo error tracks its theoretical standard deviation. The trapezoidal rule overtakes MC after evaluations; after it settles into (its differentiable-integrand rate), while the non-adaptive GP error bar predicts the conservative . Even the -adapted Student-t error estimate (contracting faster than but slower than the mean) remains a conservative bound — reflecting the Wiener prior’s overly-cautious non-differentiability assumption.
Gauss–Legendre's exponential rate
Gauss–Legendre quadrature on the same integrand converges exponentially — far faster than trapezoid () or Monte Carlo (). This showcases the payoff of a stronger (polynomial-exact) prior, at the cost (see Classical Quadrature as Inference) that its Bayesian posterior variance vanishes and gives no usable error bar.
Connections
- Quantifies the error bar of Bayesian Quadrature and its rate/scale decomposition.
- Rates for specific rules (trapezoid, spline, Gauss) come from the priors of Classical Quadrature as Inference.
- Calibration uses the conjugate-Gamma / Student-t hierarchy of Hierarchical Inference in Gaussian Models.
- Worst-case vs expected-case error connects to the RKHS worst-case error of Kernel Quadrature and Kernel Means.
- Motivates adaptive, non-Gaussian schemes whose error does depend on data — see Active Bayesian Quadrature and Bayesian Monte Carlo.
See Also
- Bayesian Quadrature — the data-independent posterior variance being calibrated here.
- Classical Quadrature as Inference — the specific priors whose rates are compared.
- Hierarchical Inference in Gaussian Models — conjugate scale inference producing the Student-t marginal.
- Lessons from Integration — why good priors are needed for meaningful error measures.