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

Dynamic Batch Bayesian Optimization

Javad Azimi, Ali Jalali, Xiaoli FernarXiv 2011

TL;DR

This paper introduces a Dynamic Batch Bayesian Optimization algorithm that intelligently decides when to run multiple experiments in parallel versus waiting for sequential results. By identifying points that are "approximately independent" of pending experiments, the method achieves significant speedups (up to 18%) with negligible impact on optimization performance compared to traditional sequential approaches.

What Problem Does This Paper Address?

Bayesian Optimization (BO) is the gold standard for optimizing "black-box" functions that are expensive to evaluate—think of tuning hyperparameters for a massive neural network or conducting complex physical experiments. Traditionally, BO is sequential: you run one experiment, wait for the result, update your model, and then pick the next point.

The problem? If an experiment takes hours or days, and you have the hardware to run several at once, the sequential approach is painfully slow. Conversely, simply requesting a fixed batch of experiments (e.g., "always run 5 at a time") often leads to poor performance because the later points in the batch don't benefit from the information gained by the earlier ones. The authors seek a middle ground: a way to dynamically determine batch size so we only parallelize when it’s "safe" to do so.

Methods

The authors build their approach on two standard pillars: Gaussian Processes (GP) for modeling the unknown function and the Expected Improvement (EI) policy for selecting new points.

The core innovation is a heuristic for "independence." At any step, the algorithm asks: Is the next point likely to be selected by the sequential policy regardless of what the current experiment returns?

To answer this without actually knowing the result, they use two key theoretical insights:

  1. Variance is predictable: In a GP, the variance at a point $z$ after sampling at $x^*$ depends only on the location of $x^*$, not its actual value.
  2. Bounding the Mean: While the mean $\mu_z$ does depend on the outcome, the authors prove an upper bound on how much it can change (Theorem 2).

Algorithm 1 (Dynamic Batch EI) works by "hallucinating" the best possible outcome ($M$) for a selected point. If a second point $z$ still looks like a top candidate even under this optimistic assumption, and its expected change in mean is below a threshold $\epsilon$, it is deemed independent enough to be added to the current batch.

Datasets

The researchers evaluated their method on a mix of synthetic and real-world benchmarks:

  • Synthetic Benchmarks: Six well-known functions including Cosines, Rosenbrock, Hartman (3D and 6D), Shekel, and Michalewicz. These represent various challenges like multiple local optima or narrow ridges.
  • Real-World Benchmarks: Two datasets related to renewable energy—Fuel Cell and Hydrogen optimization.

Key Insights and Ideas

  • The "Independence" Sweet Spot: The most profound insight is that sequential decisions aren't always tightly coupled. In many regions of the search space, the "next best move" remains the same across a wide range of possible experimental outcomes.
  • Optimistic Bounding: By setting the pending experiment's outcome to a maximum value $M$, the algorithm creates a "worst-case" scenario for the Expected Improvement of other points. If a point survives this test, it’s a robust choice for batching.
  • Dynamic vs. Static: Unlike previous batch methods that force a specific batch size ($k$), this algorithm is conservative. If the next points are highly dependent on current ones, it will revert to a batch size of 1, preserving the integrity of the optimization.

Key Results

The authors compared their dynamic approach against a standard sequential policy. As shown in the performance table below, the dynamic batching (labeled "Semi") achieved results very close to the sequential baseline while providing a meaningful speedup.

Table 2: Benchmark Performance

Key quantitative findings include:

  • Speedup: They achieved a maximum speedup of 18.4% for the Hartman 3 benchmark.
  • Scaling: As the total number of allowed experiments ($n_l$) increases, the speedup ratio tends to improve. This is because the model becomes more certain, making it easier to identify independent points.
  • Function Sensitivity: The speedup is highly dependent on the function's shape. For example, the Rosenbrock function (which has a single global optimum) showed a very different speedup profile compared to multi-modal functions like Cosines.
Speedup ratio vs. number of experiments for various benchmarks.

Limitations and Future Work

  • The $\epsilon$ Threshold: The algorithm relies on a stopping threshold $\epsilon$. Choosing this value requires some prior knowledge or tuning; if it's too high, performance might degrade; if too low, you lose the speedup.
  • Maximum Value $M$: The bounding technique requires an estimate of the maximum possible output value $M$. While often available in engineering contexts, it might be hard to estimate for entirely unknown black-box functions.
  • Policy Extension: While this paper focuses on Expected Improvement, the authors note that the rate of speedup would vary significantly if applied to other policies like Maximum Mean or Probability of Improvement. Testing these interactions remains a path for future research.

Summary updated

BibTeX
@misc{azimi2011dynamic,
  author = {Javad Azimi and Ali Jalali and Xiaoli Fern},
  title = {{Dynamic Batch Bayesian Optimization}},
  year = {2011},
  eprint = {1110.3347},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1110.3347},
}
Figure