SOBER: Highly Parallel Bayesian Optimization and Bayesian Quadrature over Discrete and Mixed Spaces

Masaki Adachi, Satoshi Hayakawa, Saad Hamid, Martin Jørgensen, Harald Oberhauser, Michael A Osborne

TL;DR

This paper introduces SOBER, a novel algorithm that unifies Bayesian Optimization (BO) and Bayesian Quadrature (BQ) to efficiently handle large batches of expensive-to-evaluate functions, especially in discrete and mixed input spaces. SOBER achieves scalable and diversified sampling, outperforming existing methods on a variety of tasks.

What Problem Does This Paper Address?

Bayesian Optimization (BO) and Bayesian Quadrature (BQ) are powerful techniques for optimizing expensive black-box functions and performing integration, respectively. While batch versions of these methods allow for parallel querying to speed up convergence, current approaches struggle with scaling to large batch sizes, which is crucial for real-world applications like drug discovery and simulation-based inference. Furthermore, many existing methods are designed for continuous input spaces and face challenges with discrete or mixed input spaces, often leading to a combinatorial explosion in complexity. This paper aims to address these limitations by developing a scalable and diversified batch optimization and quadrature algorithm that works effectively across various input types.

Methods

The core innovation of SOBER lies in reformulating batch Bayesian Optimization as a Bayesian Quadrature problem. This allows SOBER to leverage the strengths of both approaches: the exploitative nature of BO for finding optima and the explorative nature of BQ for covering the search space. Specifically, SOBER uses a technique called Randomized Convex Hull Quadrature (RCHQ) for scalable and diversified batch selection. This involves reframing the acquisition function maximization (a non-convex problem) into a kernel recombination problem (convex).

SOBER offers two variants for updating its internal probability distribution ($\pi$):

  • SOBER-TS (Thompson Sampling-based): This variant uses the maximum of the current Gaussian Process (GP) surrogate as $\pi$, leveraging Thompson Sampling.
  • SOBER-LFI (Likelihood-Free Inference-based): This variant uses a tentative likelihood derived from the probability of improvement to define $\pi$, allowing for more targeted exploration.

The paper also introduces auxiliary algorithms for handling noisy and non-smooth functions, and for automating kernel selection.

Datasets

The paper evaluates SOBER on 12 tasks, comprising:

  • Synthetic Datasets: Ackley, Rosenbrock, Hartmann, and Shekel functions.
  • Real-World Datasets:
    • Drug Discovery: Pest Control, Maximum Satisfiability, Ising Model Sparsification, Anti-Malarial Drug Discovery, Polar Solvent for Batteries.
  • Simulation-based Inference: 2 RC Pairs ECM, 5 RC Pairs ECM.

Key Insights and Ideas

  • Unifying BO and BQ: The paper demonstrates that by reformulating BO as a BQ problem, one can effectively combine the benefits of both, leading to improved performance and scalability.
  • Scalable Batch Selection: SOBER's approach of turning acquisition function maximization into kernel recombination is a key enabler for handling large batch sizes without combinatorial explosion.
  • Diversified Sampling: The use of RCHQ and the $\pi$ update mechanism ensures that SOBER explores the search space more effectively than purely exploitative methods, preventing it from getting stuck in local optima.
  • Handling Discrete and Mixed Spaces: SOBER's formulation naturally accommodates discrete and mixed input spaces, a significant advantage over many existing BO methods.
  • The Role of $\pi$ Shrinkage: The paper highlights that the shrinkage of the probability distribution $\pi$ towards the global maximum is a good measure of reduced Bayesian regret, providing a theoretical link between the optimization objective and performance.

Key Results

  • SOBER outperforms 11 competitive baselines on 12 synthetic and real-world tasks in terms of sample efficiency.
  • SOBER-LFI, in particular, shows strong performance across multimodal and noisy functions in continuous, discrete, and mixed spaces.
  • The method achieves faster wall-clock time computation compared to baselines.
  • SOBER-LFI is shown to be robust to various hyperparameter settings, with default configurations performing competitively.
  • The paper demonstrates that SOBER can effectively estimate both posterior distributions and model evidence in simulation-based inference tasks.

Limitations and Future Work

  • Asynchronous Settings: SOBER is not designed for asynchronous settings.
  • Distributed Computing: The current implementation is not distributed across multiple nodes in a cluster.
  • High-Dimensional BO: Efficient sampling from the posterior over the maximizer in high-dimensional BO remains a challenge.
  • Understanding Random Sampling: The exact reasons why empirical measures with random samples work surprisingly well require further theoretical analysis.

Future work could explore extending SOBER to asynchronous settings and distributed computing, as well as developing more efficient methods for high-dimensional BO. Further theoretical analysis into the effectiveness of random sampling in this context is also suggested.

Summary updated

BibTeX
@inproceedings{adachi2023sober,
  author = {Masaki Adachi and Satoshi Hayakawa and Saad Hamid and Martin Jørgensen and Harald Oberhauser and Michael A Osborne},
  title = {{SOBER: Highly Parallel Bayesian Optimization and Bayesian Quadrature over Discrete and Mixed Spaces}},
  booktitle = {SODS @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=aewcDfu3Zn},
}
Figure