[Paper Review] Transfer Learning for Bayesian Optimization on Heterogeneous Search Spaces
This paper proposes MPHD, a novel transfer learning method for Bayesian optimization that enables knowledge transfer across heterogeneous search spaces by pre-training a neural network to map domain-specific contexts to hierarchical Gaussian process (GP) priors. MPHD achieves state-of-the-art sample efficiency on unseen search spaces, outperforming existing methods in hyperparameter tuning benchmarks with heterogeneous domains.
Bayesian optimization (BO) is a popular black-box function optimization method, which makes sequential decisions based on a Bayesian model, typically a Gaussian process (GP), of the function. To ensure the quality of the model, transfer learning approaches have been developed to automatically design GP priors by learning from observations on "training" functions. These training functions are typically required to have the same domain as the "test" function (black-box function to be optimized). In this paper, we introduce MPHD, a model pre-training method on heterogeneous domains, which uses a neural net mapping from domain-specific contexts to specifications of hierarchical GPs. MPHD can be seamlessly integrated with BO to transfer knowledge across heterogeneous search spaces. Our theoretical and empirical results demonstrate the validity of MPHD and its superior performance on challenging black-box function optimization tasks.
Motivation & Objective
- To address the limitation of existing transfer learning methods in Bayesian optimization, which require aligned domains between training and test functions.
- To develop a method that enables effective knowledge transfer from diverse, heterogeneous search spaces to new, unseen optimization tasks.
- To design a pre-training framework that learns domain-specific hierarchical GP priors from unordered, partitioned datasets without requiring BO trajectory order.
- To establish theoretical consistency of the method and validate its performance on real-world hyperparameter tuning benchmarks with heterogeneous domains.
Proposed method
- MPHD pre-trains a neural network to map domain-specific contexts (e.g., input dimensionality, variable types) to hyperparameters of a hierarchical GP prior.
- The method models each function's GP prior as a hierarchical distribution, where hyperpriors are learned over length-scales and noise variances across dimensions.
- A super-dataset is constructed from multiple functions with different domains, where each function's data is partitioned and associated with its domain context.
- The neural network learns to predict the prior distribution parameters (e.g., mean and variance of length-scales) based on the domain context, enabling generalization to new domains.
- During inference, the pre-trained model generates a customized hierarchical GP prior for a test function based on its domain context, which is then used in standard BO with acquisition functions.
- The framework does not require ordered BO trajectories, only partitioned data per function with associated domain metadata.
Experimental results
Research questions
- RQ1Can transfer learning in Bayesian optimization generalize across functions with different, non-overlapping search spaces?
- RQ2How can a unified model learn effective GP priors from diverse domains without requiring domain alignment?
- RQ3What theoretical guarantees does MPHD provide regarding convergence and consistency as training data grows?
- RQ4How does MPHD compare in sample efficiency to existing BO methods on real-world hyperparameter tuning tasks with heterogeneous domains?
- RQ5Can MPHD generalize to unseen search spaces when pre-trained on a different set of functions with distinct domains?
Key findings
- MPHD achieved the best performance among methods not pre-trained on the test search space in the PD1 benchmark, outperforming even specialized homogeneous meta-BO methods in the NToT setting.
- In the HPO-B benchmark, MPHD demonstrated strong generalization to unseen search spaces, significantly improving sample efficiency compared to baseline methods.
- The method showed asymptotic consistency, converging to the true prior distribution as the number of training functions increased.
- MPHD outperformed standard GP and hand-specified hierarchical GP baselines in terms of normalized simple regret across multiple test functions.
- When pre-trained on HPO-B, MPHD successfully generalized to the PD1 dataset, demonstrating cross-domain transfer capability.
- The inclusion of domain-specific contexts enabled effective prior transfer even when input dimensions and variable types differed across functions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.