Kernelized Normalizing Constant Estimation: Bridging Bayesian Quadrature and Bayesian Optimization

Xu Cai, Jonathan Scarlett

Introduction

Estimating the normalizing constant (or partition function) of a black-box function is a fundamental challenge in statistics and machine learning. This task involves calculating $Z = \int_D e^{-\lambda f(x)} dx$, where $f(x)$ is an "energy function" that can only be evaluated through noisy point queries. This problem is central to Bayesian statistics and statistical mechanics, yet it remains difficult when $f(x)$ is non-convex or high-dimensional.

The $\lambda$ Spectrum: From Integration to Optimization

A key insight of this research is that the difficulty of estimating $Z$ is governed by a scaling parameter $\lambda$, which acts like an "inverse temperature." * Low $\lambda$ (Bayesian Quadrature): As $\lambda \to 0$, the term $e^{-\lambda f(x)}$ flattens, and the problem mirrors standard numerical integration or Bayesian Quadrature (BQ). * High $\lambda$ (Bayesian Optimization): As $\lambda \to \infty$, the mass of the integral concentrates around the global minima of $f(x)$, transforming the task into a search for the maximum value, similar to Bayesian Optimization (BO).

The authors provide a unified theoretical framework to navigate this spectrum, focusing on relative error as the primary metric for evaluation.

Methodology: Two-Batch Estimation

The proposed Two-batch Normalizing Constant Estimation Algorithm combines global exploration with targeted refinement:

  1. Batch 1 (Exploration): The algorithm selects points to minimize the uncertainty (variance) of a Gaussian Process (GP) surrogate model. This provides a global "rough map" of the function $f$.
  2. Batch 2 (Refinement): Using the map from Batch 1, the algorithm performs importance sampling. It employs Langevin Monte Carlo (LMC) to draw samples from regions that contribute most to the integral—specifically, where $f(x)$ is small, making $e^{-\lambda f(x)}$ large.

Theoretical Convergence Rates

The paper establishes rigorous lower and upper bounds for convergence rates under various noise conditions. These results demonstrate that the proposed algorithm is near-optimal in many regimes.

Theoretical convergence rates across different noise levels and scaling regimes.

For a $d$-dimensional function with smoothness $\nu$, the error scales as $\Theta(T^{-\nu/d - 1})$ when $\lambda \to 0$, matching established BQ limits. In noisy settings, the convergence is often dominated by a $T^{-1/2}$ term, though GP-based methods maintain significantly better constants than standard Monte Carlo at low query budgets.

Empirical Evaluation

The researchers evaluated their approach on synthetic Matérn RKHS functions and standard benchmarks, including the Ackley, Product-Peak, and MLP energy functions.

Relative error comparison on the ProductPeak2d benchmark.

In experiments such as the 8D MLP and the 2D Point Spread Function (PSF) tasks, the MVS-LMC approach consistently outperformed baseline methods. The results highlight the superiority of GP-based methods when query budgets are limited to a few hundred evaluations.

Limitations and Future Directions

While the framework provides a significant step forward, some challenges remain. There is a persistent gap of approximately $O(\sqrt{T})$ between noiseless upper and lower bounds, which might be narrowed by using $L^2$ function approximation bounds. Additionally, the cubic computational scaling of GP matrix inversion ($O(T^3)$) limits the algorithm to a few thousand queries, suggesting a need for sparse GP approximations in larger-scale applications.

Summary updated

BibTeX
@inproceedings{cai2024kernelized,
  author = {Xu Cai and Jonathan Scarlett},
  title = {{Kernelized Normalizing Constant Estimation: Bridging Bayesian Quadrature and Bayesian Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.28992},
}
Figure