Abstract
Decision forests, including Random and Gradient Boosting Trees, have recently demonstrated state-of-the-art performance in a variety of machine learning settings. Decision forests are typically ensembles of axis-aligned decision trees; that is, trees that split only along feature dimensions. In contrast, many recent extensions to decision forests are based on axis-oblique splits. Unfortunately, these extensions forfeit one or more of the favorable properties of decision forests based on axis-aligned splits, such as robustness to many noise dimensions, interpretability, or computational efficiency. We introduce yet another decision forest, called Sparse Projection Oblique Randomer Forests (SPORF). SPORF uses very sparse random projections, i.e., linear combinations of a small subset of features. SPORF significantly improves accuracy over existing state-of-the-art algorithms on a standard benchmark suite for classification with >100 problems of varying dimension, sample size, and number of classes. To illustrate how SPORF addresses the limitations of both axis-aligned and existing oblique decision forest methods, we conduct extensive simulated experiments. SPORF typically yields improved performance over existing decision forests, while mitigating computational efficiency and scalability and maintaining interpretability. SPORF can easily be incorporated into other ensemble methods such as boosting to obtain potentially similar gains.
Introduction
Standard decision tree ensembles, such as Random Forests (RF) and Gradient Boosted Trees (XGBoost), are primarily "axis-aligned," meaning they partition data along a single feature dimension at a time. While computationally efficient, this approach is fundamentally limited when dealing with complex, non-linear relationships where classes are separated by diagonal or combinatorial boundaries. In scenarios like the "Parity" or XOR problem, axis-aligned trees require immense depth and data to approximate the true decision boundary, often leading to overfitting.
Existing "oblique" forests attempt to address this by splitting on linear combinations of features. However, these methods often suffer from computational bloat or high sensitivity to noise when using dense projections (incorporating all features). This paper introduces the Random Projection Forest (RPF) framework and a specific implementation, Lumberjack (based on SPORF), to bridge the gap between simplicity and complexity.
Methods: Sparse Projection Oblique Randomer Forests
The core innovation of the RPF framework is the application of a linear projection ($X = XA$) at each node before splitting. While various algorithms define the projection matrix $A$ differently, the proposed Lumberjack variant utilizes very sparse random projections.
As shown in the table above, traditional RF uses identity-based selection, while other oblique methods like F-RC or Rot-For use dense or statistically derived projections. In contrast, Lumberjack's projection matrix is mostly zeros, combining only a small, random subset of features with weights of +1 or -1. This "flexible sparsity" allows the model to capture complex feature interactions without being overwhelmed by irrelevant noise dimensions.
To maintain practical utility, the authors employ Forest Packing, a post-processing technique that optimizes memory layout for CPU cache efficiency, significantly reducing prediction latency.
Experimental Evaluation
The researchers evaluated Lumberjack across a comprehensive suite of benchmarks:
- UCI Benchmark Suite: 105 classification datasets spanning numeric and categorical features.
- Regression Suite: 42 datasets from the WEKA collection.
- Large-Scale Data: High-dimensional datasets including MNIST, Higgs, and p53.
- Simulated Challenges: Custom problems like Sparse Parity and Trunk to test performance against axis-aligned and dense oblique methods.
Key Results and Insights
- Superior Accuracy: Lumberjack outperformed RF, XGBoost, and other oblique variants on the majority of the 105 UCI benchmark datasets, with the most significant gains observed in purely numeric data.
- XOR Mastery: On high-dimensional XOR problems (Sparse Parity), Lumberjack achieved near-zero error, whereas traditional Random Forests performed no better than random guessing.
- Efficiency and Scalability: Through Forest Packing, Lumberjack achieved prediction speeds up to 10x faster than standard implementations. The framework also demonstrated "strong scaling," effectively utilizing multi-core CPU architectures for large-scale tasks like the Higgs dataset.
- The "Goldilocks" Sparsity: The results suggest that while axis-aligned splits are often too simple and dense rotations too complex, sparse projections provide the ideal balance—capturing interactions while maintaining robustness to noise.
Limitations and Future Work
Despite its strengths, Lumberjack currently shows slightly lower performance on datasets with a high proportion of categorical features, potentially due to the noise introduced by one-hot encoding. Additionally, while the model is robust, it still benefits from hyperparameter tuning (specifically the sparsity parameter $\lambda$). Future research aims to close the theoretical gap regarding the universal consistency of supervised RPFs and to establish more robust default hyperparameters for regression tasks.
Summary updated