Abstract
Bayesian Optimization (BO) is a powerful technique for optimizing expensive black-box functions, yet its performance is highly sensitive to the choice of prior. Traditional transfer learning for BO often assumes that tasks share the same search space. HyperBO+ introduces a hierarchical Gaussian Process (GP) framework to pre-train a "universal prior" from a diverse "super-dataset" of optimization tasks. This approach allows for generalization across functions with entirely different input domains, outperforming hand-specified priors and existing transfer learning methods on both synthetic and real-world benchmarks.
Introduction
Bayesian Optimization is widely used for tasks like hyperparameter tuning where evaluations are costly. The success of BO depends on the initial belief about the function, known as the prior. While transfer learning can inform these priors from previous tasks, most methods are restricted to tasks sharing the same search space (e.g., same number and type of hyperparameters). HyperBO+ addresses this limitation, enabling knowledge transfer from a low-dimensional task (e.g., 2D) to a high-dimensional one (e.g., 10D), effectively bridging the "domain gap."
Methodology: Hierarchical Gaussian Processes
The core of HyperBO+ is a Hierarchical Gaussian Process model. In this framework, functions are sampled from a GP whose parameters—such as length-scales, signal variance, and noise levels—are themselves drawn from a higher-level "universal prior" distribution.
The pre-training follows a two-step approach:
- Local Estimation: For each search space in a large "super-dataset," Maximum Likelihood Estimation (MLE) is used to find the optimal GP parameters for the functions within that space.
- Global Prior Learning: These estimated parameters are treated as data points to fit a global distribution (the universal prior). For instance, a Gamma distribution might be fitted to the length-scales across all dimensions and tasks.
A key insight is the assumption of Dimension Independence: length-scale parameters across different dimensions are assumed to share the same prior distribution. This allows the model to apply the learned distribution to any new task, regardless of its dimensionality.
Experimental Evaluation
The authors evaluated HyperBO+ on two primary benchmarks:
- Synthetic Super-dataset: Consisting of 20 search spaces (2 to 5 dimensions) to verify theoretical convergence properties.
- HPO-B (Hyperparameter Optimization Benchmark): A real-world dataset with over 6 million evaluations across 16 search spaces (2 to 18 dimensions), involving models like SVMs and Random Forests.
Results and Discussion
HyperBO+ demonstrates significant improvements in generalization and robustness. In tests on search spaces never seen during training, it outperformed non-informative and hand-specified priors. On the HPO-B benchmark, HyperBO+ achieved a lower average normalized regret (0.038) compared to the original HyperBO (0.044) and hand-specified priors (0.091).
The universal prior also acts as a regularizer, preventing overfitting to the sparse data typically available in a single optimization task. Theoretical analysis confirms that the two-step estimator is asymptotically consistent, converging to the true underlying prior as more tasks and observations are added.
Conclusion and Future Work
HyperBO+ provides a robust framework for universal prior pre-training in BO. However, current limitations include the assumption of stationary kernels and a constant mean function. Future research could explore learning the kernel structure itself (architecture search) or meta-learning the acquisition function to further enhance optimization efficiency.
Summary updated