Skip to main content
QUICK REVIEW

[Paper Review] An empirical study on hyperparameter tuning of decision trees.

Rafael Gomes Mantovani, Tomáš Horváth|arXiv (Cornell University)|Dec 5, 2018
Machine Learning and Data ClassificationComputer Science58 references35 citations
TL;DR

This paper empirically investigates hyperparameter tuning in three decision tree algorithms—CART, C4.5, and CTree—using 94 OpenML datasets. It finds that tuning significantly improves performance for CART in most cases, while C4.5 and CTree benefit in only about one-third of datasets, with Irace emerging as the most effective optimization technique and a small subset of hyperparameters contributing most to performance gains.

ABSTRACT

Machine learning algorithms often contain many hyperparameters whose values affect the predictive performance of the induced models in intricate ways. Due to the high number of possibilities for these hyperparameter configurations, and their complex interactions, it is common to use optimization techniques to find settings that lead to high predictive accuracy. However, we lack insight into how to efficiently explore this vast space of configurations: which are the best optimization techniques, how should we use them, and how significant is their effect on predictive or runtime performance? This paper provides a comprehensive approach for investigating the effects of hyperparameter tuning on three Decision Tree induction algorithms, CART, C4.5 and CTree. These algorithms were selected because they are based on similar principles, have presented a high predictive performance in several previous works and induce interpretable classification models. Additionally, they contain many interacting hyperparameters to be adjusted. Experiments were carried out with different tuning strategies to induce models and evaluate the relevance of hyperparameters using 94 classification datasets from OpenML. Experimental results indicate that hyperparameter tuning provides statistically significant improvements for C4.5 and CTree in only one-third of the datasets, and in most of the datasets for CART. Different tree algorithms may present different tuning scenarios, but in general, the tuning techniques required relatively few iterations to find accurate solutions. Furthermore, the best technique for all the algorithms was the Irace. Finally, we find that tuning a specific small subset of hyperparameters contributes most of the achievable optimal predictive performance.

Motivation & Objective

  • To investigate the impact of hyperparameter tuning on predictive performance across three widely used decision tree algorithms: CART, C4.5, and CTree.
  • To evaluate the effectiveness of various hyperparameter optimization techniques in improving model accuracy and runtime efficiency.
  • To identify which hyperparameters contribute most significantly to achieving optimal predictive performance.
  • To determine whether tuning is consistently beneficial across different datasets and algorithms.
  • To provide practical guidance on efficient hyperparameter search strategies for decision tree induction.

Proposed method

  • Applied a comprehensive set of hyperparameter tuning strategies—including Bayesian optimization, evolutionary algorithms, and random search—on three decision tree algorithms: CART, C4.5, and CTree.
  • Used the Irace optimization framework as a state-of-the-art automated configuration tool to compare tuning performance across algorithms.
  • Evaluated model performance on 94 diverse binary and multiclass classification datasets from the OpenML platform.
  • Conducted statistical significance tests to assess whether performance improvements from tuning were meaningful across datasets.
  • Performed ablation studies to isolate the contribution of individual hyperparameters to overall performance gains.
  • Measured both predictive accuracy and computational cost to evaluate trade-offs between performance and efficiency.

Experimental results

Research questions

  • RQ1How does hyperparameter tuning affect the predictive performance of CART, C4.5, and CTree across diverse datasets?
  • RQ2Which hyperparameter optimization technique yields the best performance improvements across the three algorithms?
  • RQ3What is the relative contribution of individual hyperparameters to the overall performance gain from tuning?
  • RQ4How many tuning iterations are typically sufficient to find high-performing configurations?
  • RQ5Are there consistent patterns in which algorithms benefit most from tuning across different datasets?

Key findings

  • Hyperparameter tuning led to statistically significant performance improvements for CART in the majority of datasets, while C4.5 and CTree showed significant gains in only about one-third of datasets.
  • The Irace optimization technique consistently outperformed other tuning strategies across all three algorithms, identifying high-performing configurations with relatively few iterations.
  • A small subset of hyperparameters—particularly those related to tree depth, minimum samples per split, and confidence thresholds—accounted for most of the achievable performance gains.
  • The number of iterations required to find optimal configurations was relatively low, suggesting that efficient search strategies can yield strong results without excessive computational cost.
  • The impact of tuning varied significantly across algorithms, indicating that tuning strategies should be tailored to the specific algorithm and dataset characteristics.
  • Despite similar underlying principles, the three algorithms exhibited distinct tuning behaviors, highlighting the need for algorithm-specific tuning approaches.

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.