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

Using Meta-Learning to Initialize Bayesian Optimization of Hyperparameters

Matthias Feurer, Jost Tobias Springenberg, Frank Hutter

Introduction

Hyperparameter optimization (HPO) is a critical yet computationally expensive component of machine learning. While Sequential Model-based Bayesian Optimization (SMBO) has become a standard approach, it typically suffers from a "cold-start" problem, beginning each new task without prior knowledge. This leads to inefficient initial exploration and high computational costs for complex models. This paper introduces MI-SMBO, a method that uses meta-learning to "warm-start" the optimization process by suggesting high-performing configurations from similar previous datasets.

Methodology: MI-SMBO

The authors propose MI-SMBO (Meta-learning-initialized SMBO), a framework-agnostic method to seed optimization. The process involves three key steps:

  1. Dataset Characterization: Describing datasets via 46 meta-features, including statistical properties and "landmarking" scores (performance of simple, fast classifiers like 1-Nearest Neighbor).
  2. Similarity Mapping: Calculating distances between new and historical datasets using the $L_1$ norm to identify similar tasks.
  3. Initialization: Seeding the SMBO process with optimal configurations from the $t$ most similar previous tasks instead of starting randomly.

Crucially, this method is agnostic to the underlying optimizer and was tested with both Spearmint (Gaussian Process-based) and SMAC (Random Forest-based).

Experimental Setup

The method was evaluated using 57 classification datasets from the OpenML project. Two primary scenarios were tested: a low-dimensional SVM tuning problem and a high-dimensional "CASH" (Combined Algorithm Selection and Hyperparameter optimization) problem involving 10 hyperparameters in scikit-learn. To ensure reproducibility and speed, the researchers used a precomputed grid of 1,623 configurations per dataset to simulate optimization runs.

Results and Discussion

Meta-learning provides a significant performance boost, particularly in complex search spaces. A key finding is the effectiveness of "landmarking" features over simple statistical meta-features in predicting successful hyperparameters.

Performance comparison on the heart-c dataset. The bottom plot illustrates how MI-Spearmint achieves optimal performance almost immediately compared to the vanilla version.

As shown in the heart-c dataset, MI-Spearmint reaches the optimum in its first evaluation, whereas vanilla Spearmint requires nearly 20 evaluations. This "Aha" moment demonstrates that meta-learning can provide a high-quality baseline immediately, bypassing the expensive initial exploration phase.

Performance comparison on the arrhythmia dataset. Meta-learning initialization (bottom) provides a much stronger starting point than standard baselines (top).

Similar trends are observed across other datasets like arrhythmia. In high-dimensional scikit-learn experiments, MI-SMAC significantly outperformed vanilla SMAC on 25% of the datasets, demonstrating robustness and improved convergence speed even when the absolute best point isn't found instantly.

Conclusion

MI-SMBO effectively leverages historical data to bypass the cold-start phase of Bayesian Optimization. By providing a high-quality initial foundation, it reduces the computational budget required for HPO, especially in complex multi-algorithm search spaces. Future work includes exploring "Collaborative SMBO" for continuous reasoning about task similarity throughout the optimization process.

Summary updated

BibTeX
@inproceedings{feurer2014using,
  author = {Matthias Feurer and Jost Tobias Springenberg and Frank Hutter},
  title = {{Using Meta-Learning to Initialize Bayesian Optimization of Hyperparameters}},
  booktitle = {MetaSel@ECAI},
  year = {2014},
}
Figure