Skip to main content
QUICK REVIEW

[Paper Review] Auto-WEKA: Combined Selection and Hyperparameter Optimization of Classification Algorithms

Chris Thornton, Frank Hutter|arXiv (Cornell University)|Aug 17, 2012
Machine Learning and Data ClassificationComputer Science190 citations
TL;DR

Auto-WEKA proposes a fully automated, Bayesian optimization-based framework for simultaneously selecting machine learning algorithms and tuning their hyperparameters, treating algorithm choice as a hyperparameter. It outperforms standard methods on 21 diverse datasets, especially large ones, by exploring a 786-dimensional search space using TPE and SMAC optimizers, with SMAC emerging as the superior choice for practical deployment.

ABSTRACT

Many different machine learning algorithms exist; taking into account each algorithm's hyperparameters, there is a staggeringly large number of possible alternatives overall. We consider the problem of simultaneously selecting a learning algorithm and setting its hyperparameters, going beyond previous work that addresses these issues in isolation. We show that this problem can be addressed by a fully automated approach, leveraging recent innovations in Bayesian optimization. Specifically, we consider a wide range of feature selection techniques (combining 3 search and 8 evaluator methods) and all classification approaches implemented in WEKA, spanning 2 ensemble methods, 10 meta-methods, 27 base classifiers, and hyperparameter settings for each classifier. On each of 21 popular datasets from the UCI repository, the KDD Cup 09, variants of the MNIST dataset and CIFAR-10, we show classification performance often much better than using standard selection/hyperparameter optimization methods. We hope that our approach will help non-expert users to more effectively identify machine learning algorithms and hyperparameter settings appropriate to their applications, and hence to achieve improved performance.

Motivation & Objective

  • To address the combined algorithm selection and hyperparameter optimization problem (CASH), which has been largely overlooked in prior work.
  • To enable non-expert users to automatically identify high-performing machine learning configurations without manual tuning.
  • To demonstrate that treating algorithm selection as a hyperparameter enables effective search via modern Bayesian optimization.
  • To evaluate and compare the performance of Auto-WEKA against standard algorithm selection and hyperparameter tuning methods across diverse datasets.
  • To identify dataset-specific preferences in algorithm and feature selection choices through empirical analysis.

Proposed method

  • Formalize the CASH problem as a hierarchical hyperparameter optimization task, where algorithm choice is treated as a hyperparameter.
  • Leverage Bayesian optimization via Tree-structured Parzen Estimator (TPE) and Sequential Model-Based Algorithm Configuration (SMAC) to search the 786-dimensional space of algorithms, hyperparameters, and feature selection methods.
  • Integrate all 27 base classifiers, 10 meta-methods, 2 ensemble methods, and 11 feature selection configurations (3 search + 8 evaluator methods) available in WEKA.
  • Use k-fold cross-validation to estimate model performance and guide the optimization process.
  • Aggregate results across 21 datasets, including UCI, KDD Cup 09, MNIST variants, and CIFAR-10, to evaluate generalization performance.
  • Rank algorithm and feature selection choices based on frequency of selection across runs and optimizers to reveal dataset-dependent preferences.

Experimental results

Research questions

  • RQ1Can a fully automated system effectively search the combined space of learning algorithms and hyperparameters to find high-performing configurations?
  • RQ2How does Auto-WEKA’s performance compare to standard, isolated algorithm selection and hyperparameter tuning methods across diverse datasets?
  • RQ3Which Bayesian optimization method—TPE or SMAC—yields better results in the context of CASH?
  • RQ4What are the dataset-specific preferences in algorithm and feature selection configurations chosen by Auto-WEKA?
  • RQ5Does Auto-WEKA’s data-driven selection of feature selection methods reflect effective regularization strategies for small vs. large datasets?

Key findings

  • Auto-WEKA significantly outperforms standard algorithm selection and hyperparameter tuning methods, particularly on large datasets such as CIFAR-10 and KDD Cup 09.
  • The SMAC-based Auto-WEKA variant consistently achieved better performance than TPE and was therefore recommended for practical use.
  • No single base classifier dominated the selection process; random forests, SVMs, and the single-layer perceptron were each selected in roughly 12% of cases.
  • For large datasets, meta-methods like AdaBoostM1 and random subspace were more frequently selected, with the REP tree and decision table being common base learners.
  • Feature selection was more frequently applied to small datasets, with the ranker search method and information gain evaluator being the most favored choices.
  • Auto-WEKA’s internal cross-validation process enabled data-dependent selection of feature selection, using it as regularization for small datasets and full-feature learning for large ones.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.