Abstract
Bayesian Optimization (BO) is a powerful tool for optimizing expensive black-box functions, yet its performance is heavily dependent on the choice of surrogate model hyperparameters. Traditional methods rely on passive updates or manual selection. This paper presents HyperBO, a hierarchical framework that treats model selection as an active optimization problem nested within the BO process. By employing a secondary BO loop to search the model space and a novel stationary score function to evaluate model quality, HyperBO achieves superior sample efficiency and faster convergence across various synthetic and real-world benchmarks.
Introduction
In standard Bayesian Optimization, a surrogate model—typically a Gaussian Process (GP)—is used to approximate an unknown objective function and guide the search for its optimum. However, the effectiveness of this search is highly sensitive to the model's hyperparameters, such as length scales or structural assumptions like monotonicity.
Traditionally, researchers either fix these hyperparameters beforehand or update them "passively" using Maximum Likelihood Estimation (MLE) as new data arrives. The authors argue that this approach is inefficient; if the model is misspecified, the optimization progress stalls. HyperBO addresses this by framing hyperparameter selection as an active search for the model that best facilitates finding the global optimum, rather than just the model that best fits the existing data.
Methodology
HyperBO introduces a hierarchical approach inspired by "predictive process modeling" in cognitive science. The framework consists of two nested loops that interact dynamically:
- The Inner Loop: A standard BO process (using GP-UCB) that explores the actual black-box function space to find the optimum $x^*$.
- The Outer Loop (HyperBO): A secondary BO process (using Thompson Sampling) that explores the model space. It recommends hyperparameters ($\theta$) to the inner loop.
A critical innovation in this framework is the Stationary Score Function $g(\theta)$. Evaluating model performance during BO is challenging because improvements naturally diminish as the search space is exhausted. To enable fair comparison across different stages of the search, the authors normalize the observed gain in function value by the theoretical regret bound of the GP-UCB algorithm, $O(\sqrt{T \log T})$. This transformation converts a moving target into a stationary problem, allowing the outer loop to effectively model the relationship between hyperparameters and optimization progress.
Experimental Evaluation
The framework was evaluated on both synthetic benchmarks and diverse real-world regression datasets:
- Synthetic Benchmarks: The Goldstein-Price function was used to test the framework's ability to discover monotonicity.
- Real-World Regression (Length Scale Tuning): Concrete Compressive Strength (1030 experiments), Combined Cycle Power Plant (9568 data points), and QSAR Fish Toxicity.
- Structural Discovery (Monotonicity): The framework was applied to the Diabetes and Boston Housing datasets to identify monotonic dimensions without prior knowledge.
Key Results and Insights
HyperBO consistently outperformed standard BO in terms of sample efficiency, reaching optima in significantly fewer iterations. The interaction between the model search and the function search is described as a "dance" that continues until the model and the data reach an equilibrium.
- Active vs. Passive Selection: Instead of just fitting a model to data, HyperBO specifically seeks models that accelerate the discovery of the maximum.
- Monotonicity Discovery: One of the most significant applications is using HyperBO to "discover" if a function is monotonic in certain dimensions. Once identified, this structural knowledge significantly boosts performance.
- Convergence Proof: Unlike many heuristic model-selection methods, the authors provided a formal proof showing that the average cumulative regret of the whole framework converges even as the underlying model changes.
Discussion and Future Work
While HyperBO offers significant gains in sample efficiency, it introduces additional computational overhead due to the nested optimization loop. This makes it most suitable for applications where function evaluations are extremely costly—taking minutes or hours—rather than "cheap" functions where the overhead might outweigh the benefits.
Future research directions include the simultaneous tuning of multiple kernel properties (such as length scales and monotonicity together) and refining regularization techniques within the score function to prevent the model from becoming over-sensitive to specific dimensions.
Summary updated