Bayesian inference by active sampling

Student thesis: Doctoral ThesisDoctor of Philosophy (PhD)


Uncertainty quantification is a critical component to increasing the safety and reliability of machine learning systems. Bayesian statistics is immensely useful for the design
of learning algorithms to accommodate uncertainty quantification. Bayesian inference
constitutes the computation involved in Bayesian methods and is synonymous with learning when applied to parameters. Many models do not allow for exact inference, requiring approximate methods. However, many of the current approximate inference methods are special-purpose, can be challenging to use, or are not robust to problem-specifics.
Active sampling is a class of algorithms that chooses instances for which to acquire data
or information. When combined with flexible and expanding representations, this class allows the treatment of black-box problems where details of the problem can be unknown until the algorithm discovers them at runtime.
In the thesis, our focus is to address Bayesian inference through active sampling to produce methods that are robust, easy to use, general and yet efficient.
We first consider inference of the optimum of an unknown objective function, for which
Bayesian Optimization using a Gaussian Process surrogate model is a popular methodology. Many functions arising in real-world applications are challenging to treat using popular GP models, which often leads to unexpectedly poor optimisation performance when a practitioner or system applies BO to a black-box problem. Such functions include, for example, objective functions with discontinuities, which are exceedingly improbable functions under the function prior. We address this by proposing a BO methodology in which the surrogate model is used to predict only the structures of the objective function that are useful for locating the optimum. We show that our approach allows the search to maintain sample-efficiency when faced with challenging structures, increasing the overall reliability of the BO method.
We then treat general Bayesian inference through active sampling where the target is a
general, black-box distribution, such as an intractable posterior distribution. The algorithm we propose is asymptotically exact, efficient and scalable to millions of evaluations of the density function, allowing close approximations to any bounded distribution. The algorithm produces an approximation to the black-box distribution that allows for efficient operations, including fast, constant-time sampling, computation of the normalisation constant, and conditional distributions to be derived. We show how our methodology allows us to address a diverse set of tasks, including posterior inference, evidence estimation, divergence estimation, and propagate uncertainty through probabilistic function models.
Date of Award28 Sep 2021
Original languageEnglish
Awarding Institution
  • The University of Bristol
SupervisorFrançois Dupressoir (Supervisor), Carl Henrik Ek (Supervisor) & Neill W Campbell (Supervisor)


  • Bayesian inference, Bayesian optimization, Active sampling, Surrogate models, Gaussian Processes

Cite this