Abstract
Selecting the optimal machine learning algorithm and its associated hyperparameters is a daunting task for non-experts. Auto-WEKA addresses this "Combined Algorithm Selection and Hyperparameter optimization" (CASH) problem by treating it as a single hierarchical Bayesian optimization task. Using Sequential Model-Based Optimization (SMBO), Auto-WEKA explores the extensive library of algorithms in WEKA to find high-performing configurations automatically, often outperforming manual selection and default settings.
Introduction
Modern machine learning libraries like WEKA offer a vast array of algorithms, from Support Vector Machines to Random Forests, each with unique hyperparameters. Traditionally, users select a model and then tune its parameters as separate steps. However, these choices are deeply intertwined. The authors define this joint challenge as the CASH problem. Searching this combined space is difficult due to its high dimensionality, noise, and hierarchical dependencies—where certain parameters only exist if a specific algorithm is chosen.
Methodology: Sequential Model-Based Optimization
To navigate the massive, tree-structured parameter space, Auto-WEKA employs Sequential Model-Based Optimization (SMBO), specifically the SMAC (Sequential Model-Based Algorithm Configuration) algorithm.
As shown in Algorithm 1, the SMBO process works through an iterative loop of modeling and evaluation:
- Modeling: SMAC uses Random Forests to model the objective function (cross-validation loss). Random forests are chosen for their ability to handle categorical data and conditional parameters naturally.
- Acquisition: It uses an Expected Improvement (EI) function to balance exploration of new areas with exploitation of known high-performing regions.
- Efficiency: To minimize computational cost, configurations are evaluated progressively. If a configuration performs poorly on initial cross-validation folds, it is discarded early to save time for more promising candidates.
Experimental Evaluation
Auto-WEKA was tested on 21 benchmark datasets, including 15 from the UCI repository and several image classification tasks like MNIST and CIFAR-10. The system considered 28 base learners, 10 meta-methods, and various feature selection techniques.
Key Results
- Performance: Auto-WEKA outperformed WEKA defaults and random search baselines on 15 out of 21 datasets. It was particularly effective on larger datasets, winning in 12 of the 13 largest cases.
- Efficiency vs. Grid Search: While exhaustive grid search required over 10 CPU years to cover the space, Auto-WEKA achieved superior results in just 120 CPU hours.
- Significant Gains: In several instances, the system reduced test misclassification rates by over 16% compared to the best baseline methods.
Discussion and Insights
The study revealed that default settings often leave significant performance on the table. However, the authors also identified the risk of "hyper-overfitting." Because the search space is so large, the optimizer can find configurations that perform exceptionally well on cross-validation but fail to generalize. To mitigate this, Auto-WEKA uses internal validation splits to monitor the optimization trajectory.
While computationally intensive (experiments typically ran for 30 hours), Auto-WEKA demonstrates that fully automated model selection is feasible and often superior to manual tuning, paving the way for more accessible machine learning tools like auto-sklearn.
Summary updated