Abstract
Alternating Decision Forests (ADFs) bridge the gap between the parallel efficiency of Random Forests (RFs) and the global loss minimization of Boosting. By growing trees breadth-first and updating a global weight distribution at each depth level, ADFs produce more accurate and significantly more compact models than standard forests. This approach allows for the use of any differentiable loss function while maintaining the training speed advantages of traditional forest-based methods.
Introduction
Random Forests (RFs) have long been a staple in computer vision due to their speed and multi-class capabilities. However, they suffer from a significant theoretical "blind spot": they are trained greedily and locally. Each node in a tree minimizes uncertainty based only on the data reaching it, without awareness of the forest's overall performance. This often leads to redundant effort on "easy" samples and unnecessarily deep, complex trees.
In contrast, Boosting methods explicitly minimize a global loss function by focusing on "hard" samples. However, standard Boosting is inherently sequential, sacrificing the massive parallelization benefits that make Random Forests efficient. Alternating Decision Forests (ADFs) are designed to overcome these limitations by creating a forest that "collaborates" to minimize a global objective while remaining efficient to train.
The ADF Framework
The core innovation of the ADF is a training process that alternates between two main steps at each depth level:
- Breadth-First Tree Growing: Unlike standard RFs that grow one tree at a time to full depth, ADFs grow all trees in the forest simultaneously, level by level.
- Global Weight Updates: Once all trees have reached a specific depth $d$, the algorithm evaluates the current ensemble's performance. Using the principle of gradient descent in function space, it calculates a weight for every training sample. "Hard" samples misclassified by the current ensemble receive higher weights, while "easy" ones are downweighted.
These weights guide the next level ($d+1$) of tree growth. Instead of standard entropy, nodes use weighted entropy to choose splits, forcing new nodes to focus specifically on samples the forest hasn't mastered yet. This mechanism allows the model to incorporate any differentiable loss function, such as Logit, Hinge, or Tangent loss.
Key Insights and Results
Collaboration and Compactness
In a standard RF, trees are independent. In an ADF, trees are "entangled" because they share a global weight distribution. This collaboration ensures the forest doesn't waste capacity on samples already handled by other trees. Consequently, ADFs achieve high accuracy at much shallower depths than standard RFs, leading to faster inference and smaller memory footprints.
Performance Benchmarks
The authors evaluated ADFs on standard machine learning benchmarks (e.g., MNIST, Char74k) and object detection tasks. Key findings include:
- Superior Accuracy: ADFs (specifically using Tangent loss) outperformed both standard Random Forests and Boosted Trees. For example, on the Char74k dataset, ADFs achieved a 16.67% error rate, compared to 17.76% for RFs.
- Efficiency: ADFs reached peak performance with much shallower trees. As shown in the results, ADFs consistently maintain lower error rates across varying tree counts and depths.
- Training Speed: ADFs trained roughly 7 times faster than Boosted Trees while maintaining a training time comparable to standard Random Forests.
The Power of Non-Convex Loss
The framework's flexibility allows for non-convex loss functions like Tangent loss, which the authors found to be more robust to outliers and label noise compared to the standard convex losses used in SVMs or AdaBoost.
Conclusion
Alternating Decision Forests provide a powerful alternative to traditional ensemble methods. By integrating global loss minimization into a parallelizable forest structure, they offer a model that is not only more accurate but also more efficient in terms of both memory and inference speed. Future work may extend this global loss approach to specialized tasks like domain adaptation and semi-supervised learning.
Summary updated