TL;DR
This paper investigates how to build more accurate decision trees from massive, noisy datasets by exploring the impact of training set size on tree learning and pruning. It introduces and evaluates an "overpruning" algorithm that allows practitioners to control tree size while retaining much of the accuracy gained from large datasets, addressing the trade-off between model complexity and predictive power.
What Problem Does This Paper Address?
Machine learning algorithms that build decision trees, like ID3 and its successor C4.5, are powerful tools for classification. However, when faced with large, noisy datasets (common in real-world applications), these trees can become excessively complex and prone to "overfitting" – essentially memorizing the training data, including its noise, which leads to poor performance on unseen data. While pruning techniques exist to combat overfitting by removing unnecessary branches, even pruned trees can still be too large for practical use due to limitations in human comprehension or computational resources (memory, classification time). This paper tackles the challenge of how to leverage the benefits of massive training data (increased accuracy) while managing the resulting tree size, aiming to find a sweet spot between accuracy and complexity.
Methods
The paper builds upon the C4.5 decision tree algorithm, which uses a form of "pessimistic pruning." The core contributions are:
- Pruning on Larger Sets: The paper tests the hypothesis that using a larger dataset for pruning (even if the tree was built on a smaller subset) can lead to better accuracy. This is a simple yet effective extension of standard pruning.
- Overpruning Algorithm (OP1-OP4): The authors introduce a novel algorithm for "overpruning" decision trees. This algorithm allows users to specify a target maximum size for the tree. It iteratively removes nodes that contribute the least to estimated accuracy until the desired size is reached. The paper describes several iterative refinements (OP1 through OP4) of this overpruning strategy, with OP4 being the most effective.
Datasets
The experiments were conducted on ten "noisy domains" of varying sizes. These included:
- Synthetic Domains: Three domains generated by programs.
- Natural Domains: Seven domains from real-world applications, including:
- Bio-medical engineering applications: Ischemia and Sleep disorders.
- General ML benchmarks: Waveform generator and Othello generator.
- Thyroid disorders: Five distinct families (heart, sleep, hyperthyroid, hypothyroid, binding, replace, euthyroid).
The paper notes that for synthetic domains, training examples were synthesized anew for each iteration to ensure randomness. For natural domains, distinct test sets of at least 2000 examples were reserved. Training set sizes varied, typically around 3000 or 5000 examples, depending on the dataset.
Key Insights and Ideas
- Large Datasets Yield More Accurate Trees: The paper provides strong empirical evidence that using larger training sets consistently leads to more accurate decision trees, even after pruning. This confirms a fundamental principle in machine learning.
- Tree Size Grows with Training Data: Counterintuitively, larger training sets also lead to larger pruned trees. This means that simply using more data doesn't automatically solve the problem of tree complexity.
- The Trade-off is Real: There's a clear trade-off: achieving higher accuracy with larger datasets comes at the cost of larger trees. This necessitates methods to manage tree size.
- Pruning on More Data Helps: Using a larger dataset for the pruning phase, even if the tree was built on a smaller subset, significantly improves accuracy. This is a practical technique that doesn't require changing the tree-building process.
- Overpruning is Necessary and Effective: When trees become too large for practical constraints, overpruning is a viable strategy. While it incurs some accuracy loss compared to a perfectly pruned tree, it allows practitioners to control tree size and still retain much of the accuracy advantage gained from large datasets.
Key Results
- Hypothesis 1 (H1): Very large training sets yield significantly more accurate trees than subsets half their size. This was unanimously supported across all tested domains.
- Hypothesis 2 (H2): Very large training sets yield significantly larger pruned trees than subsets half their size. This was also strongly corroborated, with tree sizes growing by 30-90%.
- Hypothesis 3 (H3): The greater size of trees built from larger training sets improves their accuracy. This was tested and generally supported, with larger trees being more accurate.
- Hypothesis 4 (H4): Better choice of attributes made while building trees from larger training sets improves their accuracy. This was tested by comparing trees built on 10% of data vs. full data, with the full data trees (overpruned to match size) being more accurate in most domains.
- Hypothesis 5 (H5): Larger sets of examples used for pruning trees provide greater accuracy. This was strongly corroborated, with pruning on a larger set consistently leading to lower error rates.
- Overpruning Performance: The overpruning algorithm (OP4) was shown to produce trees with significantly better accuracy than trees built from small sets and then overpruned to the same size.
Limitations and Future Work
- Efficiency of Overpruning: The current implementation of the overpruning algorithm is noted as being less efficient than necessary, as it rescans the entire tree at each iteration. Future work could focus on optimizing this by storing node statistics.
- Controlling Rule Base Size: While overpruning controls tree size, converting these trees to production rules might not offer direct control over the rule base size.
- Interactive Pruning: For experts who need to understand concepts, an interactive pruning system, similar to Shapiro's Interactive ID3, might be more beneficial than batch-style overpruning. Presenting experts with a series of trees of increasing complexity could enhance comprehension.
- Broader Algorithm Comparison: The paper suggests comparing overpruning with other ML algorithms and exploring its utility in buying accuracy with CPU time, especially when training data is abundant.
- Constructive Induction: Further investigation into improving attributes via constructive induction could also aid in achieving specific goals for learning time, concept size, and accuracy.
Summary updated