Excursion Search for Constrained Bayesian Optimization under a Limited Budget of Failures

Alonso Marco, Alexander von Rohr, Dominik Baumann, José Miguel Hernández-Lobato, Sebastian TrimpearXiv 2020

Introduction

In many real-world engineering and machine learning tasks, evaluating a system is not only expensive but also carries the risk of failure. Whether it is tuning a robotic controller where a crash might occur or optimizing an industrial process where a parameter set might break equipment, these failures are undesirable. Traditional Constrained Bayesian Optimization (BOC) typically adopts either a zero-tolerance approach, which can lead to overly conservative exploration and local optima, or a non-conservative approach that lacks a mechanism to bound the total number of failures. This paper proposes a middle ground: optimizing a black-box function under a strictly limited "budget" of allowed failures.

Methodology

The authors introduce two primary algorithmic contributions: Excursion Search (XS) for unconstrained optimization and Failures-aware Excursion Search (XsF) for constrained scenarios.

Excursion Search (XS)

XS is a novel acquisition function inspired by the mathematical concept of "excursion sets" in stochastic processes. It focuses on the expected number of times a Gaussian Process (GP) crosses a specific threshold. By modeling the global minimum using a Fréchet distribution—which provides more realistic finite support than the standard Gumbel distribution—XS identifies regions where the GP is most likely to transition into a new minimum. This approach provides an analytically tractable way to balance exploration and exploitation.

Illustration of the excursion set concept in Gaussian Processes, showing sample paths crossing a threshold.

Failures-aware Excursion Search (XsF)

To handle constraints with a failure budget, XsF integrates a dynamic feedback controller from control theory. This controller adjusts a risk tolerance parameter, $\rho_t$, at each iteration based on the remaining failure budget $B$ and the remaining evaluation budget $T$. Early in the optimization, when the budget is ample, the controller allows for higher risk to explore potentially high-reward regions. As the budget depletes, the controller increases $\rho_t$, steering the algorithm toward safer, well-characterized regions of the search space.

Experimental Results

The proposed methods were evaluated against standard benchmarks and real-world tasks, including the Hartman 6D synthetic function, Deep Neural Network (DNN) compression, and cart-pole controller tuning.

Benchmark Performance

In unconstrained settings (Hartman 6D), XS significantly outperformed traditional baselines like Expected Improvement (EI) and Upper Confidence Bound (UCB), achieving a simple regret of $0.02 \pm 0.01$ compared to 0.75 for EI. In constrained settings with a budget of 10 failures, XsF achieved a lower regret (0.09) than Expected Improvement with Constraints (EIC, 0.33) while maintaining a much higher safety rate (90% safe evaluations vs. 68% for EIC).

Performance comparison showing simple regret for unconstrained (a) and constrained (b) optimization, alongside the evolution of the failure budget and risk tolerance parameter.

Real-World Applications

  • DNN Compression: XsF successfully tuned hyperparameters for LeNet-5 compression on MNIST, achieving a 553x compression ratio with only a 0.76% validation error, all while staying within a strict 5-failure budget.
  • Cart-Pole Tuning: The algorithm consistently identified superior controllers for a simulated cart-pole system without exceeding the physical limits of the rail (the failure condition) more than the allotted 15 times.

Conclusion and Future Work

By treating failures as a spendable resource rather than an absolute boundary, Excursion Search allows optimizers to escape local minima and discover superior global solutions. While the method is computationally intensive due to the $\mathcal{O}(N_{obs}^3)$ scaling of GP predictions and is not intended for safety-critical systems where even one failure is catastrophic, it represents a significant advancement for non-critical industrial and ML applications. Future research may focus on reducing computational overhead and extending the framework to higher-dimensional input spaces.

Summary updated

BibTeX
@misc{marco2020excursion,
  author = {Alonso Marco and Alexander von Rohr and Dominik Baumann and José Miguel Hernández-Lobato and Sebastian Trimpe},
  title = {{Excursion Search for Constrained Bayesian Optimization under a Limited Budget of Failures}},
  year = {2020},
  eprint = {2005.07443},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.07443},
}
Figure