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

Scalable Meta-Learning for Bayesian Optimization

Matthias Feurer, Benjamin Letham, Eytan BakshyarXiv 2018

Introduction

Hyperparameter optimization (HPO) is a critical component in achieving state-of-the-art performance in machine learning. However, the process is computationally expensive, often requiring numerous "black-box" evaluations where a model is trained and validated repeatedly. Traditionally, when a practitioner encounters a new dataset, the HPO process starts from scratch, ignoring the wealth of information gathered from tuning the same algorithm on previous, similar datasets.

This paper introduces RGPE (Ranking-Weighted Gaussian Process Ensemble), a scalable and hyperparameter-free method designed for transfer learning in Bayesian Optimization. RGPE leverages data from prior HPO tasks to accelerate optimization on new tasks while maintaining a theoretical safety net against "negative transfer"—the phenomenon where misleading information from unrelated tasks slows down the optimization process.

The Challenges of Transfer HPO

While the concept of "Transfer HPO" is intuitive, implementing it effectively involves three primary challenges:

  1. Scalability: The system must handle hundreds of prior tasks and thousands of historical observations without becoming a computational bottleneck.
  2. Robustness: The method must identify which prior tasks are relevant and which are "distractors" to avoid performance degradation.
  3. Usability: Many existing methods rely on manually defined "meta-features" (e.g., dataset size, number of classes) to calculate task similarity. These features are often difficult to define and may not accurately reflect the similarity of the hyperparameter landscapes.

Methodology: The RGPE Framework

1. Ranking-Weighted Gaussian Process Ensemble

Instead of fitting a single, complex Multi-Task Gaussian Process (GP), RGPE utilizes an ensemble of independent GP models. This ensemble consists of "base models" (trained on data from previous tasks) and a "target model" (trained on data from the current task). The final prediction is a weighted linear combination of these models.

2. Ranking-Based Weighting

The core innovation of RGPE is its use of ranking loss rather than standard regression metrics like Mean Squared Error (MSE) to determine ensemble weights. In Bayesian Optimization, the absolute predicted value (e.g., exact accuracy) is less important than the relative order of hyperparameter configurations. By measuring how well each base model's predictions correctly rank the observations already collected on the current task, RGPE focuses on the "shape" of the hyperparameter surface. This approach is naturally robust to differences in scale across datasets.

3. Weight Dilution Prevention

To maintain scalability and robustness, the authors implement a filtering mechanism. As more data is collected on the target task, base models that are statistically likely to perform worse than the target model are gradually pruned from the ensemble. This ensures that the system naturally converges toward the target model, effectively mitigating the risk of negative transfer from unrelated prior tasks.

4. Theoretical Guarantees

A significant contribution of this work is the proof of a worst-case bound. The authors demonstrate that using RGPE is at most a constant multiplicative factor slower than standard, non-transfer Bayesian Optimization. This provides a formal guarantee that the method is safe to use even when prior data is of poor quality.

Experimental Evaluation

The authors conducted an extensive evaluation using 249 tasks across six benchmark problems, including GLMNET, SVM, XGBoost, and deep learning architectures (LCBench). This represents one of the largest experimental evaluations of transfer HPO to date.

Key Findings

  • Superior Performance: The variant RGPE(TAF), which combines the ensemble with a Transfer Acquisition Function, consistently outperformed or matched state-of-the-art methods across all benchmarks.
  • Efficiency and Speed: RGPE achieved optimal hyperparameter settings in a fraction of the time required by standard GP-based BO. Furthermore, it demonstrated superior scalability; while Multi-Task GPs can take hours to fit 25 tasks, RGPE can process 50 tasks in approximately two seconds.
  • Hyperparameter-Free: Unlike competing methods that require manual tuning of "trust" parameters, RGPE uses a probabilistic bootstrap approach that requires no manual intervention.

Conclusion and Future Work

RGPE provides a robust, scalable, and easy-to-use framework for meta-learning in Bayesian Optimization. By prioritizing ranking over regression and implementing a weight dilution mechanism, it successfully navigates the trade-offs between leveraging prior knowledge and adapting to new data.

Future research directions include extending RGPE to non-probabilistic surrogate models (such as Tree Parzen Estimators), handling hierarchical search spaces common in full AutoML systems, and integrating multi-fidelity optimization to further reduce the cost of hyperparameter evaluations.

Summary updated

BibTeX
@misc{feurer2018scalable,
  author = {Matthias Feurer and Benjamin Letham and Eytan Bakshy},
  title = {{Scalable Meta-Learning for Bayesian Optimization}},
  year = {2018},
  eprint = {1802.02219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.02219},
}
Figure