A Study of Bayesian Neural Network Surrogates for Bayesian Optimization

Yucen Lily Li, Tim G. J. Rudner, Andrew Gordon Wilson
5/31/2023
cs.LGstat.ML

No official code found. Best implementation: yucenli/bnn-bo (68 stars, last commit 2024-05-09).

Abstract

Bayesian optimization is a highly efficient approach to optimizing objective functions which are expensive to query. These objectives are typically represented by Gaussian process (GP) surrogate models which are easy to optimize and support exact inference. While standard GP surrogates have been well-established in Bayesian optimization, Bayesian neural networks (BNNs) have recently become practical function approximators, with many benefits over standard GPs such as the ability to naturally handle non-stationarity and learn representations for high-dimensional data. In this paper, we study BNNs as alternatives to standard GP surrogates for optimization. We consider a variety of approximate inference procedures for finite-width BNNs, including high-quality Hamiltonian Monte Carlo, low-cost stochastic MCMC, and heuristics such as deep ensembles. We also consider infinite-width BNNs, linearized Laplace approximations, and partially stochastic models such as deep kernel learning. We evaluate this collection of surrogate models on diverse problems with varying dimensionality, number of objectives, non-stationarity, and discrete and continuous inputs. We find: (i) the ranking of methods is highly problem dependent, suggesting the need for tailored inductive biases; (ii) HMC is the most successful approximate inference procedure for fully stochastic BNNs; (iii) full stochasticity may be unnecessary as deep kernel learning is relatively competitive; (iv) deep ensembles perform relatively poorly; (v) infinite-width BNNs are particularly promising, especially in high dimensions.

View on arXivView PDF

Code Implementations(1)

yucenli/bnn-boCommunity100%

Bayesian Neural Network Surrogates for Bayesian Optimization

6815Python, Jupyter NotebookMay 31, 20232 years ago

Similar Papers

Cite this paper

@article{li2023study,
  title  = {A Study of Bayesian Neural Network Surrogates for Bayesian Optimization},
  author = {Yucen Lily Li and Tim G. J. Rudner and Andrew Gordon Wilson},
  year   = {2023},
  eprint = {2305.20028},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.20028v2},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.20028.svg)](https://codeofpaper.com/paper/2305.20028)

Discussion