Practical Batch Bayesian Optimization for Less Expensive Functions

Vu Nguyen, Sunil Gupta, Santu Rana, Cheng Li, Svetha VenkatesharXiv 2018

Abstract

Standard Bayesian Optimization (BO) frameworks typically assume that objective function evaluations are so costly that the computational overhead of the selection algorithm is negligible. However, for "less expensive" functions—such as medium-scale machine learning training or short physics simulations—the BO algorithm itself can become a significant bottleneck. We introduce UCB-DE (Upper Confidence Bound with Distance Exploration), a computationally efficient batch BO algorithm. By combining a single standard global optimization step with a fast, distance-based space-filling strategy using Sobol sequences, UCB-DE achieves state-of-the-art optimization performance while reducing wall-clock time by factors of 3 to 6 compared to traditional batch methods.

Introduction

Bayesian Optimization is the premier method for tuning hyperparameters or optimizing physical experiments where every trial is expensive. Yet, a significant gap exists for functions that are neither trivial to evaluate nor ultra-expensive (e.g., taking 20–60 seconds). In these scenarios, traditional batch BO methods—which often require multiple heavy global optimization steps to select a batch of $B$ points—become the primary bottleneck. If an algorithm takes 10 minutes to decide on a batch for a process where evaluations take only 1 minute, the overhead dominates the total optimization time. This paper addresses the need for a "lean" batch BO method practical for these mid-tier functions.

Methodology

UCB-DE operates in two distinct phases to populate a batch of size $B$:

  1. Exploitation (The First Point): The first point is selected using the standard Gaussian Process Upper Confidence Bound (GP-UCB) acquisition function, requiring one traditional global optimization step.
  2. Distance Exploration (The Remaining $B-1$ Points): To avoid the cost of $B-1$ additional optimizations, the algorithm uses a data-driven space-filling strategy. It utilizes a pre-computed Sobol sequence to greedily select points furthest from all previously observed data and points already in the current batch.
Illustration of the Distance Exploration (DE) strategy using Sobol sequences to fill a batch.

This approach uses geometric distance as a proxy for uncertainty. In a Gaussian Process, uncertainty is naturally highest in regions far from existing data; by maximizing this distance, UCB-DE ensures batch diversity without the cubic computational cost of repeated GP variance updates.

Experimental Results

The authors evaluated UCB-DE against standard benchmarks (Alpine2, Hartmann, gSobol) and real-world applications, including Aluminum Heat-treatment Design and BNMC Hyperparameter Tuning.

Performance and Efficiency

A critical finding is the disparity between performance measured by iteration versus wall-clock time. While many algorithms perform similarly on a per-iteration basis, UCB-DE demonstrates a massive advantage when accounting for time. On the 10-dimensional gSobol function, UCB-DE significantly outperformed baselines, suggesting its distance-based exploration effectively prevents local clustering in higher dimensions.

Performance comparison on synthetic benchmarks across iterations (top) and wall-clock time (bottom).

As shown in the synthetic benchmarks, UCB-DE (red line) reaches optimal values significantly faster than competitors like BUCB. In real-world tasks like Aluminum Heat-treatment, UCB-DE reached optimal strength levels in a fraction of the time required by traditional acquisition functions.

Discussion and Conclusion

UCB-DE highlights that the "intelligence" of a BO algorithm can be a liability if it is too slow for the task at hand. By reducing the number of global optimizations from $B$ to one per iteration, the computational time for UCB-DE remains nearly flat even as batch sizes increase.

While the current implementation uses isotropic Euclidean distance, future work could adapt the Distance Exploration (DE) phase for anisotropic cases where dimensions have varying sensitivities. Despite this, the current iteration of UCB-DE provides a robust, scalable solution for practical engineering tasks where time-to-solution is the most critical metric.

Summary updated

BibTeX
@misc{nguyen2018practical,
  author = {Vu Nguyen and Sunil Gupta and Santu Rana and Cheng Li and Svetha Venkatesh},
  title = {{Practical Batch Bayesian Optimization for Less Expensive Functions}},
  year = {2018},
  eprint = {1811.01466},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.01466},
}
Figure