In many engineering domains—from designing crash-safe cars to tuning video streaming algorithms—practitioners must optimize multiple competing goals simultaneously. For instance, an engineer might want to maximize a vehicle's safety while minimizing its weight. Because evaluating these designs is often computationally or financially expensive, Bayesian Optimization (BO) is frequently used to select the most promising experiments to run next.
The "gold standard" acquisition function for multi-objective BO is Expected Hypervolume Improvement (EHVI). It measures how much a new data point is expected to expand the "Pareto front" (the set of optimal trade-offs). However, traditional EHVI has historically been plagued by severe limitations: it is notoriously slow to calculate as the number of objectives increases, it lacks exact gradients (forcing the use of slow, "blind" search methods), and it is inherently sequential, meaning it cannot suggest a batch of experiments to run in parallel.
Researchers from Meta have addressed these bottlenecks by developing $q$EHVI, a novel approach to multi-objective Bayesian Optimization that is both parallelizable and differentiable.
Overcoming EHVI Limitations: The $q$EHVI Approach
The authors introduce $q$EHVI to solve the computational and sequential limitations of traditional EHVI through three main mathematical and algorithmic innovations:
- The Inclusion-Exclusion Principle: To handle a batch of $q$ candidate points simultaneously, the algorithm uses a classic combinatorial formula. It calculates the union of the hypervolume improved by all new points without double-counting the overlapping regions.
- Differentiable Monte Carlo (MC): Instead of attempting to solve the complex EHVI integral analytically, $q$EHVI employs Monte Carlo sampling. Crucially, it leverages the "reparameterization trick" (commonly used in Variational Autoencoders) to make the entire calculation differentiable. This allows the use of auto-differentiation frameworks like PyTorch and BoTorch to compute exact gradients.
- Sample Average Approximation (SAA): By fixing the random base samples used in the MC integration during the optimization step, the authors turn a "noisy" stochastic problem into a smooth, deterministic one. This enables the use of rapid, high-order optimizers like L-BFGS.
Experimental Validation and Key Results
The research team evaluated $q$EHVI on synthetic benchmarks (Branin-Currin and a 12-dimensional C2-DTLZ2 problem) as well as complex real-world simulations, including automobile structural design and Adaptive Bitrate (ABR) control for video streaming.
The results highlight several major advantages of the $q$EHVI method:
- Gradients are Game-Changers: Having exact gradients makes acquisition optimization an order of magnitude faster and more reliable than gradient-free methods like CMA-ES or finite-difference approximations.
- Massive Speedups: In sequential settings, $q$EHVI proved to be over 10x faster than competing methods like PESMO.
- Parallelism for "Free": Because the $q$EHVI formulation is "embarrassingly parallel," it can be efficiently computed on GPUs. The wall time for calculating the best next points stays nearly constant as the batch size ($q$) increases, up until the GPU's cores are fully saturated.
- Superior Sample Efficiency: Unlike many parallel methods that rely on "plug-in" heuristics (using the model's mean), $q$EHVI properly integrates over the entire posterior distribution. This accounts for uncertainty and consistently finds better Pareto fronts with fewer experimental evaluations.
Furthermore, unlike many multi-objective BO algorithms, $q$EHVI naturally handles auxiliary outcome constraints (e.g., "maximize speed, but keep temperature below a specific threshold").
Limitations and Future Directions
While $q$EHVI represents a significant leap forward, it does have limitations. The current formulation assumes "noiseless" observations, meaning it expects the data returned from experiments to be perfectly accurate.
Additionally, the algorithm faces the "curse of dimensionality" regarding the number of objectives. While $q$EHVI is incredibly fast at handling multiple parallel points ($q$), it relies on "box decompositions" of the objective space. As the number of objectives ($M$) grows beyond 5 or 6, the number of boxes explodes, making the computation heavily burdensome. The authors suggest that exploring more efficient partitioning algorithms or approximate box decompositions could pave the way for high-dimensional objective spaces in the future.
Summary updated