Skip to main content
QUICK REVIEW

[Paper Review] ProBO: Versatile Bayesian Optimization Using Any Probabilistic Programming Language

Willie Neiswanger, Kirthevasan Kandasamy|arXiv (Cornell University)|Jan 31, 2019
Machine Learning and Data ClassificationComputer Science48 references9 citations
TL;DR

ProBO enables Bayesian optimization with any probabilistic programming language (PPL) by leveraging standard PPL operations to compute and optimize acquisition functions without model-specific derivations. It achieves superior performance in complex settings—such as multi-task, contaminated, or multi-fidelity BO—by integrating flexible PPL-based models like warp models and basin models, outperforming standard GP-based BO in challenging landscapes.

ABSTRACT

Optimizing an expensive-to-query function is a common task in science and engineering, where it is beneficial to keep the number of queries to a minimum. A popular strategy is Bayesian optimization (BO), which leverages probabilistic models for this task. Most BO today uses Gaussian processes (GPs), or a few other surrogate models. However, there is a broad set of Bayesian modeling techniques that could be used to capture complex systems and reduce the number of queries in BO. Probabilistic programming languages (PPLs) are modern tools that allow for flexible model definition, prior specification, model composition, and automatic inference. In this paper, we develop ProBO, a BO procedure that uses only standard operations common to most PPLs. This allows a user to drop in a model built with an arbitrary PPL and use it directly in BO. We describe acquisition functions for ProBO, and strategies for efficiently optimizing these functions given complex models or costly inference procedures. Using existing PPLs, we implement new models to aid in a few challenging optimization settings, and demonstrate these on model hyperparameter and architecture search tasks.

Motivation & Objective

  • To enable Bayesian optimization using arbitrary models implemented in any probabilistic programming language (PPL), overcoming limitations of fixed surrogate models like Gaussian processes.
  • To develop a general-purpose BO framework that works with diverse PPL inference outputs—such as samples, variational approximations, or amortized posteriors—without requiring model-specific derivations.
  • To address challenging optimization scenarios, including multi-task, contextual, contaminated, and multi-fidelity settings, by designing new PPL-based models that capture complex system structures.
  • To reduce the computational cost of acquisition function optimization in BO with complex models by efficiently caching and reusing PPL operations.
  • To demonstrate that flexible, PPL-powered surrogate models can significantly reduce the number of queries needed in expensive optimization tasks.

Proposed method

  • ProBO uses a universal abstraction based on three core PPL operations—gen, post, and sample—to compute acquisition functions, enabling compatibility with any PPL without model-specific derivations.
  • It introduces a multi-fidelity acquisition optimization algorithm (Alg. 6) that reduces the number of post and gen calls by up to a factor of 3 while maintaining high-fidelity performance.
  • For structured modeling, ProBO employs a warp model that applies context-specific transformations to a latent GP, enabling joint optimization across related tasks or contexts.
  • It supports model ensembling by combining posterior predictive densities from multiple PPL models using only the three fundamental PPL operations.
  • Acquisition functions such as Expected Improvement (EI) and Upper Confidence Bound (UCB) are computed and optimized via differentiable or stochastic optimization strategies compatible with PPL inference outputs.
  • The system caches intermediate PPL inference results to avoid redundant computation, enabling efficient optimization even with costly inference procedures.

Experimental results

Research questions

  • RQ1Can Bayesian optimization be generalized to work with any probabilistic programming language model without requiring model-specific acquisition function derivations?
  • RQ2How can acquisition functions be efficiently computed and optimized when the posterior is represented via samples, variational approximations, or implicit models from a PPL?
  • RQ3Can PPL-based models such as warp models or basin models improve optimization performance in complex, non-stationary, or multi-fidelity settings compared to standard Gaussian process models?
  • RQ4To what extent can multi-fidelity acquisition optimization reduce the number of expensive PPL inference calls while preserving optimization performance?
  • RQ5Can model ensembling via PPL operations improve robustness and accuracy in Bayesian optimization under uncertainty or partial information?

Key findings

  • ProBO with a basin model outperformed standard GP-based BO in identifying inflection points in steep, non-stationary landscapes, where GPs struggle due to poor local fit.
  • In structured multi-task BO, the warp model enabled joint optimization across related tasks, achieving better performance than independent GPs or fixed-fidelity baselines.
  • The multi-fidelity acquisition function (a_MF) reduced the number of post and gen calls by a factor of 3 compared to high-fidelity acquisition, while matching its performance on synthetic and neural network hyperparameter tasks.
  • ProBO with a PPL-based ensemble model successfully incorporated side information and multiple data sources, improving robustness in contaminated or noisy observation settings.
  • Empirical results on hyperparameter and architecture search tasks demonstrated that PPL-based models integrated into ProBO achieved faster convergence and better final objective values than standard GP-based BO.
  • The system’s reliance on universal PPL operations enabled seamless integration of models from existing PPLs like Pyro, Stan, and TensorFlow Probability, without requiring custom implementation for each model type.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.