NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Transfer Learning with Gaussian Processes for Bayesian Optimization

Petru Tighineanu, Kathrin Skubch, Paul Baireuther, Attila Reiss, Felix Berkenkamp, Julia Vinogradska

Abstract

Bayesian Optimization (BO) is a powerful tool for optimizing expensive black-box functions, yet its efficiency is often limited by the cubic scaling of Gaussian Processes (GPs). This paper introduces a unified framework for transfer learning in BO, proposing two novel models: Sequential Hierarchical GP (SHGP) and Boosted Hierarchical GP (BHGP). These models address the critical trade-off between the high computational cost of joint models and the overconfidence of simple mean-transfer approaches. Experimental results across synthetic benchmarks and real-world hyperparameter tuning tasks demonstrate that SHGP and BHGP achieve significant speedups while maintaining robust optimization performance by properly accounting for source data uncertainty.

Introduction

Bayesian Optimization relies on a surrogate model—typically a Gaussian Process—to guide the search for a global optimum. While GPs offer excellent uncertainty quantification, their training complexity scales cubically ($O(N^3)$) with the number of observations. In many practical applications, "source data" from related past experiments is available. Effectively "transferring" this knowledge can accelerate the current "target" task. However, existing transfer learning methods often force a difficult choice: full joint models are accurate but computationally prohibitive, while mean-transfer models are fast but ignore source uncertainty, leading to overconfidence and sub-optimal convergence.

Proposed Methods: SHGP and BHGP

The authors provide a unified mathematical view of hierarchical GP models and introduce two efficient alternatives designed to find the "Goldilocks" zone of speed and accuracy:

  1. Sequential Hierarchical GP (SHGP): A modular Bayesian approach that first trains a model on source data and then uses the resulting posterior to inform the target model. This decoupling breaks the cubic complexity bottleneck while preserving a proper Bayesian treatment of uncertainty.
  2. Boosted Hierarchical GP (BHGP): Inspired by boosting techniques, this model treats the source GP as a "weak learner" and uses an analytically tractable formula to "boost" the target model. It serves as a robust middle ground—faster than full Bayesian models but more reliable than simple mean-transfer.
Comparison of GP models on a 1D target function. SHGP and BHGP better capture target uncertainty compared to the overconfident MHGP.

Experimental Evaluation

The methods were evaluated on a diverse set of benchmarks:

  • Synthetic Functions: Standard optimization tests including Alpine, Forrester, Branin, and Hartmann families, modified to simulate related source and target tasks.
  • Real-World Surrogate: The OpenML SVM benchmark, involving hyperparameter tuning for Support Vector Machines across 11 datasets, representing a realistic meta-learning scenario where previous tuning runs are used to speed up a new one.

Key Results and Insights

The experiments revealed that the optimal model choice depends on the volume of source data. In regimes with moderate source data, SHGP and BHGP consistently outperformed both joint models (due to speed) and mean-transfer models (due to better uncertainty handling).

Computational efficiency and optimization performance. (a) Training time scales significantly better for SHGP/BHGP than joint models. (b) Final regret decreases with more source data.

Speed vs. Performance

SHGP and BHGP demonstrated orders-of-magnitude speedups compared to full Multi-Task GPs (MTGP). In the SVM hyperparameter tuning task, these models reached the same level of optimization regret approximately twice as fast as standard BO without transfer learning. As shown in the training time analysis, the proposed methods scale much more efficiently as the number of source points increases.

The Importance of Uncertainty

A critical finding was that neglecting source uncertainty (as seen in Mean Hierarchical GPs) significantly hinders BO. Without accurate uncertainty estimates, the optimizer fails to explore the search space effectively. SHGP and BHGP maintain wider uncertainty bands in regions where source data is less informative, preventing the optimizer from becoming prematurely overconfident.

Conclusion

SHGP and BHGP offer a practical solution for transfer learning in Bayesian Optimization, balancing computational efficiency with robust uncertainty quantification. While these models assume function smoothness and may require further adaptation for massive datasets (e.g., via sparse GPs), they provide a significant step forward for efficient black-box optimization in data-rich environments.

Summary updated

BibTeX
@inproceedings{tighineanu2022transfer,
  author = {Petru Tighineanu and Kathrin Skubch and Paul Baireuther and Attila Reiss and Felix Berkenkamp and Julia Vinogradska},
  title = {{Transfer Learning with Gaussian Processes for Bayesian Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure