Introduction
In fields ranging from aerodynamics to machine learning, researchers often face the challenge of optimizing expensive "black-box" functions. These functions are typically evaluated through simulations that are both computationally intensive and inherently noisy. The standard goal is to find design parameters $x$ that maximize the expected outcome: $\max_x \mathbb{E}[f(x, \text{noise})]$.
Traditional Bayesian Optimization (BO) treats this noise as an unobservable random variable. However, in many simulation environments, the source of noise is actually a known, influential random input—such as weather conditions or customer demand. Stratified Bayesian Optimization (SBO) leverages this knowledge by treating these environmental variables as controllable inputs during the simulation phase, significantly improving sample efficiency.
The SBO Approach
The core innovation of SBO is its two-level modeling strategy. Instead of directly modeling the final objective $G(x)$, SBO models the conditional function $F(x, w)$, which represents the expected outcome for a specific design $x$ given a specific environmental condition $w$. These are linked via Bayesian Quadrature: $$G(x) = \int F(x, w) p(w) dw$$
By learning the structure of $F(x, w)$, the algorithm can derive a much more precise estimate of the global average $G(x)$.
Value of Information Acquisition
To decide where to sample next, SBO employs a decision-theoretic Value of Information (VoI) acquisition function. Unlike standard BO, which only selects the next design $x$, SBO selects the pair $(x, w)$ that is expected to provide the most information about the global maximum.
As shown in the figure above, the acquisition surface guides the search toward regions of high uncertainty or high potential in the joint $(x, w)$ space. The authors derived complex mathematical formulas for the gradient of this VoI function, allowing the algorithm to efficiently "climb the hill" to find the best next point to sample.
Experimental Evaluation
The researchers tested SBO against state-of-the-art benchmarks like Knowledge-Gradient (KG) and Expected Improvement (EI) across several domains, including analytic test problems and real-world simulations.
Modeling the Objective
A key advantage of SBO is its ability to provide a high-fidelity surrogate of the objective function $G(x)$ even with limited samples. By stratifying the samples across $w$, the model reduces the variance in its estimate of the mean.
Real-World Application: NYC Citi Bike
In a discrete-event simulation of the NYC Citi Bike system, the goal was to optimize the distribution of 6,000 bikes to minimize service disruptions. Here, $x$ represented the bike allocation and $w$ represented daily demand. SBO demonstrated superior convergence, finding high-quality bike allocations much faster than standard BO methods.
Key Insights and Results
- Efficiency Gains: In synthetic tests using Gaussian Process priors, SBO outperformed the KG method by up to 10x in scenarios where the environmental variable $w$ had a moderate, modelable influence on the outcome.
- Strategic Sampling: SBO is most effective when the random input $w$ is influential but smooth. If the relationship is too chaotic, modeling becomes difficult; if it is too weak, the overhead of SBO isn't justified.
- Robustness: Across a wide range of parameters, SBO consistently matched or exceeded the performance of traditional "black-box" noise models.
Limitations and Future Work
While powerful, SBO introduces additional computational complexity, with a cost of $O(LN^2 + N^4)$ where $N$ is the number of samples. Furthermore, it requires the user to identify which random inputs are influential and ensure the simulation allows these inputs to be set manually. Future work may address these overheads and explore multi-step lookahead heuristics.
Conclusion
Stratified Bayesian Optimization represents a significant step forward for simulation-based optimization. By opening the "black box" of noise and treating influential random variables as controllable parameters, SBO makes every expensive sample count. The potential for a 10-fold increase in optimization speed makes it a powerful tool for complex engineering and system design tasks.
Summary updated