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

Practical Bayesian Optimization for Variable Cost Objectives

Mark McLeod, Michael A. Osborne, Stephen RobertsarXiv 2017 · DOI

Abstract

We propose a novel Bayesian Optimization approach for black-box functions with an environmental variable whose value determines the tradeoff between evaluation cost and the fidelity of the evaluations. Further, we use a novel approach to sampling support points, allowing faster construction of the acquisition function. This allows us to achieve optimization with lower overheads than previous approaches and is implemented for a more general class of problem. We show this approach to be effective on synthetic and real world benchmark problems.

Introduction

In many engineering and machine learning scenarios, optimizing an expensive "black-box" function—such as the hyperparameters of a deep learning model—is a critical task. Standard Bayesian Optimization (BO) addresses this by iteratively selecting the most informative points to evaluate. However, practitioners often have access to an "environmental variable" that allows for a trade-off between evaluation cost and fidelity. For instance, training a model on a small subset of data is cheap but yields a noisy performance estimate.

Existing entropy-based methods like Predictive Entropy Search (PES) are theoretically sound for these multi-fidelity problems but face two major practical hurdles: high computational overhead and complex sampling requirements for the global minimum. This paper introduces EnvPES, a framework designed to make multi-fidelity BO practical by minimizing both evaluation costs and the algorithm's own computational overhead.

Methodology

The authors introduce several innovations to streamline the BO process:

Environmental Predictive Entropy Search (EnvPES)

EnvPES adapts the PES acquisition function to an augmented space where the environmental variable (fidelity) is treated as an additional dimension. Unlike prior methods, EnvPES does not assume monotonicity in the fidelity-performance relationship, making it more robust to real-world scenarios where more data doesn't always guarantee a better estimate.

Weighted Local Hessians (WLH)

A core contribution is the Weighted Local Hessians (WLH) method for drawing "support points"—samples representing potential locations of the global minimum. Traditional methods rely on slow slice sampling across the entire search space. In contrast, WLH identifies local minima of the current model and uses Taylor expansions (Hessians) to create a weighted mixture of Gaussians. This allows for near-instantaneous sampling of potential minima.

The proposed approximate sampling method (Approx Draws) maintains optimization quality (left) while significantly reducing computational overhead (right) compared to traditional slice sampling.

Overhead-Aware Acquisition

Most BO frameworks ignore the time the algorithm spends calculating the next point. EnvPES explicitly models this computational overhead as a growing power-law function. By incorporating "thinking time" into the acquisition strategy, the algorithm ensures that the time saved through cheap evaluations isn't lost to internal computation.

The Importance of the Posterior Minimum

The authors argue that for entropy-based BO, performance should be evaluated based on the model's predicted minimum (the posterior minimum) rather than just the best point actually visited. This approach leads to much lower regret in the long run, as the algorithm focuses on refining its best estimate of the global optimum.

Experimental Results

The framework was evaluated on synthetic benchmarks and real-world tasks, including MNIST SVM hyperparameter tuning and Gaussian Process (GP) kernel fitting for electricity demand data.

Efficiency and Speed

The WLH sampling method (referred to as "Approx Draws" in experiments) significantly reduced overhead clock time compared to standard slice sampling. As shown in the benchmarking, the overhead for WLH remains substantially lower as the number of steps increases, without sacrificing optimization quality.

Overall Performance

In real-world applications, EnvPES consistently outperformed standard PES and Expected Improvement (EI). When evaluating performance against total clock time (the sum of evaluation time and algorithmic overhead), EnvPES reached lower regret levels significantly faster than its competitors.

Performance of EnvPES compared to standard BO methods on a real-world GP kernel fitting task, plotted against total clock time.

Conclusion

EnvPES provides a practical path forward for multi-fidelity Bayesian Optimization. By addressing the computational bottlenecks of entropy-based methods through efficient Hessian-based sampling and overhead-aware modeling, it achieves state-of-the-art performance on complex optimization tasks. Future work may explore adaptations for categorical fidelity levels and further scaling for extremely long optimization runs where the $O(n^3)$ complexity of Gaussian Processes remains a challenge.

Summary updated

BibTeX
@misc{mcleod2017practical,
  author = {Mark McLeod and Michael A. Osborne and Stephen Roberts},
  title = {{Practical Bayesian Optimization for Variable Cost Objectives}},
  year = {2017},
  eprint = {1703.04335},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.04335},
}
Figure