NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient and Scalable Batch Bayesian Optimization Using K-Means

Matthew Groves, Edward O. Pyzer-KnapparXiv 2018

Introduction

Bayesian Optimization (BO) has become a cornerstone for optimizing expensive, black-box functions, ranging from hyperparameter tuning in machine learning to molecular discovery in drug development. While standard BO operates sequentially, real-world applications often demand parallel evaluation to maximize resource utilization. Batch BO addresses this by selecting multiple points simultaneously. However, existing batch methods often struggle to maintain fixed batch sizes or scale to high-dimensional spaces.

The Challenge of Batch Selection

The primary difficulty in batch BO lies in the computational intractability of finding the mathematically optimal set of points. Heuristics like Constant Liar or Local Penalization are commonly used but often fail to balance exploration and exploitation effectively. Furthermore, many physical constraints require a strict, fixed batch size (e.g., a specific number of slots in a laboratory robot), which many current algorithms cannot easily enforce.

Methodology

This paper introduces two primary innovations to address these limitations:

K-Means Batch Bayesian Optimization (KMBBO)

KMBBO leverages unsupervised learning to simplify batch selection. The process begins with Batch Generalized Slice Sampling (BGSS) to draw a large set of samples from high-density regions of the acquisition function (e.g., Expected Improvement). Instead of a greedy selection, the algorithm applies K-Means clustering to these samples, where the number of clusters $k$ is set to the desired batch size. The resulting cluster centroids are chosen as the evaluation points. This approach naturally balances exploration and exploitation; if the acquisition function has fewer peaks than the batch size, K-Means forces centroids to spread into uncertain regions to minimize within-cluster distance.

Compressed Sensing KMBBO (CS-KMBBO)

To handle high-dimensional discrete spaces where slice sampling typically fails, the authors integrate a dimensionality reduction step. Using the TwIST algorithm for compressed sensing, high-dimensional features are projected into a lower-dimensional basis. Optimization occurs in this compressed space, and results are then decompressed back to the original space, enabling efficient search in complex domains like drug discovery.

Experimental Evaluation

The methods were tested on synthetic benchmarks (Branin-Hoo, Camelback-6, Hartmann), SVM hyperparameter tuning (Abalone dataset), and a 167-dimensional Malaria drug discovery task.

Key Results

KMBBO demonstrated superior convergence across all tasks. As shown in the regret analysis, KMBBO consistently reaches lower regret levels faster than competing methods like Naive qEI or Thompson Sampling.

Comparison of instantaneous regret across different batch BO methods over 10 epochs.

Beyond convergence, KMBBO offers significant computational advantages. By replacing complex models like Infinite Gaussian Mixture Models (used in B3O) with K-Means, the runtime per sampling epoch is drastically reduced, particularly as the problem dimensionality grows.

Running time comparison between B3O and KMBBO on Camelback and Hartmann functions.

In the high-dimensional drug discovery task, CS-KMBBO succeeded where other state-of-the-art methods failed due to instability or computational cost. It identified highly potent molecules within just 10 epochs, sampling a tiny fraction of the total candidate space.

Conclusion

KMBBO provides a robust, efficient, and scalable framework for batch Bayesian optimization. By utilizing K-Means clustering, it ensures strict batch sizes while maintaining a healthy balance of exploration. The addition of compressed sensing further extends its utility to high-dimensional problems, making it a versatile tool for modern experimental design.

Summary updated

BibTeX
@misc{groves2018efficient,
  author = {Matthew Groves and Edward O. Pyzer-Knapp},
  title = {{Efficient and Scalable Batch Bayesian Optimization Using K-Means}},
  year = {2018},
  eprint = {1806.01159},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.01159},
}
Figure