Probabilistic Integration and Intractable Distributions

Chris J. Oates, François‐Xavier Briol, Mark Girolami

Abstract

This paper considers numerical approximation for integrals of the form $$\int f(x) p(\mathrm{d}x)$$ in the case where $f(x)$ is an expensive black-box function and $p(\mathrm{d}x)$ is an intractable distribution (meaning that it is accessible only through a finite collection of samples). Our proposal extends previous work that treats numerical integration as a problem of statistical inference, in that we model both $f$ as an a priori unknown random function and $p$ as an a priori unknown random distribution. The result is a posterior distribution over the value of the integral that accounts for these dual sources of approximation error. This construction is designed to enable the principled quantification and propagation of epistemic uncertainty due to numerical error through a computational pipeline. The work is motivated by such problems that occur in the Bayesian calibration of computer models.

Introduction

Numerical integration is a cornerstone of modern scientific computing, yet it often presents a significant bottleneck. In many high-stakes applications—ranging from climate modeling to biological pathway simulation—researchers must calculate expectations over complex input spaces. These tasks frequently encounter two primary hurdles: the integrand $f(x)$ is "expensive" to evaluate (requiring significant computational time per sample), and the distribution $p(\mathrm{d}x)$ is "intractable," meaning it lacks a closed-form expression and is only accessible via a finite set of samples (e.g., from a Markov Chain Monte Carlo routine).

In "Probabilistic Integration and Intractable Distributions," Oates, Briol, and Girolami introduce a framework that treats numerical integration as a problem of statistical inference. By modeling both the function and the distribution as random objects, the authors provide a method to quantify the "known unknowns"—the epistemic uncertainty arising from both the limited evaluations of the simulator and the imperfect knowledge of the input distribution.

The Problem: Beyond Standard Bayesian Quadrature

Standard numerical integration often relies on Monte Carlo (MC) methods. While robust, MC requires thousands of function evaluations to achieve high accuracy. When $f(x)$ represents a heavy-duty computer simulator, such a high number of evaluations is often prohibited by time or cost constraints.

Bayesian Quadrature (BQ) was developed to address this by placing a Gaussian Process (GP) prior on $f(x)$, allowing for more efficient integration using fewer samples. However, traditional BQ assumes that the distribution $p(\mathrm{d}x)$ is known in a closed mathematical form. In real-world Bayesian forecasting, $p(\mathrm{d}x)$ is often a posterior distribution known only through samples. This paper addresses this "Case 3" scenario: where both the function $f$ and the distribution $p$ are unknown and must be inferred simultaneously.

Methodology: Dirichlet Process Mixture Bayesian Quadrature (DPMBQ)

The authors propose Dirichlet Process Mixture Bayesian Quadrature (DPMBQ). This method constructs a "sandwich" of uncertainty by modeling both components of the integral:

  1. Modeling the Function ($f$): Similar to standard BQ, a Gaussian Process (GP) prior is placed on the integrand. This surrogate model allows the algorithm to interpolate between expensive function evaluations.
  2. Modeling the Distribution ($p$): The novel contribution is the use of a Dirichlet Process Mixture (DPM) prior to model the unknown distribution. By treating $p$ as an infinite mixture of simpler distributions (such as Gaussians), the model gains the flexibility to represent complex, multi-modal densities.
  3. Integration and Uncertainty Propagation: By utilizing a DPM, the authors can analytically compute the "kernel mean"—the mathematical bridge required to integrate the GP over the estimated distribution.

Unlike traditional methods that provide a single point estimate, DPMBQ yields a full posterior distribution over the value of the integral. If the function is highly non-linear or the samples from $p$ are sparse, the variance of this posterior increases, providing a principled signal of numerical uncertainty.

Experimental Evaluation

The method was evaluated through both synthetic benchmarks and a complex biological application:

  • Synthetic Simulations: Using 1D toy problems with Gaussian mixture distributions and polynomial integrands, the authors demonstrated the method's consistency. These tests confirmed that the DPMBQ posterior correctly captures the ground truth as the number of samples increases.
  • The Goodwin Oscillator: This 5-dimensional system of ordinary differential equations (ODEs) models enzymatic control in biological systems. It served as a realistic proxy for an expensive simulator. In this context, DPMBQ was used to predict species concentration at future time points. Even with a limited number of samples ($n < 100$), the method produced a posterior distribution that successfully contained the true integral value.

Key Insights and Results

  • Dual Error Accounting: DPMBQ explicitly accounts for both "interpolation error" (from the function) and "estimation error" (from the distribution). Most existing methods ignore the latter, leading to overconfident results.
  • Convergence and Robustness: In 1D tests, the error decreased at a rate of approximately $n^{-1/4}$. While slower than BQ with a known distribution, it provides a reliable upper bound for uncertainty. Furthermore, DPMBQ outperformed simpler Dirichlet Process alternatives by assuming the underlying distribution is continuous, a more realistic assumption for physical systems.
  • Consistency: The authors provide theoretical proof that as the number of samples $n$ grows, the DPMBQ posterior collapses onto the true value of the integral, ensuring the method is asymptotically correct.

Limitations and Future Work

Despite its strengths, DPMBQ faces challenges in scaling. The method involves matrix inversions with $O(n^3)$ complexity, which is standard for GPs but can be a bottleneck for very large datasets. Additionally, while the 5D Goodwin Oscillator was successful, higher-dimensional problems may require "low-rank" structures or specialized kernels to combat the curse of dimensionality.

Future research directions include "probabilistic experimental design," where the uncertainty provided by DPMBQ is used to actively decide where the next expensive function evaluation should occur to most effectively reduce the total error.

Conclusion

By framing integration as a statistical inference problem, Oates et al. provide a robust framework for handling the complexities of modern scientific modeling. DPMBQ allows researchers to move beyond simple point estimates, offering a mathematically rigorous way to propagate numerical uncertainty through complex computational pipelines.

Summary updated

Abstract

This paper considers numerical approximation for integrals of the form $$\int f(x) p(\mathrm{d}x)$$ in the case where $f(x)$ is an expensive black-box function and $p(\mathrm{d}x)$ is an intractable distribution (meaning that it is accessible only through a finite collection of samples). Our proposal extends previous work that treats numerical integration as a problem of statistical inference, in that we model both $f$ as an a priori unknown random function and $p$ as an a priori unknown random distribution. The result is a posterior distribution over the value of the integral that accounts for these dual sources of approximation error. This construction is designed to enable the principled quantification and propagation of epistemic uncertainty due to numerical error through a computational pipeline. The work is motivated by such problems that occur in the Bayesian calibration of computer models.
BibTeX
@inproceedings{oates2017probabilistic,
  author = {Chris J. Oates and François‐Xavier Briol and Mark Girolami},
  title = {{Probabilistic Integration and Intractable Distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=SJ-eju-uWS},
}
Figure