papers / randomforest2001
Next task →
Research Papers/Classical machine learning/Random Forests
Classical machine learning · #3 · seminal

Random Forests

Leo Breiman · 2001 · Machine Learning
reproduction difficulty: lowClassical Machine LearningEnsemble Methods

1. Research problem

Single decision trees are unstable and prone to overfitting, while bagging alone still yields correlated trees that limit variance reduction.

2. Motivation

Breiman wanted an ensemble that decorrelates trees by randomizing splits, producing a robust and easy-to-tune classifier for messy data.

3. Previous approaches

Bagging averaged bootstrap trees; earlier random-subspace ideas existed, but the combination and its theoretical margin/strength analysis were not fully developed.

4. Core contribution

Defined random forests: bootstrap-aggregated trees grown with a random subset of features at each split, with out-of-bag error estimates and variable-importance measures.

5. Mathematical formulation

For each tree, draw a bootstrap sample and at every node choose the best split among m_try randomly selected features; average predictions (or vote) over B trees.

6. Methodology

Ensemble theory based on the correlation between trees and the strength of individual trees, plus empirical evaluation across many datasets.

7. Architecture

An ensemble of CART-style decision trees with randomized split selection.

8. Experimental setup

Wide comparison on classification and regression benchmarks including noisy, high-dimensional data.

9. Datasets

A collection of UCI-style benchmark datasets plus synthetic examples.

10. Results

Strong accuracy with little tuning, robustness to noise, built-in out-of-bag validation, and interpretable feature importance; became a standard baseline.

11. Limitations

Poor extrapolation in regression, large memory for many trees, bias toward high-cardinality features in importance measures, and no clean probabilistic calibration.

12. Critical analysis

Empirically extremely successful with a supporting margin theory, but the theory is loose and the method can be outperformed by boosting on structured data.

13. Implementation tasks

  • 1.Implement a simple CART tree and wrap it in a bagged random forest with random feature subsets.
  • 2.Compute out-of-bag error and compare with a held-out test set.
  • 3.Study accuracy versus the number of trees and m_try on a synthetic dataset.

14. Follow-up work

  • 1.Greedy Function Approximation: A Gradient Boosting Machine (Friedman, 2001)
  • 2.XGBoost: A Scalable Tree Boosting System (Chen and Guestrin, 2016)

15. Open research questions

  • 1.Why do random forests resist overfitting even with hundreds of fully grown trees?
  • 2.How can feature importance be made unbiased for correlated predictors?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.