Abstract
Deep Forest (gcForest) emerged as a powerful non-neural network alternative for deep learning, utilizing ensembles of random forests. However, it suffers from high memory consumption and potential noise accumulation in its cascade structure. This paper introduces PSForest, which optimizes the deep forest architecture through two key mechanisms: Multi-Grained Pooling to reduce feature dimensionality and Error Screening (via a Gate-Cascade structure) to filter unreliable predictions. Experimental results demonstrate that PSForest significantly reduces memory usage (up to 10x) and improves training speed while maintaining or exceeding the accuracy of the original gcForest across various datasets.
Introduction
Deep Neural Networks (DNNs) have achieved remarkable success but require vast amounts of data and computational resources. The Deep Forest (gcForest) model was proposed as a non-differentiable alternative that is easier to tune and works well on smaller datasets. Despite its advantages, gcForest's "Multi-Grained Scanning" generates a massive number of sub-instances, leading to a "memory explosion." Furthermore, the standard cascade structure can propagate errors from poorly performing forests. PSForest addresses these limitations to create a leaner, more robust deep forest model.
Methodology
PSForest introduces three primary innovations to the deep forest pipeline:
1. Multi-Grained Pooling
In the original gcForest, multi-grained scanning uses sliding windows to generate a large number of sub-instances, which are then fed into forests to produce class vectors. This process is memory-intensive. PSForest replaces this with Multi-Grained Pooling. Inspired by convolutional neural networks, it applies max-pooling to the features within each sliding window. This retains the most salient information while drastically reducing the number of features passed to the next stage.
2. Error Screening (Gate-Cascade Forest)
To improve the quality of the information passed through the cascade, PSForest implements an Error Screening mechanism. For each forest in a cascade layer, the Out-of-Bag (OOB) error is calculated. A "gate" then filters the outputs: only class vectors from forests with an OOB error below a certain threshold (defined by a filtration rate $s$) are allowed to proceed. This prevents noisy predictions from degrading the model's performance in deeper layers.
3. Feature Stacking
To mitigate the loss of original information as the cascade deepens, PSForest stacks the filtered class vectors from all previous layers with the original raw features. This "skip-connection" style approach ensures that the model maintains a strong representation of the input data throughout the entire depth of the network.
Experimental Results
The researchers evaluated PSForest against gcForest and other baselines on spatial/sequential data (MNIST, CIFAR-10) and standard tabular datasets.
Efficiency Gains
The most significant improvements were seen in resource utilization:
- Memory Usage: On MNIST, PSForest used 1.7 GB compared to gcForest's 10.2 GB. On CIFAR-10, usage dropped from 28.8 GB to 6.4 GB.
- Training Speed: PSForest achieved a ~7x speedup on MNIST (106s vs 755s).
Predictive Performance
Despite the reduced footprint, PSForest outperformed gcForest in accuracy on most datasets. For instance, on the Car Evaluation dataset, it showed a ~5% accuracy improvement over competing models. While it still lags behind state-of-the-art CNNs on complex image tasks like CIFAR-10 (44.75% accuracy), it remains a highly competitive and efficient alternative for many applications.
Conclusion
PSForest demonstrates that the "deep learning" paradigm can be made significantly more efficient without sacrificing accuracy. By incorporating pooling and error screening, it overcomes the primary bottlenecks of the original Deep Forest model, making it a viable choice for resource-constrained environments and smaller-scale datasets.
Summary updated