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

Simple and Scalable Parallelized Bayesian Optimization

Masahiro NomuraarXiv 2020

Abstract

In recent years, leveraging parallel and distributed computational resources has become essential to solve problems of high computational cost. Bayesian optimization (BO) has shown attractive results in those expensive-to-evaluate problems such as hyperparameter optimization of machine learning algorithms. While many parallel BO methods have been developed to search efficiently utilizing these computational resources, these methods assumed synchronous settings or were not scalable. In this paper, we propose a simple and scalable BO method for asynchronous parallel settings. Experiments are carried out with a benchmark function and hyperparameter optimization of multi-layer perceptrons, which demonstrate the promising performance of the proposed method.

Introduction

Bayesian Optimization (BO) is the gold standard for "black-box" optimization problems where evaluating a single point is computationally expensive, such as tuning hyperparameters for massive neural networks. However, standard BO faces two major hurdles in modern computing environments:

  1. Computational Complexity: Most BO methods rely on Gaussian Processes (GPs), which have a time complexity of $O(n^3)$. As more data points ($n$) are collected, the time required to decide the next sample point grows cubically, eventually becoming a bottleneck itself.
  2. The Parallelism Gap: Traditional BO research often assumes synchronous batches. In real-world asynchronous settings—where evaluation times vary—deterministic acquisition functions can lead to redundant sampling, as multiple idle workers might suggest the same "best" point before the model is updated with new results.

This paper introduces a method that is both linear-time scalable and naturally suited for asynchronous parallel execution.

Methodology

The proposed method builds on the Tree-structured Parzen Estimator (TPE). Unlike GPs, which model the probability of an outcome given inputs ($p(y|x)$), TPE models the distribution of inputs given the outcome ($p(x|y)$), splitting observations into "good" results ($l(x)$) and "bad" results ($g(x)$).

Probabilistic Sampling

Standard TPE is deterministic, always picking the $x$ that maximizes the ratio $l(x)/g(x)$. To enable efficient parallel exploration, we shift to a probabilistic sampling approach. We derive a formula for the probability that a point will be "good" (i.e., better than a threshold $y^*$):

$$p(y < y^* | x) = \frac{\gamma l(x)}{\gamma l(x) + (1-\gamma)g(x)}$$

By sampling points directly from this distribution using rejection sampling, different workers naturally explore different promising regions of the search space without needing complex coordination or penalization logic.

Experimental Results

We evaluated the method against Parallel Thompson Sampling (Parallel-TS), a state-of-the-art GP-based asynchronous method, across two primary benchmarks: the 18-dimensional Hartmann synthetic function and hyperparameter optimization for Multi-Layer Perceptrons (MLPs) on the Fashion-MNIST dataset.

Performance on the Hartmann18 benchmark function. While the proposed method (Ours) is competitive with Parallel-TS in terms of the number of evaluations (left), it significantly outperforms it in wall-clock time (right) due to its lower computational overhead.

Key Insights

  • Simplicity is Scalable: By inheriting TPE’s linear time complexity ($O(n)$), the proposed method avoids the "computational wall" hit by GP-based methods as evaluations increase.
  • Probabilistic Diversity: Stochastic sampling ensures that workers are unlikely to collide on the same coordinates, providing inherent diversity in parallel exploration.
  • Wall-Clock Superiority: While GP-based methods may occasionally find better points in fewer total evaluations, they often lose in total time because the optimizer spends significant time calculating the next point. In real-world applications, wall-clock time is the metric that matters most.
Performance on MLP hyperparameter optimization (Fashion-MNIST). The proposed method reaches lower validation errors much faster than the GP-based baseline when measured by total computation time.

Conclusion

By replacing deterministic acquisition with probabilistic sampling within a TPE framework, we achieve a simple yet powerful method for asynchronous parallel Bayesian Optimization. Our approach demonstrates that linear-time complexity and inherent stochasticity are key to leveraging modern distributed resources effectively. Future work will explore integration with frameworks like BOHB and scaling to environments with hundreds of parallel workers.

Summary updated

BibTeX
@misc{nomura2020simple,
  author = {Masahiro Nomura},
  title = {{Simple and Scalable Parallelized Bayesian Optimization}},
  year = {2020},
  eprint = {2006.13600},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.13600},
}
Figure