Decision forests, such as Random Forests, are workhorses of machine learning. However, they suffer from a significant "weight" problem. As datasets grow in size ($N$) and dimensionality ($P$), the number of nodes required to maintain accuracy explodes, leading to a memory footprint of $O(N \times T(P))$.
This memory demand is a dealbreaker for deployment on mobile phones, embedded systems, or real-time applications where memory and prediction speed are at a premium. While "post-pruning" (building a massive forest and then cutting it down) is a common workaround, it still requires massive temporary memory to build the initial model.
To address this, researchers have introduced the Globally Induced Forest (GIF), a "pre-pruning" algorithm that builds high-performance tree ensembles under strict memory constraints from the ground up.
The GIF Approach: Growing Slim Models
GIF treats the forest as a single additive model. Instead of fully growing one tree at a time, it grows the entire forest iteratively using a hybrid optimization strategy:
- Global Node Selection: At each step, the algorithm evaluates a "candidate list" of leaves across all $T$ trees in the forest. It greedily selects the specific node that, if split, would most reduce a global loss function (like L2 error for regression or exponential loss for classification).
- Local Splitting: Once a node is chosen globally, the actual split (which feature and what threshold to use) is determined locally using standard criteria. In this paper, the authors utilize the Extremely Randomized Trees (ET) approach.
- Stochastic Optimization: To maintain speed, the algorithm doesn't evaluate every possible leaf at every step. A "Candidate Window" ($CW$) parameter allows it to pick a random subset of leaves to evaluate.
- Regularization: The process uses a learning rate ($\lambda$) to "temper" the weights of new nodes, preventing the model from over-relying on the first few splits.
This process repeats until a pre-defined node budget is reached, ensuring the final model strictly adheres to memory limits.
Key Insights: The Power of Hybrid Optimization
The core innovation of GIF is its hybrid nature: by choosing which node to split globally but how to split it locally, the algorithm gains the accuracy of gradient boosting while retaining the robustness and efficiency of random forests. Because GIF never builds the "giant" initial forest, it completely circumvents the high peak memory usage that plagues post-pruning methods.
Surprisingly, the authors found that setting the candidate window to 1 ($CW=1$)—meaning the algorithm picks a leaf entirely at random to evaluate—acts as a powerful regularizer. It prevents the forest from becoming too deep too quickly and makes the algorithm incredibly fast, as seen in the fitting time benchmarks above.
Additionally, the learning rate dictates the forest's shape: a low learning rate encourages "in-breadth" growth (many shallow trees), while a high learning rate encourages "in-depth" growth (fewer, deeper trees).
Performance and Efficiency Results
The authors evaluated GIF on a wide variety of standard benchmarks, including regression (Friedman1, Abalone, CT Slice), binary classification, and multiclass classification datasets.
The results highlight GIF's exceptional efficiency at low budgets. On several datasets, GIF operating with only 1% of the node budget significantly outperformed standard Extremely Randomized Trees built with the same 1% budget.
Even more impressively, in some cases, GIF with a mere 1% or 10% budget actually outperformed the 100% budget (fully grown) standard forest. This is likely due to the inherent regularization of the GIF induction process, which prevents overfitting early on. GIF is also significantly faster than traditional Boosting; on the Musk2 dataset, GIF was over 250x faster to fit and 90x faster at prediction than a comparable Adaboost model.
Limitations and Future Work
While GIF excels at regression and binary classification, it does have limitations. The "trimmed exponential loss" used for multiclass problems sometimes underperformed compared to simpler square-loss approaches.
Furthermore, the current algorithm uses static splits: once a node is split, that split is permanent. The authors suggest that "refitting" or updating previously chosen nodes as the forest grows could further improve accuracy. Finally, while the global optimization step currently limits the parallel growth of trees, the search for candidate nodes and splits could still be parallelized to push fitting speeds even faster in future iterations.
Summary updated