Abstract
Hyperparameter optimization (HPO) is a critical but computationally expensive step in machine learning. While Sequential Model-based Optimization (SMBO) is effective, it often suffers from a "cold start" problem. This paper proposes two adaptive initialization strategies, Adaptive Predictive Best Initialization (aPBI) and Active Adaptive Predictive Best Initialization (aaPBI), which leverage landmark features and active learning to identify dataset similarities. Experimental results on 50 UCI datasets demonstrate that using performance-based features significantly improves optimization efficiency compared to traditional static meta-features.
Introduction
Finding optimal hyperparameters, such as learning rates or tree depths, is frequently the most time-consuming phase of model development. Sequential Model-based Optimization (SMBO) addresses this by building a surrogate model to predict hyperparameter performance. However, SMBO faces a "cold start" challenge: initially, the system lacks data for the current task and must rely on random selection or simple heuristics. While meta-learning can transfer knowledge from previous datasets, existing methods often rely on static features (e.g., dataset dimensions) that fail to capture the behavioral nuances of algorithms. This research introduces an initialization strategy that adapts based on early performance results from a new task.
Methodology
The authors propose two primary enhancements to the SMBO initialization phase:
Adaptive Predictive Best Initialization (aPBI)
Moving beyond simple metadata, aPBI utilizes landmark features. By evaluating a small set of hyperparameter configurations on a new dataset and comparing their relative performance rankings to historical data, the system identifies similar past tasks. If Configuration A outperforms Configuration B on both the new and an old task, the tasks are deemed similar, allowing the system to suggest high-performing configurations from the historical task.
Active Adaptive Predictive Best Initialization (aaPBI)
This approach incorporates active learning to optimize the initialization process. Instead of greedily selecting the currently "best" configuration, aaPBI selects configurations that are most informative for determining dataset similarity. This "short-term pain for long-term gain" strategy prioritizes learning the relationship between the current task and the meta-database, leading to more accurate predictions in later iterations.
Experimental Setup
The proposed methods were evaluated using a meta-dataset derived from 50 classification datasets from the UCI repository. The optimization task involved tuning Support Vector Machines (SVM), specifically kernel types (linear, polynomial, Gaussian) and parameters such as $C$, $\gamma$, and degree $d$. Each dataset included 288 meta-instances representing the performance of various configurations.
The study compared the adaptive strategies against traditional methods using static features. These static features, listed in the table above, include statistical measures like dimensionality, skewness, and kurtosis, which serve as the baseline for dataset characterization.
Results and Discussion
The experimental results highlight several key insights:
- Performance as a Feature: Algorithm performance serves as a superior descriptor of dataset similarity compared to traditional statistical measures. Landmark features effectively capture "behavioral" similarities that static features miss.
- Exploration-Exploitation Trade-off: The aaPBI method demonstrates that during initialization, exploring informative configurations can be more beneficial than exploiting early performance leads. While aaPBI may start with higher error rates, it typically surpasses other methods after 10–20 iterations.
- Surrogate Sensitivity: The choice of surrogate model significantly impacts performance. Random Forests, in particular, showed greater improvement when paired with the active learning approach in later optimization stages.
Conclusion
The aPBI and aaPBI methods offer a robust solution to the cold start problem in HPO by learning dataset similarities through performance landmarks. While the active learning component introduces some computational overhead and may not be suitable for extremely limited trial budgets, it consistently reaches lower Mean Classification Error (MCR) faster than standard initialization strategies. Future work will explore more complex distance functions and the impact of these strategies on diverse surrogate models.
Summary updated