Bayesian Optimization with Unknown Search Space

Huong Ha, Santu Rana, Sunil Gupta, Thanh Tang Nguyen, Hung Tran-The, Svetha Venkatesh

Introduction

Standard Bayesian Optimization (BO) is a highly sample-efficient method for finding the maximum of expensive, black-box functions. However, it typically requires users to define a bounded search space—a "box"—upfront.

This requirement introduces a significant practical challenge. If this initial box is too small, the global optimum might lie outside it, causing the algorithm to fail entirely. Conversely, if the box is too large, the algorithm wastes expensive evaluations exploring irrelevant regions. In many real-world applications, such as tuning a novel machine learning model or designing a new chemical process, the location of the optimal region is simply unknown. Existing workarounds, like arbitrarily doubling the search volume or adding regularization, often require tuning sensitive hyperparameters that are just as difficult to guess as the search space itself.

To address this, researchers have introduced GPUCB-UBO (Gaussian Process Upper Confidence Bound with Unknown Bound Optimization), a novel BO framework designed specifically for scenarios where the optimal search space is unknown. By utilizing a systematic, parameter-free volume expansion strategy with rigorous theoretical guarantees, the algorithm automatically determines when and how much to expand the search area to find a solution within a user-defined precision ($\epsilon$) of the global maximum.

The GPUCB-UBO Methodology

The core of the GPUCB-UBO approach is a two-step expansion logic that dynamically adjusts the search boundaries based on the model's confidence.

1. The Expansion Trigger

Instead of expanding the search space at fixed intervals, the algorithm monitors "local $\epsilon$-accuracy." It only expands the search space once it is confident it has found the best possible point within the current boundaries.

1D illustration of the expansion trigger based on boundary gaps.

The algorithm uses the GP-UCB acquisition function to "peek" outside the current box. If the Upper Confidence Bound (UCB) values at the boundaries are high, it signals that the global optimum might be further out. As illustrated above, the algorithm monitors the gap between the current best observation and the potential upper bound at the edges; when this gap drops below a specific threshold ($\epsilon/2$), an expansion is triggered.

2. The Expansion Calculation

When a trigger occurs, the algorithm calculates a new, minimal expansion region. Crucially, unlike previous methods that require expensive numerical optimization to find the next expansion zone, this approach derives analytic expressions for the expansion size. This region is mathematically guaranteed to contain at least one point whose acquisition function value is within $\epsilon$ of the theoretical maximum, making the process computationally efficient and parameter-free (aside from the user's desired $\epsilon$ precision).

2D demonstration of the systematic volume expansion.

As seen in the 2D contour progression above, the algorithm starts within a constrained initial box (black outline). Once the local region is sufficiently explored, it triggers an expansion to a new boundary (yellow outline), iteratively progressing until the true global optimum (purple star) is captured.

Empirical Validation

The researchers evaluated GPUCB-UBO across both synthetic benchmarks and real-world machine learning tasks.

  • Synthetic Benchmarks: Tested on five standard optimization functions (Beale, Eggholder, Levy 3, Hartman 3, and Hartman 6), the algorithm's performance was measured by "regret"—how far the algorithm's best guess was from the known true peak. GPUCB-UBO consistently found better function values with fewer samples than baselines like "Volume Doubling" or "Regularized EI."
  • Machine Learning Hyperparameter Tuning: The method was applied to tune Elastic Net, Multilayer Perceptrons (MLP), and Convolutional Neural Networks (CNNs) on the MNIST dataset. For the MLP tuning task, GPUCB-UBO reached 97.8% accuracy in just 12 iterations, whereas competing methods required over 24 iterations to achieve the same performance.

Furthermore, on the Hartman 6 benchmark, GPUCB-UBO proved to be 2-3 times faster per iteration than state-of-the-art filtering expansion strategies because its analytic expansion calculation avoids expensive internal optimization loops.

Key Insights and Limitations

The primary breakthrough of GPUCB-UBO is the shift from seeking global accuracy to guaranteed local $\epsilon$-accuracy. By focusing on finding a point "close enough" to the peak rather than guaranteeing global convergence in an infinite space, the authors turned an intractable problem into a solvable one.

However, the method does have limitations:

  • Kernel Dependency: The theoretical guarantees rely on the objective function being a sample from a Gaussian Process with a stationary, known (or accurately learned) kernel. If the kernel is poorly specified, or if the function's behavior changes drastically across different regions, the expansion logic might fail.
  • High Dimensionality: While demonstrated successfully up to 6 dimensions, Bayesian Optimization generally suffers from the "curse of dimensionality." How efficiently this specific volume expansion strategy scales to dozens of dimensions remains an open area for future research.

Overall, GPUCB-UBO presents a highly efficient, mathematically grounded solution for optimizing black-box functions when you don't know where to start looking.

Summary updated

BibTeX
@inproceedings{ha2019bayesian,
  author = {Huong Ha and Santu Rana and Sunil Gupta and Thanh Tang Nguyen and Hung Tran-The and Svetha Venkatesh},
  title = {{Bayesian Optimization with Unknown Search Space}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=WtIiuaUvvuc},
}
Figure