[Paper Review] Better Trees: An empirical study on hyperparameter tuning of classification decision tree induction algorithms
This paper conducts a comprehensive empirical study on hyperparameter tuning for CART and C4.5 decision tree algorithms using 94 OpenML datasets. It demonstrates that tuning significantly improves CART performance across most datasets, while C4.5 benefits only in about one-third, with Irace emerging as the most effective tuning technique, and identifies a small subset of key hyperparameters (e.g., minsplit, minbucket) as most influential on model performance.
Machine learning algorithms often contain many hyperparameters (HPs) whose values affect the predictive performance of the induced models in intricate ways. Due to the high number of possibilities for these HP configurations and their complex interactions, it is common to use optimization techniques to find settings that lead to high predictive performance. However, insights into efficiently exploring this vast space of configurations and dealing with the trade-off between predictive and runtime performance remain challenging. Furthermore, there are cases where the default HPs fit the suitable configuration. Additionally, for many reasons, including model validation and attendance to new legislation, there is an increasing interest in interpretable models, such as those created by the Decision Tree (DT) induction algorithms. This paper provides a comprehensive approach for investigating the effects of hyperparameter tuning for the two DT induction algorithms most often used, CART and C4.5. DT induction algorithms present high predictive performance and interpretable classification models, though many HPs need to be adjusted. Experiments were carried out with different tuning strategies to induce models and to evaluate HPs' relevance using 94 classification datasets from OpenML. The experimental results point out that different HP profiles for the tuning of each algorithm provide statistically significant improvements in most of the datasets for CART, but only in one-third for C4.5. Although different algorithms may present different tuning scenarios, the tuning techniques generally required few evaluations to find accurate solutions. Furthermore, the best technique for all the algorithms was the IRACE. Finally, we found out that tuning a specific small subset of HPs is a good alternative for achieving optimal predictive performance.
Motivation & Objective
- To investigate the impact of hyperparameter tuning on the predictive performance of CART and C4.5 decision tree induction algorithms.
- To evaluate the effectiveness of various hyperparameter tuning techniques across diverse classification datasets.
- To identify which hyperparameters are most influential on model performance using statistical and sensitivity analysis.
- To determine under what conditions tuning is beneficial versus default settings being sufficient.
- To support the development of intelligent hyperparameter recommendation systems for decision trees.
Proposed method
- Empirical evaluation on 94 OpenML benchmark datasets using CART and C4.5 (J48) algorithms.
- Application of five tuning techniques: Random Search (RS), Sequential Model-Based Optimization (SMBO), Particle Swarm Optimization (PSO), Bayesian Optimization (BO), and Iterated Race (Irace).
- Use of fANOVA (factor-agnostic variance decomposition) to assess hyperparameter importance and reduce search space.
- Statistical comparison of tuned vs. default hyperparameter configurations using non-parametric tests (e.g., Wilcoxon signed-rank).
- Meta-learning (MtL) analysis to identify dataset characteristics (e.g., number of classes, decision boundary complexity) that predict tuning benefit.
- Public release of code and hyperparameter data to enable reproducibility and future extension to other algorithms.
Experimental results
Research questions
- RQ1Does hyperparameter tuning significantly improve the predictive performance of CART and C4.5 across diverse datasets?
- RQ2Which hyperparameter tuning technique yields the best performance across different computational budgets?
- RQ3Which hyperparameters are most influential in determining the final model’s predictive accuracy?
- RQ4Under what dataset characteristics does tuning provide greater benefit than using default hyperparameters?
- RQ5Can a reduced hyperparameter space be used effectively to achieve optimal performance without exhaustive search?
Key findings
- Tuning led to statistically significant performance improvements in the majority of datasets for CART, but only in approximately one-third of datasets for C4.5.
- The Irace tuning technique outperformed all others, especially at α = 0.1, and achieved high performance with comparable runtime to meta-heuristics.
- A small subset of hyperparameters—particularly 'minsplit' and 'minbucket'—were found to be most responsible for performance variation, as confirmed by fANOVA analysis.
- Tuning was most beneficial for datasets with more than eight classes and non-linear decision boundaries, while default settings were sufficient for simpler, highly separable datasets.
- Reducing the hyperparameter search space to only the most influential parameters led to a higher number of statistically significant performance improvements.
- The study provides empirical evidence that default hyperparameters are adequate for many problems, but tuning is essential for complex or high-variability datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.