Introduction
In the early 1990s, machine learning practitioners encountered a significant challenge as training datasets expanded from hundreds to hundreds of thousands of instances. While larger datasets generally improved model accuracy, they also produced excessively complex decision trees. These "monster" trees often suffered from overfitting in noisy domains and became incomprehensible to human experts, effectively acting as black boxes.
Jason Catlett's research addresses this by exploring "overpruning" algorithms. The goal is to leverage massive datasets to build highly accurate models while aggressively shrinking them to maintain interpretability.
Methods and Algorithms
The study utilizes the C4.5 algorithm and introduces a new family of overpruning algorithms, specifically OP4. Unlike standard pessimistic pruning, which only removes subtrees that don't statistically improve predicted accuracy, OP4 allows users to specify a maximum tree size. It iteratively removes the "least useful" components—those offering the smallest increase in estimated error relative to the reduction in size.
A key innovation is the practice of pruning on a larger dataset than the one used for initial tree construction. While building a tree is computationally intensive, pruning is relatively inexpensive, allowing practitioners to use a small subset for the initial structure and a much larger dataset for final pruning decisions.
Experimental Setup
The methods were evaluated across ten noisy domains, including synthetic generators (Waveform, Othello, Diff) and natural datasets (Heart disease, Sleep disorders, and various Thyroid conditions). Training sets ranged from 3,000 to 5,000 instances, with test sets exceeding 2,000.
Key Insights
- The Better Choices Hypothesis: Pruned trees from large datasets outperform those from small datasets not just because of size, but because larger data allows for better attribute selection at the top of the tree. The foundations are more statistically sound.
- Efficiency of Pruning: Pruning an existing tree using a massive dataset is significantly faster than building a tree on that same dataset, yet it provides a substantial accuracy boost.
- Accuracy-Size Tradeoff: There is an exponential relationship between accuracy and tree size. Overpruning provides a mechanism to trade a marginal amount of accuracy for a significant gain in model simplicity.
Results
Experimental results confirmed that doubling training set sizes consistently yielded more accurate trees, though these trees were 30% to 90% larger. Crucially, a tree built on a full dataset and then overpruned to a specific size was almost always more accurate than a tree built from a smaller subset that naturally resulted in that same size.
As shown in the table above, the gains were statistically significant. For instance, in the "Heart" domain, the error rate dropped from 4.39% to 2.89% when leveraging more data for pruning decisions.
Limitations and Future Directions
While effective, the current OP4 implementation is less efficient than ideal because it rescans the entire tree at each iteration. Future optimizations could involve storing statistics at individual nodes. Additionally, while node count is a useful proxy for comprehensibility, the subjective nature of the "human window" remains a factor. Finally, extending these overpruning techniques to production rule sets remains an open challenge.
Summary updated