Bayesian Optimization (BO) has emerged as the premier strategy for optimizing expensive, black-box functions, such as hyperparameter tuning for deep neural networks. Central to BO is the acquisition function, a heuristic that guides the search by balancing exploration of uncertain regions with exploitation of known high-performing areas. While single-point optimization is well-understood, modern computational resources often allow for parallel evaluations. However, optimizing acquisition functions for batches of $q$ points—known as parallel BO—presents a significant computational bottleneck.
The Challenge of Parallel Bayesian Optimization
In standard BO, a surrogate model, typically a Gaussian Process (GP), is used to maintain a probabilistic belief about the objective function.
To select the next points for evaluation, one must maximize the acquisition function. In the parallel setting, this involves finding a batch of $q$ points that maximizes a joint criterion. This optimization task is difficult because the acquisition function becomes a high-dimensional, non-convex, and often intractable integral over the posterior distribution. Traditional approaches have relied on gradient-free optimizers or sequential heuristics, which often fail to scale as the batch size $q$ increases.
Differentiable Acquisition Functions via Reparameterization
This paper proposes a unified framework to make batch acquisition functions differentiable, allowing for efficient optimization using standard gradient-based techniques like Adam or L-BFGS. The core idea is the reparameterization trick, famously used in Variational Autoencoders.
Instead of sampling directly from the posterior $p(y|X)$, the authors express the random variable $y$ as a deterministic transformation of a parameter-free base distribution. For a GP, this takes the form $y = \mu + Lz$, where $z \sim \mathcal{N}(0, I)$ and $L$ is the Cholesky factor of the covariance matrix. By rewriting the acquisition function in this way, the gradient of the Monte Carlo (MC) estimate can be computed directly with respect to the input locations $X$.
Handling Non-Differentiability
Some acquisition functions involve non-differentiable operators. For Expected Improvement (EI), which uses a max() operator, the authors utilize subgradients. For functions involving discrete steps, such as Probability of Improvement (PI) or Entropy Search (ES), they introduce a softmax relaxation. This approximation provides useful gradient information that is otherwise absent in the original "hard" functions, enabling effective optimization even when the approximation is not perfectly exact.
Key Insights and Results
The authors demonstrate that the quality of the "inner loop" optimization—how well we maximize the acquisition function—is just as critical as the surrogate model itself. In synthetic 8-dimensional benchmarks, gradient-based optimizers using the reparameterization trick consistently outperformed gradient-free baselines like Random Search and DIRECT.
Furthermore, the framework allows for the derivation of $q$-UCB, an exact integral representation for the Upper Confidence Bound in a parallel setting. Unlike previous sequential heuristics, this approach enables the simultaneous optimization of all $q$ points in a batch, leading to significantly lower regret levels for equivalent computational runtimes.
Conclusion
By applying the reparameterization trick to Bayesian Optimization, this work transforms a difficult high-dimensional integration problem into a manageable gradient-based optimization task. This shift enables "truly parallel" BO that is both more efficient and more effective than traditional methods, providing a robust recipe for scaling BO to modern parallel computing environments.
Summary updated