[Paper Review] Dynamic Batch Bayesian Optimization
This paper proposes Dynamic Batch Bayesian Optimization, a method that adaptively varies batch sizes at each iteration to accelerate sequential Bayesian optimization without sacrificing performance. By identifying nearly independent experiments predicted by Expected Improvement, the algorithm runs them in parallel, achieving up to 18.4% speedup over sequential methods with minimal performance degradation on real and synthetic benchmarks.
Bayesian optimization (BO) algorithms try to optimize an unknown function that is expensive to evaluate using minimum number of evaluations/experiments. Most of the proposed algorithms in BO are sequential, where only one experiment is selected at each iteration. This method can be time inefficient when each experiment takes a long time and more than one experiment can be ran concurrently. On the other hand, requesting a fix-sized batch of experiments at each iteration causes performance inefficiency in BO compared to the sequential policies. In this paper, we present an algorithm that asks a batch of experiments at each time step t where the batch size p_t is dynamically determined in each step. Our algorithm is based on the observation that the sequence of experiments selected by the sequential policy can sometimes be almost independent from each other. Our algorithm identifies such scenarios and request those experiments at the same time without degrading the performance. We evaluate our proposed method using the Expected Improvement policy and the results show substantial speedup with little impact on the performance in eight real and synthetic benchmarks.
Motivation & Objective
- To address the inefficiency of fixed-batch Bayesian optimization, which underperforms compared to sequential policies.
- To overcome the time inefficiency of purely sequential Bayesian optimization when experiments are costly and concurrent execution is possible.
- To develop a dynamic batch selection strategy that intelligently varies batch size based on the independence of future sequential selections.
- To maintain performance close to sequential Bayesian optimization while significantly reducing total experiment time through adaptive parallelization.
Proposed method
- The algorithm dynamically determines the batch size $ p_t $ at each iteration $ t $ based on the likelihood that the next $ p_t $ experiments selected by Expected Improvement (EI) are approximately independent.
- It uses Gaussian Process (GP) regression to model the unknown function and compute predictive mean $ \mu_i^* $ and variance $ \sigma_i^{*2} $, enabling variance-based prediction of future uncertainty reduction.
- The method applies Theorem 1 to compute the expected variance reduction $ \Delta^*(\sigma_z) $ after sampling at a candidate batch $ \boldsymbol{x}^* $, using kernel functions and matrix operations.
- It evaluates the independence of sequential EI selections by estimating the change in predictive mean $ \Delta^*(\mu_z) $ and variance $ \Delta^*(\sigma_z) $, identifying batches where variance reduction is high and mean change is low.
- The algorithm uses a threshold $ \epsilon $ to determine if a set of points can be safely batched, ensuring minimal performance degradation.
- It integrates with both fixed-M and adaptive-M (via $ (1+\alpha)y_{\text{max}} $) Expected Improvement policies to support flexible performance evaluation.
Experimental results
Research questions
- RQ1Can dynamic batch selection improve the efficiency of Bayesian optimization without degrading performance compared to sequential methods?
- RQ2How can batch size be adaptively determined at each iteration to maximize parallelism while preserving optimality?
- RQ3To what extent can the independence of future EI-selected points be predicted using GP posterior variance and mean changes?
- RQ4What is the achievable speedup in real and synthetic benchmarks when using dynamic batch sizes versus fixed or sequential policies?
- RQ5How does the performance of dynamic batch BO compare to sequential BO under varying improvement targets (fixed M vs. adaptive M)?
Key findings
- The proposed dynamic batch Bayesian optimization achieves up to 18.4% speedup over sequential Bayesian optimization on the Hartman(3) benchmark when using an adaptive improvement target ($ \alpha = 0.1 $).
- On the Rosenbrock(2) benchmark, the method achieves 16.3% speedup with a fixed improvement target, demonstrating strong performance in problems with a single global optimum.
- For all benchmarks, the method maintains performance within 10% of the sequential policy, indicating minimal degradation despite aggressive batching.
- Speedup increases with the number of experiments: when $ n_l \geq 20 $, the algorithm frequently selects $ p_t > 1 $, and approaches the maximum batch size of 5 as $ n_l $ increases.
- The method achieves significant speedup on both synthetic (e.g., Hartman, Michalewicz) and real-world benchmarks (e.g., Fuel Cell, Hydrogen), showing broad applicability.
- The use of adaptive improvement targets ($ (1+\alpha)y_{\text{max}} $) leads to higher speedup (e.g., 17.4% on Shekel) compared to fixed-M settings, indicating better alignment with real-world optimization dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.