Abstract
Choosing the right "smoothness" (length scale) for Bayesian Optimization (BO) is notoriously difficult. Overestimating smoothness can cause the optimizer to miss the global optimum, while underestimating it leads to perpetual over-exploration. This paper introduces Length scale Balancing (LB-GP-UCB), an algorithm that aggregates multiple models with different length scales. By employing a regret-balancing mechanism, LB-GP-UCB achieves a theoretical regret bound that is logarithmically closer to the "oracle" optimum than previous state-of-the-art methods, while demonstrating superior empirical performance on both synthetic and real-world benchmarks.
The Challenge of Unknown Smoothness
Bayesian Optimization is the gold standard for optimizing expensive, black-box functions where gradient information is unavailable. BO relies on a surrogate model, typically a Gaussian Process (GP), which requires specifying a length scale hyperparameter.
The length scale defines the expected smoothness of the function. If we assume the function is smoother than it actually is (a large length scale), the optimizer might completely overlook narrow, high-performing peaks. Conversely, if we assume it is highly variable (a small length scale), the optimizer becomes overly cautious, exploring exhaustively and converging slowly.
While Maximum Likelihood Estimation (MLE) is commonly used to select this value dynamically, it is greedy and can easily get stuck in a local optimum if initial data suggests a smooth function. The only previous algorithm with theoretical guarantees for this problem, A-GP-UCB, attempted to solve this by constantly shrinking the length scale. However, it lacked a stopping mechanism, ultimately leading to severe over-exploration.
Length Scale Balancing (LB-GP-UCB)
To address these limitations, the authors propose Length scale Balancing (LB-GP-UCB). Instead of searching for a single perfect length scale, the algorithm maintains a set of "base learners," each utilizing a different length scale.
- Aggregation: A master optimizer coordinates these base learners using a technique called regret-balancing with elimination.
- Selection Rule: At each step, the master algorithm selects the base learner that currently has the smallest suspected cumulative regret, naturally balancing exploration and exploitation.
- Elimination: If a base learner performs significantly worse than its peers—meaning its predicted rewards are consistently lower than what others are finding—it is eliminated for being misspecified.
- Dynamic Expansion: The algorithm starts with a large (smooth) length scale and gradually introduces learners with smaller (rougher) length scales. Crucially, it retains the older, smoother learners. If a smooth model is actually correct, the balancing mechanism will eventually favor it, preventing the infinite exploration trap seen in prior methods.
The authors also extend this framework to LNB-GP-UCB, which handles scenarios where both the length scale and the function's output scale (the variance) are unknown.
Theoretical Guarantees: The Logarithmic Leap
The most significant theoretical contribution of this work is its improved regret bound.
If the previous best algorithm (A-GP-UCB) was a factor of $g(T)$ away from the "oracle" (an idealized algorithm that perfectly knows the hyperparameters), LB-GP-UCB is only $\log g(T)$ away. In the context of regret bounds, moving from a polynomial factor to a logarithmic one represents a massive efficiency gain. Furthermore, because LB-GP-UCB balances multiple models, it is much less sensitive to the "growth function" (the rate at which smaller length scales are introduced), remaining robust where previous methods swing wildly.
Empirical Evaluation
The algorithm was evaluated on a mix of synthetic and high-stakes real-world benchmarks:
- Synthetic: The Berkenkamp Toy Problem (a 1D function designed to trick MLE) and the Michalewicz Function (a 5D function with varying degrees of smoothness).
- Real-World Materials Science: Two tasks from the "zombi" benchmark suite—CrossedBarrel (4D) and AGNP (5D). These represent difficult "needle-in-a-haystack" problems for finding optimal material configurations.
In all benchmarks, LB-GP-UCB outperformed or matched the best-performing baselines (MLE, MCMC, and A-GP-UCB). On the Berkenkamp problem, where MLE and MCMC frequently got stuck in a local optimum on the "smooth" side of the domain, LB-GP-UCB consistently found the hidden global maximum. Additionally, histograms of the selected length scales showed that LB-GP-UCB's selections clustered tightly around the estimated optimal length scale, whereas MLE tended to overestimate (staying too smooth) and A-GP-UCB underestimated (becoming too rough).
Limitations and Future Work
- Isotropic Kernels: The current theory and implementation assume an isotropic kernel, meaning smoothness is uniform across all dimensions. Extending this to non-isotropic cases is a key next step for high-dimensional real-world problems.
- Known Noise: The algorithm currently assumes the noise magnitude is known. Simultaneously learning noise and length scale remains an extremely challenging open problem.
- Computational Scaling: Like most GP-based methods, standard GP models scale cubically with the number of data points. Integrating sparse GPs will be necessary to handle larger datasets efficiently in the future.
Summary updated