[Paper Review] On Extreme Pruning of Random Forest Ensembles for Real-time Predictive Applications
This paper proposes CLUB-DRF, a novel extreme pruning method for Random Forest ensembles that clusters decision trees based on their classification behavior to select diverse, representative trees. By clustering trees and retaining only one per cluster, the method achieves up to 99% pruning while maintaining or exceeding original Random Forest accuracy, enabling real-time deployment with 17–100× faster inference.
Random Forest (RF) is an ensemble supervised machine learning technique that was developed by Breiman over a decade ago. Compared with other ensemble techniques, it has proved its accuracy and superiority. Many researchers, however, believe that there is still room for enhancing and improving its performance accuracy. This explains why, over the past decade, there have been many extensions of RF where each extension employed a variety of techniques and strategies to improve certain aspect(s) of RF. Since it has been proven empiricallthat ensembles tend to yield better results when there is a significant diversity among the constituent models, the objective of this paper is twofold. First, it investigates how data clustering (a well known diversity technique) can be applied to identify groups of similar decision trees in an RF in order to eliminate redundant trees by selecting a representative from each group (cluster). Second, these likely diverse representatives are then used to produce an extension of RF termed CLUB-DRF that is much smaller in size than RF, and yet performs at least as good as RF, and mostly exhibits higher performance in terms of accuracy. The latter refers to a known technique called ensemble pruning. Experimental results on 15 real datasets from the UCI repository prove the superiority of our proposed extension over the traditional RF. Most of our experiments achieved at least 95% or above pruning level while retaining or outperforming the RF accuracy.
Motivation & Objective
- To reduce the computational and memory overhead of large Random Forest ensembles for real-time applications.
- To enhance predictive performance by preserving diversity among trees through clustering-based pruning.
- To develop a pruning strategy that maintains or improves accuracy while drastically reducing the number of trees in the ensemble.
- To demonstrate that representative trees from diverse clusters can outperform or match the full ensemble.
- To validate the method on diverse real-world datasets from the UCI repository.
Proposed method
- Cluster decision trees in a Random Forest based on their prediction behavior on a subset of the training data.
- Use a clustering algorithm (e.g., k-means) to group trees with similar classification outputs into clusters.
- Select one representative tree from each cluster—typically the centroid or most accurate tree in the cluster.
- Form a pruned ensemble (CLUB-DRF) consisting only of these representative trees to reduce inference cost.
- Apply majority voting on the pruned ensemble for final predictions, significantly reducing inference time.
- Use a subset of the dataset to compute prediction similarity between trees, enabling efficient clustering.
Experimental results
Research questions
- RQ1Can clustering of decision trees based on their prediction behavior identify redundant trees in a Random Forest?
- RQ2Does selecting a single representative tree per cluster preserve or improve classification accuracy compared to the full ensemble?
- RQ3To what extent can the number of trees be reduced (i.e., how high is the pruning level) while maintaining or exceeding the original Random Forest performance?
- RQ4How does the pruned ensemble (CLUB-DRF) compare to the original Random Forest in terms of inference speed and accuracy across diverse datasets?
- RQ5Is the clustering-based pruning approach robust across different types of real-world datasets?
Key findings
- The proposed CLUB-DRF method achieved pruning levels of 94% to 99% across 15 UCI datasets while maintaining or improving accuracy over the original Random Forest.
- On average, the pruned ensemble was 17 to 100 times faster per inference instance compared to the full Random Forest.
- In 13 out of 15 datasets, the pruned ensemble achieved higher or equal accuracy than the original Random Forest, with the vote dataset showing 95.95% accuracy (vs. 95.74% for RF) at 95% pruning.
- The method demonstrated consistent performance across diverse datasets, including sonar (96.62% accuracy at 95% pruning) and white clover (92.86% accuracy at 95% pruning).
- The clustering-based approach effectively captured diversity, as evidenced by the fact that representative trees from each cluster outperformed or matched the full ensemble.
- The pruned model maintained high F1-scores and AUC values, indicating robustness in both precision and recall across all tested 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.