Skip to main content
QUICK REVIEW

[Paper Review] GPflowOpt: A Bayesian Optimization Library using TensorFlow

Nicolas Knudde, Joachim van der Herten|arXiv (Cornell University)|Nov 10, 2017
Advanced Bandit Algorithms ResearchDecision Sciences10 references56 citations
TL;DR

GPflowOpt is a Python Bayesian optimization framework built on GPflow/TensorFlow that enables easy extension with custom models and acquisition functions, supports single- and multi-objective optimization including constraints, and leverages automatic differentiation, GPUs, and parallelization.

ABSTRACT

A novel Python framework for Bayesian optimization known as GPflowOpt is introduced. The package is based on the popular GPflow library for Gaussian processes, leveraging the benefits of TensorFlow including automatic differentiation, parallelization and GPU computations for Bayesian optimization. Design goals focus on a framework that is easy to extend with custom acquisition functions and models. The framework is thoroughly tested and well documented, and provides scalability. The current released version of GPflowOpt includes some standard single-objective acquisition functions, the state-of-the-art max-value entropy search, as well as a Bayesian multi-objective approach. Finally, it permits easy use of custom modeling strategies implemented in GPflow.

Motivation & Objective

  • Create an extensible Bayesian optimization framework built on GPflow to simplify adding new models and acquisition functions.
  • Leverage TensorFlow features (automatic differentiation, parallelization, GPU) to scale Bayesian optimization.
  • Provide support for single- and multi-objective optimization and constraints via acquisition functions.
  • Ensure rigorous testing and documentation to facilitate adoption and reuse in diverse domains.

Proposed method

  • Use GPflow as the surrogate modeling backend to enable easy development of GP-based models.
  • Implement acquisition functions (EI, PoI, LCB, MES, PoF, HvPoI) that map GP predictions to scalar scores.
  • Offer a modular design with Domain, Acquisition, and Optimizer components to structure BO workflows.
  • Incorporate automated data scaling and model-hyperparameter optimization, with optional Hamiltonian Monte Carlo for hyperparameters.
  • Enable multi-objective optimization through HvPoI and related acquisition strategies, including Pareto-front considerations.
  • Provide GPU support and automatic differentiation via TensorFlow to accelerate computations.

Experimental results

Research questions

  • RQ1How can GPflowOpt provide an easy-to-extend interface for custom GP models and acquisition functions within Bayesian optimization?
  • RQ2How effectively does GPflowOpt support single- and multi-objective optimization, including constraints via PoF?
  • RQ3How does GPflowOpt compare to existing BO frameworks in language, features like auto-differentiation, multi-objective support, code quality, and hardware support?
  • RQ4Can GPflowOpt leverage TensorFlow (GPU/automatic differentiation) to improve scaling and performance of Bayesian optimization?

Key findings

  • GPflowOpt enables straightforward application of different GPflow-based surrogate models as surrogates in Bayesian optimization.
  • It includes automatic differentiation, GPU support, and a clean, extensible object-oriented Python front end.
  • The framework implements multiple acquisition functions for single- and multi-objective optimization, plus PoF for constraints.
  • GPflowOpt provides rigorous testing with 99% code coverage and extensive documentation.
  • Compared to other frameworks, GPflowOpt offers auto-differentiation, multi-objective support, and GPU usage, though batch BO and certain back-ends are not initially present.
  • A toy multi-objective example demonstrates HvPoI and PoF integration with a real-world cyclone separator.

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.