Skip to main content
QUICK REVIEW

[Paper Review] Bayesian and empirical Bayesian forests

Matt Taddy, Chunsheng Chen|arXiv (Cornell University)|Feb 8, 2015
Bayesian Modeling and Causal InferenceComputer Science23 references18 citations
TL;DR

This paper introduces Bayesian Forests (BF) and Empirical Bayesian Forests (EBF), framing random forests as posterior samples from a nonparametric Bayesian model to improve interpretability and stability. EBFs scale efficiently to big data by fitting a shallow CART trunk first, then parallelizing forest fitting on branches, achieving predictive performance within 2% of full Bayesian forests while outperforming sub-sampling methods by up to 38% in error rates.

ABSTRACT

We derive ensembles of decision trees through a nonparametric Bayesian model, allowing us to view random forests as samples from a posterior distribution. This insight provides large gains in interpretability, and motivates a class of Bayesian forest (BF) algorithms that yield small but reliable performance gains. Based on the BF framework, we are able to show that high-level tree hierarchy is stable in large samples. This leads to an empirical Bayesian forest (EBF) algorithm for building approximate BFs on massive distributed datasets and we show that EBFs outperform sub-sampling based alternatives by a large margin.

Motivation & Objective

  • To develop a Bayesian nonparametric framework for understanding and improving random forests through posterior sampling over tree structures.
  • To analyze the stability of CART trees under repeated sampling from a nonparametric Bayesian DGP, particularly in large samples.
  • To design an efficient, scalable algorithm—Empirical Bayesian Forests (EBF)—for building approximate Bayesian forests on massive distributed datasets.
  • To demonstrate that EBFs significantly outperform sub-sampling-based distributed forest methods in predictive accuracy across multiple real-world datasets.
  • To enable reliable, high-performance tree ensemble learning in big data environments by focusing computational effort on the most informative parts of the model.

Proposed method

  • Formalize a nonparametric Bayesian model for the data-generating process (DGP) using a Dirichlet-multinomial prior over finite support, enabling posterior sampling over tree structures.
  • Derive a Bayesian Forest (BF) algorithm that samples CART trees from the posterior distribution over DGPs, treating random forests as a frequentist approximation.
  • Establish theoretical bounds on tree stability: the probability that a posterior DGP realization matches the sample CART split is ≳ 1 − (p / √n) e^−n, indicating high top-level stability in large samples.
  • Propose Empirical Bayesian Forests (EBF) that fix the tree trunk structure at the posterior mode (via a single CART fit on full data), then independently sample forests on each branch.
  • Leverage distributed computing frameworks (e.g., Apache Spark) to fit EBFs in parallel on each branch, minimizing communication and maximizing scalability.
  • Use minimum leaf size and trunk depth as tuning parameters to balance computational cost and predictive performance.

Experimental results

Research questions

  • RQ1Can random forests be interpreted as approximate posterior samples from a nonparametric Bayesian model of the data-generating process?
  • RQ2How stable are CART trees across different realizations of the underlying DGP, especially in large samples?
  • RQ3Can a two-stage approach—fitting a single trunk followed by independent forest fitting on branches—achieve predictive performance close to that of a full Bayesian forest on big data?
  • RQ4How does the performance of EBFs compare to sub-sampling-based distributed forest methods in terms of predictive accuracy and scalability?
  • RQ5What is the trade-off between trunk depth, branch size, and predictive error in EBFs?

Key findings

  • EBFs achieve predictive performance within 2% of the full Bayesian forest in the California housing dataset, while sub-sampling forests (SSFs) are 10% worse.
  • On the wine quality dataset, EBFs are only 1% worse than the full BF, whereas SSFs are 12% worse in root mean square error.
  • In the beer brand choice prediction task, EBFs are 4.4% worse than the BF, but SSFs are 38% worse in misclassification rate.
  • EBF performance remains robust across different minimum leaf sizes, with error increasing by at most 7.6% when leaf size is halved, compared to a 29.5% increase for decision trees.
  • At eBay, EBFs reduced misclassification error by 1.3% over SSF alternatives on 12 million transaction records, detecting over 20,000 additional bad buyer experiences.
  • Theoretical analysis confirms that top-level tree structure is highly stable under large samples, with split match probability ≳ 1 − (p / √n) e^−n, justifying the EBF approach.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.