Skip to main content
QUICK REVIEW

[Paper Review] To tune or not to tune? An Approach for Recommending Important Hyperparameters

Mohamadjavad Bahmani, Radwa El Shawi|arXiv (Cornell University)|Aug 30, 2021
Machine Learning and Data ClassificationComputer Science33 references5 citations
TL;DR

This paper proposes a statistical framework using functional ANOVA to identify the most important hyperparameters across six classifiers on 200 datasets, enabling practitioners to decide whether tuning is worthwhile. It finds that gradient boosting and Adaboost are the most tunable and perform best, with hyperparameter importance varying significantly by algorithm and dataset.

ABSTRACT

Novel technologies in automated machine learning ease the complexity of algorithm selection and hyperparameter optimization. Hyperparameters are important for machine learning models as they significantly influence the performance of machine learning models. Many optimization techniques have achieved notable success in hyperparameter tuning and surpassed the performance of human experts. However, depending on such techniques as blackbox algorithms can leave machine learning practitioners without insight into the relative importance of different hyperparameters. In this paper, we consider building the relationship between the performance of the machine learning models and their hyperparameters to discover the trend and gain insights, with empirical results based on six classifiers and 200 datasets. Our results enable users to decide whether it is worth conducting a possibly time-consuming tuning strategy, to focus on the most important hyperparameters, and to choose adequate hyperparameter spaces for tuning. The results of our experiments show that gradient boosting and Adaboost outperform other classifiers across 200 problems. However, they need tuning to boost their performance. Overall, the results obtained from this study provide a quantitative basis to focus efforts toward guided automated hyperparameter optimization and contribute toward the development of better-automated machine learning frameworks.

Motivation & Objective

  • To determine which hyperparameters significantly impact machine learning model performance across diverse datasets.
  • To quantify the tunability of different classifiers by measuring performance gain from hyperparameter optimization.
  • To provide data-driven guidance for practitioners on whether to invest time in hyperparameter tuning.
  • To identify robust default hyperparameter configurations and top-performing algorithms based on empirical evidence.
  • To support the development of smarter AutoML frameworks by revealing algorithm-specific hyperparameter importance and interactions.

Proposed method

  • Employs functional ANOVA to decompose model performance variance into contributions from individual hyperparameters and their interactions.
  • Uses a benchmark of 200 datasets from OpenML to evaluate six classifiers: random forest, SVM, Adaboost, Extra Trees, decision tree, and gradient boosting.
  • Applies Bayesian optimization for hyperparameter tuning across 500 configurations per dataset to ensure robust performance estimation.
  • Measures tunability as the standard deviation of performance gain across datasets between a reference configuration and the best-performing configuration.
  • Ranks algorithms based on mean AUC performance across all datasets and uses the Wilcoxon signed-rank test to assess statistical significance.
  • Reuses and validates findings against prior work, such as van Rijn and Hutter (2017), to ensure consistency and reliability.

Experimental results

Research questions

  • RQ1Which hyperparameters are most influential for each of the six classifiers across diverse datasets?
  • RQ2How much performance gain can be achieved through hyperparameter tuning for each algorithm?
  • RQ3Which machine learning algorithms are most tunable and consistently outperform others across different datasets?
  • RQ4How do the relative performances of classifiers vary across datasets, and are there consistent top performers?
  • RQ5Can we identify robust default hyperparameter settings that minimize the need for tuning while maintaining high performance?

Key findings

  • Gradient boosting and Adaboost are the most tunable and top-performing algorithms, significantly outperforming others across 200 datasets.
  • The standard deviation of performance gain across datasets—used as a tunability metric—shows SVMs, gradient boosting, and Extra Trees are highly tunable, while decision trees and random forests are the least tunable.
  • Despite being the least tunable, random forests and decision trees still achieve strong performance, indicating that simplicity can be effective in practice.
  • No single algorithm dominates across all datasets: SVMs outperforms gradient boosting on 16 datasets, highlighting the importance of algorithm selection based on data characteristics.
  • The difference in performance between gradient boosting and Adaboost is not statistically significant (p > 0.05), suggesting similar effectiveness in practice.
  • Hyperparameter importance varies significantly across algorithms, with XGBoost-like parameters (e.g., learning rate, max depth) being most influential in gradient boosting and Adaboost.

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.