Transfer Learning for Bayesian Optimization: A Survey

Tianyi Bai, Yang Li, Yu Shen, Xinyi Zhang, Wentao Zhang, Bin CuiarXiv 2023 · DOI

Abstract

Bayesian Optimization (BO) has emerged as a gold standard for optimizing expensive "black-box" functions. However, its efficiency is often hampered by a slow "cold-start" phase where the surrogate model lacks sufficient data to make accurate predictions. This survey explores Transfer Learning for Bayesian Optimization (TLBO), a paradigm that leverages historical data from related optimization tasks to accelerate the search for global optima in new problems. We categorize the landscape of TLBO into four primary design perspectives—surrogate, acquisition function, initialization, and search space—and discuss the challenges of negative transfer and scalability.

Introduction

Many critical real-world challenges, such as hyperparameter tuning for deep neural networks, drug discovery, and hardware configuration, are essentially "black-box" optimization problems. In these scenarios, the objective function lacks an analytical form, and evaluations are typically expensive in terms of time or resources. While Bayesian Optimization provides a principled framework for such problems, it traditionally starts tabula rasa for every new task. This lack of prior knowledge leads to slow convergence during the initial iterations.

Transfer Learning for Bayesian Optimization (TLBO) addresses this limitation by "borrowing strength" from previously completed source tasks. By integrating knowledge from these related problems, TLBO can significantly reduce the number of evaluations required to find the optimum in a target task, effectively bypassing the cold-start period.

Taxonomy of TLBO Methods

The literature on TLBO can be organized into four primary design perspectives based on which component of the BO loop is modified to incorporate transfer knowledge.

Taxonomy of Transfer Learning for Bayesian Optimization (TLBO) components and specific categories.

1. Surrogate Design

This approach involves modifying the probabilistic surrogate model to handle data from multiple tasks simultaneously.

  • Multi-task Kernels: These methods design covariance functions that explicitly model correlations between different tasks, allowing the model to share information across the task space.
  • Deep Kernel Learning: By utilizing neural networks to learn a shared latent representation, these models can capture complex, non-linear relationships across diverse tasks.
  • Ensemble Methods: These involve building separate models for each source task and combining their predictions (e.g., via ranking-based weights) to guide the target task.

2. Acquisition Function Design

These methods focus on how the algorithm selects the next point to evaluate by incorporating historical performance data.

  • Transfer Acquisition Functions (TAF): These weight standard metrics like "Expected Improvement" based on the estimated similarity between the source and target tasks.
  • Meta-Learning: Recent trends involve using Reinforcement Learning to "learn" an optimal acquisition policy directly from source data, rather than relying on pre-defined heuristics.

3. Initialization (Warm-starting)

Instead of starting with random samples, these methods pick initial points that are likely to be high-performing based on past experience.

  • Meta-features: By using dataset characteristics (e.g., number of features, classes, or statistical properties), algorithms can identify the most similar past tasks and begin the search using their best-performing configurations.

4. Search Space Design

This perspective involves refining the search space itself before optimization begins.

  • Pruning: Source data is used to identify and remove "unpromising" regions of the search space that are unlikely to contain the global optimum, thereby simplifying the optimization landscape.

Key Insights and Scalability

A critical challenge in TLBO is the "Similarity Dilemma." If the algorithm leverages a source task that is fundamentally different from the target, it can lead to negative transfer, where the optimization process is actually hindered. Modern methods mitigate this through robust task selection or dynamic weighting mechanisms.

Furthermore, there is a notable shift in the choice of surrogate models. While Gaussian Processes (GPs) are traditional, their $O(N^3)$ complexity makes them difficult to scale with the large datasets typical of transfer learning. Consequently, there is increasing interest in Bayesian Neural Networks and Neural Processes, which offer better scalability for large-scale TLBO scenarios.

An important architectural insight is the orthogonality of these components. Researchers can theoretically combine a warm-start initialization with a multi-task surrogate and search space pruning for cumulative performance gains.

Performance and Results

Synthesized results from various benchmarks—including AutoML (OpenML, UCI), Neural Architecture Search (NAS-Bench-201), and system tuning (DBMS, Apache Spark)—demonstrate the efficacy of TLBO:

  • Efficiency Gains: TLBO methods frequently reach global optima in 50% to 90% fewer iterations compared to vanilla BO.
  • Robustness: Ensemble methods like Ranking-Weighted Gaussian Process Ensembles (RGPE) have proven particularly robust by dynamically ignoring source tasks that conflict with target task observations.
  • Simplicity vs. Complexity: In some cases, simple search space pruning based on prior knowledge can be as effective as complex multi-task modeling, highlighting the importance of choosing the right level of abstraction for transfer.

Future Directions

Despite significant progress, several challenges remain. The field lacks a unified benchmarking framework, as researchers often use disparate experimental setups, making direct comparisons difficult. Additionally, most current research focuses on a single component of the BO loop; developing a comprehensive, unified framework that integrates all four design perspectives remains an open frontier. Future work should also explore transferring structural knowledge or "low-fidelity" results (e.g., from short training runs) to further enhance optimization efficiency.

Summary updated

BibTeX
@misc{bai2023transfer,
  author = {Tianyi Bai and Yang Li and Yu Shen and Xinyi Zhang and Wentao Zhang and Bin Cui},
  title = {{Transfer Learning for Bayesian Optimization: A Survey}},
  year = {2023},
  eprint = {2302.05927},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.05927},
}
Figure