Adaptive and Safe Bayesian Optimization in High Dimensions via One-Dimensional Subspaces

Johannes Kirschner, Mojmir Mutny, Nicole Hiller, Rasmus Ischebeck, Andreas Krause

Introduction

Bayesian Optimization (BO) has emerged as a premier framework for optimizing expensive-to-evaluate "black-box" functions. However, standard BO methods face a significant "curse of dimensionality." As the search space dimensionality ($d$) increases, the internal optimization of the acquisition function—the step that determines the next sample point—becomes computationally intractable. Furthermore, many high-stakes applications, such as robotics and particle accelerators, require strict safety guarantees, ensuring that the optimization process never violates critical operational constraints. Standard safe BO methods typically rely on space discretization, which is mathematically unfeasible beyond a few dimensions.

Methodology: The LINEBO Algorithm

To address these challenges, researchers from ETH Zurich and the Paul Scherrer Institut introduced LINEBO (Line Bayesian Optimization). The core innovation lies in decomposing a complex $d$-dimensional optimization problem into a sequence of manageable one-dimensional sub-problems.

Instead of optimizing across the entire high-dimensional space simultaneously, LINEBO follows a three-step iterative process:

  1. Subspace Selection: The algorithm selects a 1D line (an affine subspace) passing through the current best-known point.
  2. 1D Optimization: It solves the optimization problem restricted to this line using standard BO. Because the search is one-dimensional, the acquisition function can be maximized efficiently via simple grid search.
  3. Global Model Update: A global Gaussian Process (GP) model is updated with the new data. Crucially, while the search is local to a line, the model remains global, allowing information to be shared across different subspaces and improving overall data efficiency.
Visualization of the optimization landscape and sampling strategy in 2D benchmarks.

The algorithm supports various "Direction Oracles" for choosing lines, including random directions, coordinate-aligned paths, and descent-based heuristics.

Safety in High Dimensions

Safety is a paramount concern in physical systems. LINEBO extends to SAFELINEBO, providing a principled approach to safe high-dimensional optimization. By restricting the search to 1D slices, the algorithm can leverage existing safe BO techniques (like SAFEOPT) that were previously limited to low dimensions. If the safe set is convex, a line search starting within the safe region is guaranteed to remain safe, significantly simplifying the verification of constraints.

Experimental Evaluation and SwissFEL Success

The effectiveness of LINEBO was validated on synthetic benchmarks and a high-stakes real-world task: tuning the Swiss Free Electron Laser (SwissFEL). In the SwissFEL application, the algorithm was tasked with optimizing beam intensity by tuning up to 40 physical parameters, including quadrupole currents and undulator settings, while respecting electron loss constraints.

Optimization of the SwissFEL pulse energy using LINEBO, showing significant improvement over initial settings alongside the facility hardware.

Key Results

  • Computational Efficiency: LINEBO achieved a roughly 10x speedup per iteration compared to standard GP-UCB on 10D benchmarks by bypassing the acquisition function bottleneck.
  • Performance: In the 40-parameter SwissFEL task, LINEBO outperformed both expert manual tuning and standard local search methods (e.g., Nelder-Mead), reaching higher pulse energies in approximately 15 minutes (600 steps).
  • Robustness: The algorithm demonstrated an innate ability to handle over-parameterized problems by naturally identifying and exploring effective lower-dimensional subspaces.

Conclusion

LINEBO represents a significant step forward in scaling Bayesian Optimization. By leveraging the simplicity of 1D subspaces within a global modeling framework, it enables efficient and safe optimization in dimensions previously considered unreachable for BO. Future work will explore more sophisticated direction heuristics and methods to scale the underlying Gaussian Process model for even longer optimization runs.

Summary updated

BibTeX
@inproceedings{kirschner2019adaptive,
  author = {Johannes Kirschner and Mojmir Mutny and Nicole Hiller and Rasmus Ischebeck and Andreas Krause},
  title = {{Adaptive and Safe Bayesian Optimization in High Dimensions via One-Dimensional Subspaces}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure