On Average-Case Error Bounds for Kernel-Based Bayesian Quadrature

Xu Cai, Thanh Lam, Jonathan Scarlett

Abstract

In this paper, we study error bounds for Bayesian quadrature (BQ), with an emphasis on noisy settings, randomized algorithms, and average-case performance measures. We seek to approximate the integral of functions in a Reproducing Kernel Hilbert Space (RKHS), particularly focusing on the Matérn-$\nu$ and squared exponential (SE) kernels, with samples from the function potentially being corrupted by Gaussian noise. We provide a two-step meta-algorithm that serves as a general tool for relating the average-case quadrature error with the $L^2$-function approximation error. When specialized to the Matérn kernel, we recover an existing near-optimal error rate while avoiding the existing method of repeatedly sampling points. When specialized to other settings, we obtain new average-case results for settings including the SE kernel with noise and the Matérn kernel with misspecification. Finally, we present algorithm-independent lower bounds that have greater generality and/or give distinct proofs compared to existing ones.

Introduction

Bayesian Quadrature (BQ) is a fundamental technique for estimating the integral of a "black-box" function $f(x)$ using a finite set of evaluations. While the theoretical foundations of BQ are well-established for noiseless, worst-case scenarios, real-world applications often involve observations corrupted by Gaussian noise. Furthermore, practitioners frequently prioritize average-case performance—how an algorithm performs across a class of functions—over absolute worst-case guarantees.

Existing literature for noisy BQ often relies on "repeated sampling," where the same point is queried multiple times to reduce noise. This approach is often impractical or inefficient. This paper addresses these gaps by introducing a robust meta-algorithm that achieves near-optimal average-case error bounds in noisy settings without requiring repeated sampling.

The Two-Batch Meta-Algorithm

The core contribution is a simple yet powerful "two-batch" meta-algorithm designed to bridge function approximation and integration. The sampling budget $T$ is split into two distinct phases:

  1. Batch 1 (Function Approximation): The first half of the budget ($T/2$) is dedicated to building an estimate $\hat{f}$ of the function. The authors utilize Maximum Variance Sampling (MVS), a non-adaptive strategy that selects points where the Gaussian Process (GP) posterior uncertainty is highest. This step focuses on capturing the global structure of the function.
  2. Batch 2 (Residual Estimation): The second half of the budget is used to estimate the residual—the difference between the true integral and the integral of the estimate $\hat{f}$. This is achieved via Monte Carlo (MC) sampling, where points are drawn randomly from the weighting distribution $p(x)$.
Algorithm 2: Maximum Variance Sampling (MVS) used for the first batch of function approximation.

This "meta" framework allows for various function approximation methods in the first batch. The authors establish a Quadrature-$L^2$ Relationship, bounding the final integration error by the $L^2$ approximation error of the first batch plus a noise-related term.

Theoretical Contributions and Results

The paper provides a comprehensive landscape of error bounds for both Matérn and Squared Exponential (SE) kernels. A key insight is that the Monte Carlo step on the residual effectively "cleans up" the remaining error that function approximation might miss due to noise.

Key Findings:

  • Matérn Kernel (Noisy): The meta-algorithm achieves an order-optimal error rate of $\Theta(T^{-\nu/d - 1} + \sigma T^{-1/2})$, where $\nu$ is smoothness, $d$ is dimension, and $\sigma$ is noise. This matches known lower bounds without the need for repeated sampling.
  • SE Kernel (Noisy): The authors derive a new upper bound showing exponential convergence in the noiseless component, though the overall rate eventually hits a noise floor of $O(\sigma T^{-1/2})$.
  • Smoothness Misspecification: For Matérn kernels, the research demonstrates that over-estimating the smoothness parameter $\nu$ does not degrade the convergence rate, providing practical flexibility for kernel selection.
A summary of the theoretical upper and lower bounds established and consolidated in this work.

Empirical Performance and Datasets

The theoretical results were validated across diverse datasets:

  • Synthetic Functions: Samples from Matérn and SE GP priors to verify theoretical limits.
  • Standard Benchmarks: Integration test functions such as Ackley, Alpine, and Griewank.
  • Real-World Data: Energy consumption readings from London households, simulating noisy, sporadic sensor data.

Experiments confirm that the "MVS-MC" approach acts as a "best of both worlds" strategy. It matches the performance of active sampling in low-noise regimes and converges to Monte Carlo performance in high-noise scenarios, effectively capturing the strengths of both methods.

Conclusion and Future Work

While the two-batch algorithm provides a robust framework for noisy BQ, several avenues for future research remain. The optimal "split" between MVS and MC may vary for small budgets, and a gap still exists between upper and lower bounds for the SE kernel. Additionally, extending these average-case bounds to non-stochastic or correlated noise would further enhance the practical utility of Bayesian Quadrature in complex, real-world environments.

Summary updated

BibTeX
@article{cai2023average,
  author = {Xu Cai and Thanh Lam and Jonathan Scarlett},
  title = {{On Average-Case Error Bounds for Kernel-Based Bayesian Quadrature}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=JJrKbq35l4},
}
Figure