Skip to main content
QUICK REVIEW

[Paper Review] Impact of subsampling and pruning on random forests

Roxane Duroux, Erwan Scornet|arXiv (Cornell University)|Mar 14, 2016
Data Mining Algorithms and ApplicationsComputer Science19 references8 citations
TL;DR

This paper investigates the impact of subsampling and pruning on random forest performance, showing that fully subsampled forests and pruned forests achieve comparable accuracy when parameters are optimally tuned. Theoretical analysis of a median forest model reveals that subsampling and pruning have equivalent effects on error reduction, with optimal performance achieved when subsample size or tree depth is carefully selected.

ABSTRACT

Random forests are ensemble learning methods introduced by Breiman (2001) that operate by averaging several decision trees built on a randomly selected subspace of the data set. Despite their widespread use in practice, the respective roles of the different mechanisms at work in Breiman's forests are not yet fully understood, neither is the tuning of the corresponding parameters. In this paper, we study the influence of two parameters , namely the subsampling rate and the tree depth, on Breiman's forests performance. More precisely, we show that fully developed sub-sampled forests and pruned (without subsampling) forests have similar performances, as long as respective parameters are well chosen. Moreover , experiments show that a proper tuning of subsampling or pruning lead in most cases to an improvement of Breiman's original forests errors.

Motivation & Objective

  • To theoretically analyze the influence of subsampling rate and tree depth (via nodesize or maxnode) on random forest performance.
  • To establish a theoretical framework for understanding how subsampling and pruning affect generalization error in random forests.
  • To empirically validate theoretical findings by comparing performance across different subsampling and pruning configurations.
  • To provide guidance on optimal parameter tuning for Breiman's random forests, moving beyond default settings.
  • To demonstrate that proper tuning of subsampling or pruning can improve prediction error over standard random forest configurations.

Proposed method

  • Analyzes a theoretical model called the 'median forest' to derive an upper bound on the risk of random forest predictions.
  • Uses a recursive partitioning approach to model tree construction, where each split divides the data space into two equal parts.
  • Derives an upper bound on the variance of predictions by analyzing the expected squared deviation of the forest estimate from the true regression function.
  • Applies concentration inequalities and recursive bounds on the number of data points in terminal nodes to control variance growth.
  • Establishes that the risk of the median forest is bounded by a sum of two terms: one related to the number of trees and one to the depth of the trees.
  • Uses logarithmic transformations and asymptotic approximations to derive optimal values for subsample size and tree depth in terms of sample size n and dimension d.

Experimental results

Research questions

  • RQ1How does the subsampling rate affect the generalization error of random forests?
  • RQ2What is the theoretical relationship between subsampling and pruning in terms of error reduction?
  • RQ3Can pruning without subsampling achieve performance comparable to fully subsampled forests?
  • RQ4What is the optimal trade-off between subsample size and tree depth for minimizing prediction error?
  • RQ5How do the theoretical bounds on error compare with empirical performance across different parameter settings?

Key findings

  • Fully subsampled forests and pruned forests achieve similar performance when their respective parameters (subsample size and tree depth) are optimally tuned.
  • Theoretical analysis shows that both subsampling and pruning reduce variance in a similar manner, with equivalent influence on the risk bound.
  • Optimal subsample size is proportional to $ n^{\frac{\ln 2}{\ln 2 - \ln(1 - 3/(4d))}} $, which grows with sample size n and depends on dimension d.
  • The optimal tree depth (in terms of nodesize) is logarithmic in the subsample size, with $ k \approx \log_2(a_n) - 2 $, balancing bias and variance.
  • Empirical experiments confirm that tuning either subsampling or pruning leads to improved error rates compared to default settings.
  • The derived upper bound on risk decays as $ n^{\frac{\ln(1 - 3/(4d))}{\ln 2 - \ln(1 - 3/(4d))}} $, indicating a sub-polynomial decay rate dependent on dimension d.

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.