Skip to yearly menu bar Skip to main content


Bayesian Optimization for Probabilistic Programs

Thomas Rainforth · Tuan Anh Le · Jan-Willem van de Meent · Michael A Osborne · Frank Wood

Area 5+6+7+8 #115

Keywords: [ Gaussian Processes ] [ (Other) Bayesian Inference ] [ (Other) Optimization ] [ (Other) Probabilistic Models and Methods ]


We present the first general purpose framework for marginal maximum a posteriori estimation of probabilistic program variables. By using a series of code transformations, the evidence of any probabilistic program, and therefore of any graphical model, can be optimized with respect to an arbitrary subset of its sampled variables. To carry out this optimization, we develop the first Bayesian optimization package to directly exploit the source code of its target, leading to innovations in problem-independent hyperpriors, unbounded optimization, and implicit constraint satisfaction; delivering significant performance improvements over prominent existing packages. We present applications of our method to a number of tasks including engineering design and parameter optimization.

Live content is unavailable. Log in and register to view live content