[Paper Review] Asymptotic Theory for Random Forests
This paper establishes asymptotic normality of random forest predictions under subsampling when the subsample size scales as $ s(n)/n = o(\log(n)^{-d}) $, and shows that the infinitesimal jackknife provides a consistent estimate of the asymptotic variance. These results enable formal statistical inference, such as confidence intervals, for random forest predictions.
Random forests have proven to be reliable predictive algorithms in many application areas. Not much is known, however, about the statistical properties of random forests. Several authors have established conditions under which their predictions are consistent, but these results do not provide practical estimates of random forest errors. In this paper, we analyze a random forest model based on subsampling, and show that random forest predictions are asymptotically normal provided that the subsample size s scales as s(n)/n = o(log(n)^{-d}), where n is the number of training examples and d is the number of features. Moreover, we show that the asymptotic variance can consistently be estimated using an infinitesimal jackknife for bagged ensembles recently proposed by Efron (2014). In other words, our results let us both characterize and estimate the error-distribution of random forest predictions, thus taking a step towards making random forests tools for statistical inference instead of just black-box predictive algorithms.
Motivation & Objective
- To develop a rigorous asymptotic theory for random forests that enables statistical inference beyond predictive accuracy.
- To address the lack of theoretical understanding regarding the sampling distribution and variance of random forest predictions.
- To show that random forest predictions are asymptotically normal under mild subsample size conditions.
- To demonstrate that the infinitesimal jackknife provides a consistent estimator of the asymptotic variance of random forest predictions.
- To lay the foundation for using random forests in inference tasks, such as constructing confidence intervals and hypothesis testing.
Proposed method
- Analyzes random forests based on subsampling rather than bootstrapping to ensure theoretical tractability.
- Derives asymptotic normality of predictions under the condition $ s(n)/n = o(\log(n)^{-d}) $, where $ d $ is the feature dimension.
- Applies the infinitesimal jackknife estimator for bagged ensembles, recently proposed by Efron (2014), to estimate the asymptotic variance.
- Uses a theoretical framework to show that the infinitesimal jackknife variance estimate is consistent under the given subsample size condition.
- Validates the method through simulations on synthetic data with varying distributions (Cosine, XOR, AND) and real-world UCI datasets.
- Employs a two-step estimation procedure: first compute the infinitesimal jackknife variance estimate $ \widehat{V}_{IJ} $, then assess its accuracy via bias, variance, and MSE metrics.
Experimental results
Research questions
- RQ1Under what conditions are random forest predictions asymptotically normal?
- RQ2Can the asymptotic variance of random forest predictions be consistently estimated from data?
- RQ3How does the subsample size $ s(n) $ affect the asymptotic normality and variance estimation accuracy?
- RQ4Does the infinitesimal jackknife provide a reliable and consistent estimate of the sampling variance of random forest predictions?
- RQ5How does the performance of the variance estimator vary across different data-generating distributions and sample sizes?
Key findings
- Random forest predictions are asymptotically normal when the subsample size satisfies $ s(n)/n = o(\log(n)^{-d}) $, where $ d $ is the number of features.
- The infinitesimal jackknife estimator provides a consistent estimate of the asymptotic variance of random forest predictions under the same subsample size condition.
- Simulation results show that the infinitesimal jackknife variance estimate becomes increasingly accurate as sample size $ n $ increases, with relative MSE decaying for Cosine and XOR distributions.
- The variance estimator performs well even on small-sample real-world datasets (e.g., auto, forest fires, housing), with relative MSE values below 0.002 for larger datasets.
- The AND distribution, which has higher dimensionality and a non-Lipschitz conditional mean, shows slower decay in error, indicating greater difficulty for variance estimation.
- The theoretical framework supports the use of random forests not just as black-box predictors, but as tools for statistical inference with valid confidence intervals and hypothesis tests.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.