Abstract
Bayesian optimization is a popular formalism for global optimization, but its computational costs limit it to expensive-to-evaluate functions. A competing, computationally more efficient, global optimization framework is optimistic optimization, which exploits prior knowledge about the geometry of the search space in form of a dissimilarity function. We investigate to which degree the conceptual advantages of Bayesian Optimization can be combined with the computational efficiency of optimistic optimization. By mapping the kernel to a dissimilarity, we obtain an optimistic optimization algorithm for the Bayesian Optimization setting with a run-time of up to $O(N \log N)$. As a high-level take-away we find that, when using stationary kernels on objectives of low evaluation cost, optimistic optimization can be preferable over Bayesian optimization, while for strongly coupled and parametric models, Bayesian optimization can perform much better, even at low evaluation cost. As a conceptual takeaway, our results demonstrate that balancing exploration and exploitation under Gaussian process assumptions does not require computing a posterior.
Introduction
Global optimization of "black-box" functions is a critical challenge in machine learning. When function evaluations are extremely expensive, Bayesian Optimization (BO) is the standard choice. By using a Gaussian Process (GP) to build a probabilistic model, BO intelligently selects the next point to sample. However, BO incurs a significant "computational tax": updating the model scales cubically ($O(N^3)$) with the number of samples, and finding the next point requires optimizing a complex acquisition function. This overhead makes BO impractical for functions that are only "moderately" expensive—where the time spent on computation rivals the evaluation time.
In contrast, Optimistic Optimization (OO) offers a computationally efficient alternative with a runtime of $O(N \log N)$. OO uses a hierarchical tree to partition the search space but traditionally lacks the ability to incorporate the rich prior knowledge (e.g., smoothness, periodicity) provided by GP kernels. This paper introduces GP-OO, a framework that bridges these two approaches.
Methodology: The GP-OO Algorithm
The core innovation of GP-OO is the mapping of Gaussian Process kernels to the distance metrics used in tree-based searches.
The Bridge: Canonical Pseudo-Metrics
GP-OO utilizes the GP’s canonical pseudo-metric—a distance function derived directly from the kernel—as the dissimilarity measure for the OO tree. This allows the kernel to dictate the "shape" and "size" of the partitions in the search space, effectively embedding the GP's prior knowledge into the tree structure.
The Search Process
Instead of maintaining a global posterior, GP-OO descends a search tree. It selects cells to expand based on an upper bound: the function value at the cell center plus an exploration term proportional to the cell's "diameter" in the kernel-induced space. This mechanism avoids the $O(N^3)$ matrix inversions typical of BO.
The hierarchical partitioning allows the algorithm to focus on promising regions while maintaining a global search strategy, as visualized in the relationship between the tree structure and the objective function domain.
Results and Key Insights
The authors evaluated GP-OO against standard baselines (GP-UCB, Expected Improvement, TurBO, DiRect) using synthetic GP samples and 12 classic optimization benchmarks (e.g., Ackley, Branin, Rosenbrock).
- Computational Efficiency: GP-OO is orders of magnitude faster per iteration than traditional BO. It is particularly effective in the "middle ground" of evaluation costs (e.g., seconds per evaluation).
- Sample Efficiency: On stationary kernels like the Matérn kernel, GP-OO achieves sample efficiency comparable to BO, finding optima in a similar number of evaluations but with significantly less overhead.
- Posterior-free Balancing: A key conceptual finding is that balancing exploration and exploitation under GP assumptions does not strictly require a full posterior. The geometry of the search space, defined by the kernel, is sufficient.
Discussion and Limitations
While GP-OO offers significant speedups, it has limitations. It currently requires fixed kernel hyperparameters, whereas standard BO can learn these online. Additionally, for strongly coupled or parametric models, the global information sharing of a full GP posterior remains superior. Finally, because GP-OO evaluates points at fixed cell centers, it may exhibit slightly slower convergence in the final stages of high-precision optimization compared to continuous optimizers.
Future work includes extending GP-OO to handle dynamic hyperparameter learning and integrating it as a fast subroutine for more complex algorithms like Thompson Sampling.
Summary updated