Abstract
Sequential Model-based Bayesian Optimization (SMBO) is a powerful tool for hyperparameter tuning, yet it often suffers from a "cold start" problem, requiring several initial evaluations to build a reliable surrogate model. This paper introduces MI-SMBO, a meta-learning-based initialization strategy that leverages performance data from previous datasets to "warm-start" the optimization process. By identifying similar datasets and initializing with their best-performing configurations, MI-SMBO significantly accelerates the search for optimal hyperparameters, particularly in complex, high-dimensional configuration spaces.
Introduction
Fine-tuning machine learning models is a critical but computationally expensive task. Standard SMBO methods typically begin with a set of random or default configurations. While effective in the long run, these initial steps are often inefficient, wasting time on poor configurations. Human experts, by contrast, use prior experience to suggest promising starting points. MI-SMBO formalizes this intuition by using meta-features to transfer knowledge across datasets, effectively bypassing the slow initial phase of global optimization.
The MI-SMBO Approach
MI-SMBO is designed to be algorithm-agnostic, allowing it to be integrated into existing optimizers like SMAC or TPE. The process involves four key steps:
- Meta-Feature Extraction: For a new dataset, 46 meta-features are calculated, including statistical properties (e.g., number of features, class entropy) and "landmarking" results from simple, fast classifiers.
- Dataset Similarity: The system identifies the most similar datasets from a meta-database. Similarity is determined using either a standard p-norm of meta-features or a learned distance metric that predicts performance correlation.
- Initialization: The optimizer is initialized with the best configurations found on the most similar datasets.
- Standard Optimization: Following this warm start, the standard SMBO process takes over, refining the search based on the newly acquired data points.
Experimental Results
The authors evaluated MI-SMBO using a suite of 57 classification datasets from OpenML. The primary focus was the Combined Algorithm Selection and Hyperparameter optimization (CASH) problem, which represents a highly complex search space.
Key Findings
- Accelerated Convergence: As shown in Figure 1, MI-SMAC (the meta-learning version of SMAC) often achieves performance in its first few steps that standard methods fail to reach even after 50 iterations.
- Aggregate Superiority: Across the entire dataset suite, MI-SMAC variants consistently maintained a lower (better) average rank compared to standard SMAC, TPE, and random search (see Figure 5).
- Complexity and Dimensionality: The benefits of meta-learning were most pronounced in complex search spaces. For simpler, low-dimensional problems (e.g., tuning an SVM with two parameters), the advantage was less significant as standard optimizers can map these spaces quickly.
- Efficiency: The overhead of computing meta-features is minimal, typically taking less than a minute, which is negligible compared to the cost of a single full model evaluation.
Discussion and Future Work
MI-SMBO demonstrates that transferring knowledge from previous tasks is a robust strategy for improving the efficiency of Bayesian optimization. However, the method relies on the existence of a comprehensive meta-database. Future research could explore "active" meta-learning, where dataset similarity is updated dynamically as the optimizer gathers more information about the current task. Additionally, scaling these techniques to even larger configuration spaces, such as those found in automated machine learning (AutoML) frameworks, remains a promising direction.
Conclusion
By mimicking the expert strategy of using prior knowledge, MI-SMBO provides a significant boost to hyperparameter optimization. It effectively addresses the cold-start problem, making Bayesian optimization more viable for computationally expensive models and complex algorithm selection tasks.
Summary updated