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

BOSH: Bayesian Optimization by Sampling Hierarchically

Henry B. Moss, David S. Leslie, Paul RaysonarXiv 2020

Abstract

Deployments of Bayesian Optimization (BO) for functions with stochastic evaluations, such as parameter tuning via cross validation and simulation optimization, typically optimize an average of a fixed set of noisy realizations of the objective function. However, disregarding the true objective function in this manner finds a high-precision optimum of the wrong function. To solve this problem, we propose Bayesian Optimization by Sampling Hierarchically (BOSH), a novel BO routine pairing a hierarchical Gaussian process with an information-theoretic framework to generate a growing pool of realizations as the optimization progresses. We demonstrate that BOSH provides more efficient and higher-precision optimization than standard BO across synthetic benchmarks, simulation optimization, reinforcement learning and hyper-parameter tuning tasks.

Introduction: The Fixed Strategy Trap

When optimizing expensive stochastic functions—such as tuning hyperparameters via $K$-fold cross-validation or finding optimal parameters for a robot simulation—practitioners often face a dilemma. A common approach is to fix an evaluation strategy (e.g., always using 5-fold CV) and optimize the resulting average. However, this practice is fundamentally flawed: by fixing the strategy, one finds a high-precision optimum of the wrong function. A small number of samples ($K$) introduces bias, leading to a suboptimal peak relative to the true objective, while a large $K$ is computationally prohibitive from the start.

BOSH (Bayesian Optimization by Sampling Hierarchically) escapes this trap by treating the number of realizations as a dynamic resource. It moves from "rough," inexpensive evaluations to "precise," expensive ones adaptively, ensuring that computational effort is focused only where the true optimum is likely to reside.

Methods: Hierarchical Modeling and Information Theory

BOSH consists of two primary innovations: a Hierarchical Gaussian Process (HGP) surrogate and the MUMBO acquisition function.

Hierarchical Gaussian Process (HGP)

Instead of modeling only the average performance, BOSH uses an HGP to simultaneously model the "true" latent objective function $g(x)$ and individual noisy realizations $f_i(x)$ (e.g., specific data splits or simulation seeds). This structure allows the model to learn correlations between different realizations and the underlying ground truth, effectively sharing information across evaluations.

BOSH uses a hierarchical Gaussian process to model a latent objective function alongside individual noisy realizations. It adaptively adds new realizations to the pool as optimization progresses.

MUMBO Acquisition Function

To decide where to sample next, BOSH employs Multi-task Max-value Bayesian Optimization (MUMBO). This information-theoretic approach calculates the mutual information between a potential evaluation and the location of the global maximum. Crucially, BOSH can choose to either re-evaluate an existing realization or generate a brand-new one, growing the pool of samples only when it provides the most information about the true optimum.

Results and Discussion

The paper evaluates BOSH across several domains, including synthetic benchmarks, reinforcement learning (LunarLander-v2), hyperparameter tuning (SVM on IMDB), and simulation optimization (warehouse allocation).

Key Findings

  • Higher Precision: In SVM tuning, BOSH outperformed standard $K$-fold cross-validation by adaptively choosing which data splits to evaluate.
  • Sample Efficiency: On the Lunar Lander task, BOSH matched the performance of a hand-tuned PID controller using significantly fewer simulation runs than standard BO or random sampling.
  • Robustness to Noise: In warehouse simulations, BOSH consistently converged to high-precision optima as the budget increased, whereas standard BO often plateaued at "rough" results.
Performance comparison of BOSH against baseline methods. BOSH achieves higher performance with fewer evaluations by adaptively increasing the number of seeds (realizations) used.

Conclusion and Future Work

BOSH demonstrates that modeling the hierarchy of stochastic evaluations leads to more efficient and precise optimization. By avoiding unnecessary "high-K" evaluations in unpromising regions, it achieves significant computational savings. Future work may explore more principled batching heuristics, such as Determinantal Point Processes (DPPs), and investigate sparse GP approximations to scale the method to even larger optimization campaigns.

Summary updated

BibTeX
@misc{moss2020bosh,
  author = {Henry B. Moss and David S. Leslie and Paul Rayson},
  title = {{BOSH: Bayesian Optimization by Sampling Hierarchically}},
  year = {2020},
  eprint = {2007.00939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.00939},
}
Figure