Abstract
Auto-sklearn is a robust automated machine learning (AutoML) system designed to make machine learning accessible to non-experts by automating the Combined Algorithm Selection and Hyperparameter optimization (CASH) problem. Built upon the scikit-learn library, it introduces two key innovations: meta-learning to "warmstart" the Bayesian optimization process and automated ensemble construction to combine the best models found. Auto-sklearn significantly outperforms previous state-of-the-art tools and won the inaugural ChaLearn AutoML challenge.
Introduction
The success of machine learning (ML) often depends on the expertise of practitioners to navigate the complex space of algorithm selection and hyperparameter tuning—a challenge known as the CASH problem. While tools like Auto-WEKA demonstrated the potential of Bayesian optimization in this domain, they often suffered from slow start times and inefficient use of discarded models. Auto-sklearn addresses these limitations by providing a more efficient, robust, and "off-the-shelf" solution within the popular Python ecosystem.
System Architecture and the CASH Problem
Auto-sklearn structures the AutoML process as a comprehensive pipeline. The system searches through a vast space of 15 classifiers, 14 feature preprocessing methods, and 4 data preprocessing methods, encompassing a total of 110 hyperparameters.
The search space is hierarchical, as shown in Figure 2. The choice of a specific classifier or preprocessor determines which hyperparameters are relevant, creating a structured optimization problem that Auto-sklearn navigates using Sequential Model-based Algorithm Configuration (SMAC).
Core Innovations
Meta-learning for Warmstarting
To avoid the "cold start" problem of traditional optimization, Auto-sklearn utilizes meta-learning. By calculating "meta-features" (e.g., dataset size, number of features, class imbalance) of a new dataset, the system identifies similar datasets from a pre-computed library of 140 OpenML tasks. It then initializes the Bayesian optimizer with configurations that performed well on those similar tasks, significantly accelerating the discovery of high-performing models.
Automated Ensemble Construction
Unlike previous systems that only return the single best-performing model, Auto-sklearn retains the models evaluated during the search process. It employs a greedy ensemble selection method to combine these models into a final ensemble. This approach provides a "free" performance boost and increases robustness against overfitting by leveraging the diverse error patterns of different models.
Empirical Evaluation and Results
The authors evaluated Auto-sklearn against 21 benchmark datasets and 140 OpenML datasets. Key findings include:
- Superior Performance: Auto-sklearn outperformed Auto-WEKA in 15 out of 21 benchmark cases and consistently matched or exceeded Hyperopt-sklearn.
- Challenge Success: The system won six out of ten phases in the first ChaLearn AutoML challenge, proving its effectiveness on diverse, "blind" datasets.
- Additive Improvements: Results showed that both meta-learning and ensembling provide significant, additive improvements, particularly when computational time is limited (e.g., a 1-hour budget).
Conclusion
Auto-sklearn represents a significant step toward making machine learning truly "off-the-shelf." By combining the power of Bayesian optimization with meta-learning and automated ensembling, it provides a robust and efficient framework that outperforms existing tools. While future work aims to address massive datasets and deep learning architectures, Auto-sklearn remains a state-of-the-art solution for automated machine learning on standard tabular data.
Summary updated