TL;DR
Standard transfer learning in Bayesian Optimization (BO) assumes all historical and new tasks share identical search spaces—an assumption that rarely holds in real-world ML tuning workflows where parameters are frequently added or dropped. This paper proposes two practical, lightweight Gaussian Process (GP) methods to transfer knowledge across heterogeneous search spaces without requiring neural network meta-models or extra domain context: a conditional kernel that computes covariance across shared parameter subsets, and a learned imputation strategy that optimizes missing parameters jointly as GP hyperparameters.
What Problem Does This Paper Address?
Bayesian optimization is the gold standard for tuning expensive black-box functions (like ML hyperparameter tuning) when evaluation budgets are tiny (e.g., 5 to 40 trials). Transfer learning speeds up this process by leveraging results from past experiments.
However, existing BO transfer methods almost universally assume homogeneous search spaces—meaning historical and current runs must optimize the exact same parameters over the same ranges. In practice, practitioners routinely alter search spaces between iterations: fixing an unpromising parameter, testing a new regularization term, or expanding bounds. Recent work addressing heterogeneous spaces relies heavily on transformers or meta-trained neural networks requiring massive offline datasets. The authors tackle the challenge of transferring knowledge across heterogeneous spaces in low-data regimes relying strictly on standard Gaussian processes.
Methods
The authors build on the multi-task Gaussian process (MTGP) framework using the Intrinsic Model of Coregionalization (ICM), introducing two distinct strategies:
- MTGP with Conditional Kernels:
- Decomposes the universal set of all parameters $\mathcal{U} = \bigcup_{i=1}^t \mathcal{X}_i$ into disjoint subsets organized into a tree representation via an automated partitioning algorithm.
- Assigns a base kernel (e.g., Matérn-5/2) to each subset.
- When evaluating covariance between input $x$ from task $i$ and $x'$ from task $i'$, it computes the sum of base kernels only over the parameter subsets present in both tasks.
- Key advantage: Adds zero extra hyperparameters to optimize, preventing overfitting when data is scarce.
- MTGP with Imputed Values (Learnable vs. Fixed):
- Assumes missing parameters in historical tasks were held at fixed, unknown constant values.
- Rather than dropping parameters, the method treats each missing parameter as an extra hyperparameter, learned jointly with standard GP hyperparameters (e.g., lengthscales and noise) via marginal likelihood maximization.
- Also considers a simpler baseline where missing parameters are imputed to the center of their range.
Both approaches naturally reduce to standard multi-task BO when the search spaces are identical.
Datasets
The authors evaluated their methods on synthetic and empirical hyperparameter tuning benchmarks (with 100 replications each):
- Synthetic 6D Hartmann: A 6-dimensional global optimization benchmark. The source task is constrained to a 4D subspace (with the last two parameters fixed to 0), transferring to the full 6D target task.
- HPO-B Benchmarks: Two real-world problem sets derived from OpenML datasets via the HPO-B benchmark suite:
- Ranger (11 parameters): Source tasks use spaces ID 5965 (10 params) and ID 7607 (9 params); the target task uses space ID 5889 (6 params: indices
[0, 1, 2, 3, 6, 7]). - Rpart (6 parameters): Source tasks use spaces ID 5636 and ID 5859 (all 6 params); the target task uses space ID 4796 (reduced to 3 params:
[0, 2, 3]).
Key Insights and Ideas
- Data budget dictates the optimal strategy: When source data is extremely limited (e.g., 10 trials per task), MTGP with conditional kernels outperforms all others because it avoids estimating extra parameters. When source data increases (30 to 50 trials), Learnable Imputed MTGP takes the lead because the model has enough signal to accurately deduce the missing parameter values.
- You don't need large neural network meta-learners: Prior works assumed that handling heterogeneous spaces required heavy transformer architectures or contextual neural nets. This paper demonstrates that structured GP covariance algebra can achieve superior sample efficiency without external pre-training datasets.
- Overlap requirement: Information is only transferred across shared dimensions. If two tasks have disjoint parameter spaces, the conditional kernel naturally decouples them into independent sub-models.
Key Results
- 6D Hartmann: Learned Imputed MTGP dramatically outperformed Vanilla BO and Random Search, reaching target optima in roughly 15 evaluations where Vanilla BO required more than 30.
- 11D Ranger & 6D Rpart: Across 60 total source trials (30 per task), all proposed transfer variants outperformed Vanilla BO and Random Search within fewer than 10 target evaluations, delivering immediate "warm-start" performance gains.
- Ablation on Source Trials: In the Ranger ablation (10, 30, and 50 source trials), the MTGP with conditional kernels degraded the least under low data regimes (10 trials), while Learned Imputed MTGP achieved the highest asymptotic performance as source data scaled to 50 trials.
Limitations and Future Work
- Computational Scaling: Exact MTGPs scale cubically $\mathcal{O}(N^3)$ with the total number of evaluations across all tasks. As historical datasets grow into thousands of trials, exact inference becomes computationally prohibitive.
- No Disjoint Transfer: The method strictly transfers across common parameters. It cannot infer latent cross-parameter interactions across completely disjoint spaces without external domain knowledge.
- Future Directions: Incorporating domain priors and exploring scalable surrogates, such as Bayesian neural networks or sparse GP approximations, to alleviate exact MTGP bottleneck scaling.
Summary updated