Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

A Random Forest Guided Tour

Random forests are reviewed for theory, parameters, and variable importance

  • Problem Random forests predict well on high-dimensional data, but their theory is poorly understood. Bagging and CART splits are hard to analyze rigorously, so theorists study simplified versions instead.
  • Method The authors survey the theory by tying each result to a simplified forest model. They cover parameter choices, resampling, and variable importance measures.
  • Results The review shows what each theoretical approach gains and gives up. For example, median forests are shown to be consistent when the subsample-to-n ratio tends to zero.

Why the theory lags behind the practice

Forests grow many randomized trees on small pieces of data and average them, which makes them accurate on high-dimensional inputs with small samples. On the theory side, though, little is known, even though the method is used widely. The obstacle is that the method is a black box built from interacting parts, so a proof has to handle all of them together.

Two of those parts, bagging and the CART split, are the hardest to analyze with rigorous mathematics. Theorists therefore usually study simplified versions that skip the bagging step or swap the CART split for a simpler cut.

The most celebrated general result is Breiman's upper bound on the generalization error, stated in terms of the correlation and strength of the trees. Later work moved closer to practice, for example by proving consistency of an online forest and by studying the asymptotic distribution of forests. This review covers those theoretical approaches and what each one gains and gives up.

How a Breiman forest computes its prediction

The key idea is that each tree sees only a resampled subset of the data and chooses each split among a random handful of coordinates. For tree j, the prediction at x is the average of the Yi whose Xi fall in the cell containing x, counted only over the resampled points. Averaging M such tree estimates gives the finite forest estimate. Letting M grow without bound gives an infinite-forest estimate, the expectation over the random parameter given the data, and the law of large numbers justifies this limit.

Picking a large M doesn't cause overfitting, because the finite forest's error approaches that of the infinite forest.

Three parameters govern the procedure: the number of sampled points an, the number of candidate coordinates mtry, and the nodesize at which a cell stops splitting. In the regression mode of the R package randomForest, mtry is the ceiling of p over 3, an equals n, and nodesize is 5, with M defaulting to 500 trees. Each cell is split by evaluating the CART criterion only over the randomly drawn coordinates, not over all p, and the trees are not pruned.

Setting an equal to n with replacement gives the bootstrap mode, while an smaller than n gives subsampling.

The CART criterion scores a cut by the drop in squared error when the cell is split into its two children. The best cut is the one that maximizes this drop over the candidate coordinates and over the possible cut positions. For binary classification the Gini impurity, which equals twice the product of the two empirical class probabilities in the cell, plays the same role.

Classification trees then take a majority vote in each leaf, while regression trees average the responses.

Simplified models that can be analyzed

Purely random forests build each tree without looking at the training data, and the centered forest is the simplest widespread example. In a centered forest there is no resampling, each node picks one coordinate uniformly, and the cell is cut at its center, repeated k times to yield 2^k leaves. Consistency needs k to grow while n over 2^k also grows, which keeps enough points in each leaf on average.

Choosing k near log n gives leaves with few points, as Breiman advised, but it breaks that condition, so the analysis loses something.

If only a sparse set S of the p features matters, the analysis gives a rate that depends on the size of S and not on p. Breiman and Biau proved this when the split probability along each informative direction tends to 1 over |S| and the function satisfies a Lipschitz-type smoothness condition. The authors note that this holds only if the procedure really picks the informative variables when splitting, which is a strong assumption.

Purely uniform random forests, defined for p equal to 1, draw cut points uniformly and split each interval with probability equal to its length. Biau (2012) argues that a centered forest's estimation error still goes to zero, though slowly at rate 1 over log n, even when each tree is fully grown.

Forests as nearest-neighbor and kernel averages

A layered nearest neighbor of x is a sample point whose hyperrectangle with x contains no other data point. When each leaf holds one point and there is no resampling, the forest estimate is a weighted average of the Yi whose Xi are such neighbors. The weights are nonnegative, sum to one, and are zero for points that are not neighbors. Lin and Jeon (2006) used this link to bound the error of non-adaptive forests for uniform X on [0,1]^p by a term of order 1 over n_max times (log n) to the power p minus 1, where n_max is the largest number of points in a leaf.

The exact weights of Breiman's forest are unknown, so this link doesn't yet give a full theory of forests.

For a finite forest without resampling, each tree contributes weights built from an indicator that Xi lies in the cell of x, divided by the number of points in that cell, averaged over trees. Letting M go to infinity turns these weights into a kernel Kn(x,z), the probability that x and z share a cell in a random tree. This kernel acts as a proximity measure, so the forest estimate becomes a kernel-weighted average of the Yi.

The forest kernel need not be of the translation-invariant Nadaraya-Watson type, and for CART splits it depends strongly on the data.

Resampling and split choice in theory

The bootstrap draws n points with replacement, so its sample has a different distribution from the original data. With positive probability two identical points appear, so the bootstrap sample can't have a continuous distribution. Most analyses therefore replace the bootstrap with subsampling, letting an be smaller than n.

A median forest cuts at the empirical median of the chosen coordinate and keeps splitting until each cell has one observation. Its individual trees are in general inconsistent, but Scornet (2015a) shows the median forest is consistent when the subsample-to-n ratio tends to zero. The small ratio keeps any one pair (Xi, Yi) from dominating and keeps the query point disconnected from most points in many trees.

Subbagging averages the 1-NN predictions over many random subsamples, and the averaged estimate is a local averaging rule. They proved it is universally mean squared consistent when the subsample size tends to infinity and its ratio to n tends to zero.

Because CART splits use both Xi and Yi, Banerjee and McKeague (2007) studied the split location directly, with a limit law. Their limit law holds at rate n to the power 1/3 for the estimated split point, which lets one build confidence intervals for CART splits. Ishwaran (2013) reads the end-cut preference as useful, since a split on a noisy variable lands near the edge and the child cell keeps most of its sample.

Scornet et al. (2015) show that, for a modified forest where all directions are preselected, splits fall along the S informative variables with probability 1 minus xi for all large n.

Scornet et al. (2015) prove consistency for the pruned version of Breiman's forest in additive regression models. The unpruned case depends on a conjecture about CART behavior that is difficult to verify. Biau et al. (2008) give a counterexample for greedy forests with mtry equal to 1 and a fixed number of cuts, where each tree minimizes the true error probability.

The middle rectangle is never cut, so the error probability of the forest stays at least 1 over 6 even though the Bayes error is zero. Breiman's original algorithm, where each cell holds exactly one point, gives a consistent rule in this same example.

What the importance measures can and can't tell

Mean Decrease Impurity sums, for each tree, the weighted impurity decrease of the splits on a variable, and averages over trees. Mean Decrease Accuracy instead permutes one variable in the out-of-bag data and averages the rise in out-of-bag error across trees. Its population version compares the expected squared error when X(j) is replaced by an independent copy with the error under the original X.

For totally randomized, fully developed trees on categorical variables, Louppe et al. (2013) show that the population MDI values add up to the mutual information between all inputs and the output. So a variable that is irrelevant given the other variables gets zero importance, and adding an irrelevant variable doesn't change the others' importances.

Ishwaran (2007) studies a noise-based variant of the criterion and gives its asymptotic behavior when the forest is consistent and the regression function is piecewise constant.

Gregorutti et al. (2013) compute MDA in a Gaussian model where all inputs share the same correlation c and each has covariance tau0 with Y. In that setting the population MDA of each variable decreases as the inverse square of p as the number of correlated variables grows.

Several empirical studies found that correlated variables weaken MDA, since the measure is less able to pick out the relevant ones. The same studies found that MDI also behaves poorly when correlation increases. Strobl et al. (2008) trace this to MDA measuring marginal importance rather than importance conditional on the other variables. Combining random forests with recursive feature elimination is one way to work around this, as Gregorutti et al.

(2013) do.

Limitations and open questions

The default nodesize is often reported as a good choice, but this is not supported by solid theory. Genuer et al. (2010) claim the default mtry is either optimal or too small, so that choice is contested. The authors suggest taking mtry as large as the computing budget allows, which is a conservative advice rather than a tested optimum.

The consistency result for unpruned forests rests on a conjecture about CART that is difficult to verify. The greedy counterexample shows that consistency of greedily grown forests can fail, and the regression function there is not Lipschitz. Most analyses also rely on subsampling rather than the bootstrap, and the bootstrap's role in forests is still poorly understood.

Random Survival Forests were proved consistent only under the assumption that all variables are categorical.

Paper info

Authors
Gérard Biau, Erwan Scornet
Venue
arXiv · Preprint
First published
2015-11-18
Added
2026-11-12
Updated
2015-11-18
Version
v1
arXiv
1511.05741
Category
math.ST · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Gérard Biau, Erwan Scornet (2015). A Random Forest Guided Tour. arXiv:1511.05741v1. https://arxiv.org/abs/1511.05741v1

BibTeX
@misc{biau2015random,
  title = {{A Random Forest Guided Tour}},
  author = {Gérard Biau and Erwan Scornet},
  year = {2015},
  eprint = {1511.05741},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.05741v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up