Large Scale Prediction with Decision Trees

Jason M. Klusowski, Peter M. Tian

TL;DR

This paper provides a rigorous theoretical foundation for why decision trees (CART and C4.5) and Random Forests work so well in high-dimensional settings. The authors prove that these algorithms are "consistent"—meaning they converge to the true model—even when the number of predictor variables is far larger than the number of observations, provided the underlying model is sparse.

What Problem Does This Paper Address?

Despite being the workhorses of modern machine learning, decision trees like CART and C4.5 have been "notoriously difficult to study" from a mathematical perspective. Their greedy, recursive nature makes it hard to prove that they will eventually find the right answer as you give them more data.

Previous theoretical work often relied on "nice" assumptions: that the number of variables ($p$) is small and fixed, or that the data follows a very specific distribution (like being perfectly independent or uniformly distributed). Real-world data is rarely that well-behaved—it’s often high-dimensional, dependent, and discrete. This paper closes the gap by proving consistency under much more realistic, "large-scale" conditions where $p$ can grow sub-exponentially with the sample size $n$.

Methods

The authors move away from traditional methods that analyze the geometric "mesh" of the tree's partitions. Instead, they introduce a new analytical framework based on:

  • Oracle Inequalities: They establish a mathematical bound that characterizes the tradeoff between how well the tree fits the training data (goodness-of-fit) and how complex the tree is (depth and number of variables).
  • Total Variation (TV) Sparsity: They use the $\ell_1$ total variation norm to measure model complexity. This allows them to handle "approximate sparsity," where many variables might have tiny, but non-zero, effects.
  • Empirical Risk Bounds: They prove a "purely algorithmic guarantee" that the empirical risk of a tree of depth $K$ decreases at a rate of $1/K$, regardless of the data distribution.
  • Unified Framework: The theory is built to handle both regression (using identity links) and classification (using logit links/logistic loss) within the same mathematical structure.

Datasets

As a purely theoretical paper, the authors do not introduce new datasets or perform new experiments. Instead, they:

  • Reference Benchmarks: They cite classic benchmarks like "Friedman’s benchmark models" to contextualize their results.
  • Review Empirical Literature: They discuss existing empirical studies (e.g., Genuer et al., 2008) to show how their new theory aligns with observed behavior in high-dimensional random forests.

Key Insights and Ideas

  • Distribution Agnostic: Perhaps the most significant insight is that consistency holds for arbitrary joint distributions. The predictor variables can be continuous, discrete, or highly dependent on one another without breaking the proof.
  • The $1/K$ Rule: The discovery that the excess empirical risk is $O(1/K)$ is a first-of-its-kind result for these algorithms. It provides a universal "speed limit" for how fast a greedy tree can learn.
  • Random Forests Inherit Success: The paper proves that the qualitative benefits of individual trees—specifically their ability to adapt to sparsity—are mathematically inherited by Breiman’s Random Forests.
  • The "Large Margin" Boost: For classification tasks where the data is "separable" (meaning a clear boundary exists with a margin), the authors show that C4.5 converges exponentially faster than in the general case.
  • Handling Interactions: While the core results focus on additive models, the authors provide a roadmap (Section 6) showing how their logic extends to models with $d$-way variable interactions.

Key Results

  • High-Dimensional Consistency: CART and C4.5 are proven consistent even in the "ultra-high" dimensional regime where $\log(p) \approx N^{1-\xi}$.
  • Convergence Rates:
    • For CART (Regression), the consistency rate is $O(1/\log(N))$.
  • For C4.5 (Classification), the rate is $O(1/\sqrt{\log(N)})$.
  • Random Forest Robustness: The Random Forest oracle inequality shows that randomly selecting a subset of variables at each node (mtry) does not degrade performance beyond a benign factor of $p/m$. This justifies the common practice of using $m \approx p/3$.

Limitations and Future Work

  • Sub-optimal Rates: The authors acknowledge that their $1/\log(N)$ rates are slower than the "minimax optimal" rates (which are typically polynomial, like $N^{-2/3}$). They attribute this to the inherent "inductive bias" of decision trees (averaging data in terminal nodes) and their specific method of analysis.
  • Additive Bias: Much of the proof relies on the assumption that the true model is somewhat additive. While they touch on interactions, a full theory for high-dimensional models with complex, deep interactions remains an open challenge.
  • Hyperparameter Selection: While the paper explains why a certain depth $K$ works, it doesn't provide a new automated way to pick the perfect $K$ for a specific dataset, though it points toward "cost-complexity pruning" as a theoretically sound approach.

Summary updated

Abstract

This article shows that decision trees constructed with Classification and Regression Trees (CART) and C4.5 methodology are consistent for regression and classification tasks, even when the number of predictor variables grows sub-exponentially with the sample size, under natural 0-norm and 1-norm sparsity constraints. The theory applies to a wide range of models, including (ordinary or logistic) additive regression models with component functions that are continuous, of bounded variation, or, more generally, Borel measurable. Consistency holds for arbitrary joint distributions of the predictor variables, thereby accommodating continuous, discrete, and/or dependent data. Finally, we show that these qualitative properties of individual trees are inherited by Breiman’s random forests. A key step in the analysis is the establishment of an oracle inequality, which allows for a precise characterization of the goodness of fit and complexity tradeoff for a mis-specified model. Supplementary materials for this article are available online.
BibTeX
@article{klusowski2021large,
  author = {Jason M. Klusowski and Peter M. Tian},
  title = {{Large Scale Prediction with Decision Trees}},
  journal = {Journal of the American Statistical Association},
  year = {2021},
}
Figure