Two-stage Kernel Bayesian Optimization in High Dimensions

Jian Tan, Niv NaymanUAI 2023

Abstract

Bayesian optimization is a popular method for optimizing expensive black-box functions. Yet it oftentimes struggles in high dimensions, where the computation could be prohibitively heavy. While a complex kernel with many length scales is prone to overfitting and expensive to train, a simple coarse kernel with too few length scales cannot effectively capture the variations of the high dimensional function in different directions. To alleviate this problem, we introduce CobBO: a Bayesian optimization algorithm with two-stage kernels and a coordinate backoff stopping rule. It adaptively selects a promising low dimensional subspace and projects past measurements into it using a computational efficient coarse kernel. Within the subspace, the computational cost of conducting Bayesian optimization with a more flexible and accurate kernel becomes affordable and thus a sequence of consecutive observations in the same subspace are collected until a stopping rule is met. Extensive evaluations show that CobBO finds solutions comparable to or better than other state-of-the-art methods for dimensions ranging from tens to hundreds, while reducing both the trial complexity and computational costs.

Introduction

Bayesian Optimization (BO) is widely regarded as the gold standard for optimizing expensive black-box functions, such as hyperparameter tuning or robotic controller design. However, standard BO methods often fail in high-dimensional spaces due to the "curse of dimensionality." As the number of dimensions increases, fitting a Gaussian Process (GP) and optimizing the acquisition function becomes computationally prohibitive. Furthermore, there is a fundamental "Kernel Mismatch" problem: simple kernels lack the capacity to capture complex high-dimensional variations, while complex kernels with many length scales are prone to overfitting and are extremely expensive to train.

Methodology: The CobBO Framework

To address these challenges, we propose CobBO (Coordinate Backoff Bayesian Optimization), which employs a "divide and conquer" strategy using a two-stage kernel approach.

Two-Stage Kernel Modeling

CobBO maintains two distinct views of the search space to balance global exploration and local exploitation:

  1. Global Coarse Modeling: The algorithm uses a computationally efficient, isotropic RBF kernel ($K_1$) to maintain a global view. This kernel is intentionally "coarse," sacrificing local precision for speed. It is used to project all past measurements into a selected low-dimensional subspace, creating "virtual points" ($\hat{\mathcal{X}}_t$).
  2. Local Refined Modeling: Within the chosen subspace ($\Omega_t$), CobBO utilizes a more sophisticated Automatic Relevance Determination (ARD) Matérn kernel ($K_2$). Because the dimensionality is reduced, the computational overhead of this flexible kernel remains manageable.
The two-stage kernel process: projecting observed points into a subspace using a coarse kernel $K_1$ to enable refined optimization with kernel $K_2$.

Adaptive Subspace Selection and Backoff

Instead of random subspace selection, CobBO uses a Multiplicative Weights Update (MWU) method. It treats each coordinate as an "expert," increasing the selection probability for dimensions that have recently yielded improvements. To prevent stagnation in sub-optimal regions, a Coordinate Backoff Rule is implemented. This heuristic stopping rule triggers a subspace switch if improvements plateau or a budget limit is reached.

Experimental Evaluation

We evaluated CobBO against state-of-the-art baselines, including TuRBO, CMA-ES, and TPE, across various high-dimensional benchmarks. These included synthetic functions (Ackley, Rastrigin) up to 200D, additive functions (36D, 56D), and real-world tasks like Rover Trajectory Planning (60D).

Performance and Efficiency

CobBO demonstrates superior performance and efficiency across diverse tasks. For instance, in a 200D Ackley test, CobBO completed 10,000 trials in 12.8 CPU hours, whereas the popular TuRBO algorithm required over 80 CPU hours to reach a similar or worse solution. On multimodal landscapes like the 100D Rastrigin function, CobBO consistently found better global optima within the same iteration budget compared to standard baselines.

Performance comparison of CobBO against state-of-the-art methods on high-dimensional additive functions and rover trajectory planning.

Discussion and Conclusion

The key innovation of CobBO lies in the use of "virtual points," which allow the algorithm to leverage global information without the full computational cost of a high-dimensional GP. Theoretical analysis confirms that the MWU-based selection mechanism provides tight regret bounds, ensuring the algorithm eventually focuses on the most impactful dimensions. While the current heuristic "backoff" rule is effective, future work could explore more theoretically grounded switching criteria to further enhance robustness in non-separable high-dimensional spaces.

Summary updated

BibTeX
@inproceedings{tan2023two,
  author = {Jian Tan and Niv Nayman},
  title = {{Two-stage Kernel Bayesian Optimization in High Dimensions}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=MsRDyHL2DW},
}
Figure