Abstract
Random Forests (RFs) are powerful ensemble learners, but their reliance on simple leaf-node majority voting limits their performance on complex datasets. Random Composite Forests (RCF) address this by allowing leaf nodes to host sophisticated classifiers, such as Support Vector Machines (SVMs). While hybrid models often suffer from overfitting, this work introduces a novel theoretical framework that balances leaf complexity against the fraction of data correctly classified. By using this theoretical bound as a selection criterion, the RCF algorithm achieves superior generalization performance across diverse datasets compared to standard RFs and unregularized hybrid models.
Introduction
Random Forests are a cornerstone of modern machine learning, yet they often struggle with highly non-linear or high-dimensional data due to the simplicity of their decision nodes and leaf assignments. A natural extension is to embed complex models—like neural networks or SVMs—at the leaves. However, this approach typically encounters a "theory-practice gap": the increased capacity of leaf nodes leads to severe overfitting, and until now, there has been little mathematical guidance on how to manage this complexity in a finite-sample setting.
This paper bridges this gap by providing rigorous finite-sample generalization bounds for "Composite Trees." The authors propose a framework where complex local classifiers can be safely leveraged by ensuring their complexity is proportional to the specific data subset they handle.
Methodology
The authors introduce Composite Trees, where each leaf classifier is chosen from a set of subfamilies with varying complexities (e.g., SVMs with different polynomial degrees).
Theoretical Framework
The core contribution is a data-dependent learning guarantee. The penalty for a complex leaf is determined by the minimum of its Rademacher complexity and the fraction of total sample points it correctly classifies. This implies that a tree can afford a high-complexity classifier at a specific leaf if that leaf is responsible for a small, distinct portion of the data.
The RCF Algorithm
The RANDOMCOMPOSITEFOREST algorithm implements this theory through:
- Random Node Optimization (RNO): Building the tree structure using randomized splits.
- Leaf Selection: At each leaf, multiple candidate classifiers (SVMs with various kernels) are trained.
- Complexity Balancing: Instead of selecting the most accurate classifier on the training set, the algorithm uses the derived theoretical bound as a selection criterion. This acts as a regularizer, choosing the "composite" tree that best balances local accuracy with global generalization.
- Ensembling: These optimized composite trees are then combined into a forest.
Experimental Evaluation
The RCF algorithm was evaluated on 11 diverse datasets from the UCI Machine Learning Repository, ranging from small-scale tasks like iris (150 examples) to larger ones like pendigits (7,494 examples), and feature counts from 4 to 256.
Performance Comparison
The RCF algorithm demonstrated superior performance across nearly all benchmarks.
As shown in the table above, RCF consistently outperformed standard RFs. For instance, on the pendigits dataset, RCF reduced the error rate from 1.25% to 0.29%. Crucially, RCF also outperformed "RF-SVM"—a forest with SVM leaves that lacks the complexity-balancing bound—demonstrating that theoretical guidance is essential to prevent overfitting when using complex leaf models. Improvements were statistically significant at the 0.5% level for 8 out of 11 datasets.
Discussion and Key Insights
The "Aha!" moment of this research is the realization that leaf complexity does not degrade global generalization if the complex leaf is used "surgically" for specific data subsets. By using the mathematical bound directly in the model selection process, RCF avoids the common pitfalls of hybrid ensemble methods. Additionally, the analysis provides a new finite-sample learning guarantee for standard Random Forests using the random subspace method, filling a significant gap in existing literature.
Conclusion and Future Work
Random Composite Forests offer a robust way to integrate complex local models into decision tree ensembles. While the current implementation favors shallower trees to ensure sufficient data for leaf training and incurs higher computational costs due to SVM optimization, the framework is highly extensible. Future work may explore using neural networks as leaf classifiers or localizing regularization parameters to further enhance performance.
Summary updated