Random Forests are among the most popular and effective "black box" algorithms in machine learning. However, they are often viewed as a heuristic ensemble of greedy learners, lacking a formal probabilistic framework. This makes it difficult to quantify uncertainty or fully understand their underlying mechanics.
This paper, originally presented at ICML 2015, provides a rigorous statistical foundation for tree ensembles by reframing them through a nonparametric Bayesian lens. In doing so, the authors develop a more interpretable version of the algorithm—the Bayesian Forest—and introduce a highly scalable variant designed for massive, distributed datasets known as the Empirical Bayesian Forest.
The Problem: Scaling and Statistical Inefficiency
While Random Forests (RF) are incredibly effective, scaling them to "Big Data" presents a major engineering challenge. The standard industry approach is sub-sampling: splitting a massive dataset into smaller chunks, building a separate forest on each chunk, and averaging the results.
However, this approach is statistically inefficient. Because each forest only sees a small fraction of the total data, the models miss out on deep, complex structures that only emerge when analyzing the dataset as a whole. The authors sought a way to scale forests without sacrificing this predictive "depth."
Algorithmic Contributions
The paper introduces two primary methods to bridge the gap between Bayesian theory and scalable tree ensembles:
1. Bayesian Forest (BF)
The authors demonstrate that if you view the Data Generating Process (DGP) as a multinomial draw from a large set of support points, the posterior distribution over trees can be sampled using the Bayesian Bootstrap.
In practice, this alters the traditional RF "bagging" process (sampling with replacement). Instead, a Bayesian Forest assigns each observation a weight drawn from an Exponential distribution. This subtle shift provides a formal probabilistic grounding to the ensemble.
2. Empirical Bayesian Forest (EBF)
To solve the "Big Data" scaling issue, the authors introduce the Empirical Bayesian Forest. They prove mathematically that the top splits of a CART tree (the "trunk") are extremely stable as the sample size $n$ grows.
In an EBF, you fit a single, shallow "trunk" on the entire dataset. Then, you treat each terminal node of that trunk as an independent sub-problem, fitting Bayesian Forest "branches" in parallel across different machines. This allows the model to capture global patterns before specializing, avoiding the pitfalls of naive sub-sampling.
Key Insights
- The "Trunk" is Solid: The most striking theoretical insight is the stability of high-level splits. The authors derive a bound showing that the probability of a posterior split matching the full-sample split approaches 1 very quickly as $n$ increases. This justifies "fixing" the top of the tree to save on computation.
- RF is an Approximation of BF: The paper shows that Breiman’s original Random Forest is essentially a coarse approximation of a true Bayesian posterior sampler. Switching to the Bayesian Forest (using exponential weights) provides a small but consistent "free" gain in accuracy.
- Sub-sampling is Wasteful: The common "sub-sample forest" (SSF) approach is flawed because it never allows a single tree to see the "Big" in Big Data. EBF solves this by letting the trunk see everything, ensuring the most important global splits are accurate.
Empirical Results
The authors evaluated their methods on a mix of simulated and real-world datasets, including California Housing, Wine Quality, Nielsen Beer Data, and a massive eBay "Bad Buyer Experience" (BBE) dataset.
- Predictive Gains: In datasets like California Housing and Wine Quality, the Bayesian Forest consistently outperformed the standard Random Forest, yielding a small but reliable improvement in RMSE (around 1%).
- EBF vs. Sub-sampling: On the Nielsen Beer classification data, EBF was only 4.4% worse than a full, computationally expensive BF. In contrast, the standard sub-sampling approach (SSF) was a staggering 38% worse.
- Real-world Impact: On eBay’s 12-million-row BBE dataset, the EBF algorithm caught 20,000 more "bad buyer experiences" than the sub-sampling alternative, representing a highly valuable 1.3% drop in misclassification.
Limitations and Future Work
While powerful, the EBF approach requires careful tuning. Choosing the depth of the "trunk" is a critical trade-off: a trunk that is too deep might overfit or become unstable, while one that is too shallow won't provide enough computational speedup. Furthermore, while EBF allows for parallelization, each "branch" still needs to fit into the memory of a single machine.
Finally, the theoretical stability results assume that the number of possible split locations $p$ does not grow too fast relative to the number of observations $n$. In extremely high-dimensional settings ($p \gg n$), the trunk might not be as stable as predicted, leaving room for future theoretical exploration.
Summary updated