Asymptotic Normality and Inference for Forests

Summary

Wager & Athey (2018) prove that predictions of a subsampled, honest, regular, random-split forest are asymptotically Gaussian and centered at the truth: provided the subsample size scales as with (Theorem 1), and the same holds for causal-forest estimates under unconfoundedness and overlap (Theorem 11). The proof has two halves: honesty + Lipschitz continuity bound the bias by a power of (leaf diameters shrink), and subsampling makes the forest a U-statistic close to its Hájek projection, a sum of independent terms. The variance is consistently estimated by the infinitesimal jackknife . Athey, Tibshirani & Wager (2019) extend the result to any GRF estimate by coupling it to an infeasible pseudo-forest of influence functions, with variance estimated by the bootstrap of little bags.

Overview

A pointwise confidence interval is valid only if (i) is asymptotically normal, (ii) its bias is negligible relative to its standard deviation, and (iii) is consistent. For adaptive ML estimators (ii) is the hard part; classical nonparametrics handles it by undersmoothing. For forests the tuning knob is the subsample size : a larger gives deeper trees, smaller leaves and less bias but more correlated trees and higher variance ( up to logs). The theorems identify the window of in which bias variance.

Main Content

Random forest as a U-statistic (Definition 1) ^def-rf-ustat

With base learner , auxiliary randomness and subsample size ,

approximated in practice by Monte Carlo over subsamples drawn without replacement. The theory assumes large enough that Monte Carlo error is negligible (Wager et al. recommend of order ).

Theorem 1 (regression forests) and Theorem 11 (causal forests) ^thm-forest-clt

Let be i.i.d. with (or a density bounded away from 0 and ); and Lipschitz; ; . Let be honest, -regular with , symmetric and random-split (each feature chosen with probability ). If

then there is a sequence with

Theorem 11: if additionally treatment is unconfounded, overlap holds, and both and satisfy the regularity conditions above, the same conclusions hold for from a causal forest built from honest, -regular (Definition 4b) causal trees. If grows more slowly than the bound, the forest is still asymptotically normal but may be asymptotically biased.

Note how as : in high dimension the admissible window closes and the rate becomes very slow — the curse of dimensionality shows up as a constraint on honest inference, consistent with coverage deteriorating beyond in the simulations of Honest Trees and Causal Forests.

Half 1 — bias (§3.2)

Lemma 2 and Theorem 3 — leaf diameter and bias ^thm-forest-bias

For a regular, random-split tree on , the leaf diameter along each coordinate satisfies, for large and any , with high probability. If moreover is Lipschitz and the trees are honest, then for

Honesty is what converts “small leaf” into “small bias”: conditional on the partition, held-out leaf means are unbiased for the leaf’s average of , so the only bias is ‘s variation within the leaf. Because a forest is an average of identically distributed trees, the forest’s bias equals a single tree’s bias — averaging reduces variance, never bias — which is why bias must be controlled at tree level.

Half 2 — Gaussianity via Hájek projections (§3.3)

The Hájek projection captures the first-order (additive) part of ; it is a sum of independent variables and hence asymptotically normal. If , inherits normality. Individual trees do not satisfy this, so Wager & Athey introduce a weaker notion.

-incrementality (Definition 6)

is -incremental at if .

Viewing trees as -potential-nearest-neighbor predictors (Lin & Jeon 2006) — with selection weights that, under honesty, are independent of given — Lemma 4 shows , and Theorem 5 concludes that honest -regular symmetric trees are -incremental with ( for uniform ; Corollary 6 gives for double-sample trees). Then subsampling amplifies weak incrementality to full incrementality:

Lemma 7, Theorems 8–9 ^thm-subsampling

For the forest with Hájek projection (Efron–Stein ANOVA decomposition),

Hence if and , then (Thm 8), and the infinitesimal jackknife is consistent, (Thm 9).

Combining: variance (up to logs), squared bias ; requiring biasvariance yields exactly the lower bound .

Infinitesimal jackknife variance estimator (eq. 8) ^def-ij

where is tree ‘s estimate, indicates whether example was in tree ‘s subsample (either half, for double-sample trees), and the covariance is over trees. The factor is a finite-sample correction for subsampling without replacement: for trivial no-split trees it makes equal to the usual unbiased variance of a sample mean (Proposition 10).

Extension to generalized random forests (ATW 2019, §3–4)

solves a weighted moment equation and is not an average of trees, so the U-statistic argument does not apply directly. Under Assumptions 1–6 (Lipschitz -signal ; smooth identification with invertible ; Lipschitz variogram; regularity of ; existence of approximate solutions; convexity) and Specification 1:

ATW Theorem 3, Lemma 4, Theorem 5 ^thm-grf-clt

(i) . (ii) Define influence functions and the infeasible pseudo-forest — formally a regression forest with outcomes , hence a U-statistic. With and ,

(iii) If , then with .

Variance by the delta method. with ; estimate . is a problem-specific curvature ( for quantiles; the matrix of conditional moments for IV), estimated by auxiliary honest regression forests.

Bootstrap of little bags for (§4.1, Theorem 6)

The ideal estimator is half-sampling: recompute the forest score on all half-samples , — infeasible. Instead (Sexton & Laake 2009):

  1. Draw random half-samples ; grow trees in little bags of , all trees in bag subsampling from .
  2. Use the ANOVA identity : between-bag variance minus the within-bag Monte Carlo term estimates at almost no extra cost.

Theorem 6: is consistent and the resulting Gaussian intervals have asymptotically nominal coverage. For small the moment estimate can be negative; grf uses a Bayesian ANOVA with an improper uniform prior on .

Scope and caveats. (1) The guarantees are pointwise in , not uniform bands, and Remark 4 (W&A) notes regularity cannot hold at all simultaneously; scanning for the subgroup with the largest reintroduces a multiple-comparisons problem (Multiple Testing Corrections). (2) Covariates are fixed-dimensional; “asymptotic normality of random forests in high dimensions” is left to future work. (3) The nuisance estimates are also asymptotically normal, but “tree splits are not necessarily targeted to expressing heterogeneity in ,” so they may be inaccurate. (4) In practice coverage fails through bias, not variance (sharp peaks, boundaries, large ).

Examples

Reading . With balanced-ish splits : . For and fully random feature choice (): . For : . So theory asks for subsamples nearly as large as (deep trees) — e.g. the paper’s Simulation 2 uses , — and the resulting rate is slow. These are worst-case sufficient conditions under mere Lipschitz smoothness; they do not exploit the forest’s adaptivity to sparse signals.

Empirical check of Gaussianity (W&A Fig. 1). In the confounded design with growing, the sampling variance falls with , the relative RMSE of decays, and standardized values across 1,000 test points track the Gaussian QQ line.

Minimal IJ computation.

# tau_b: (B,) per-tree estimates at x;  N: (B, n) 0/1 inclusion matrix; s = subsample size
cov = ((N - N.mean(0)) * (tau_b - tau_b.mean())[:, None]).mean(0)   # Cov_* over trees, per i
V_IJ = (n - 1) / n * (n / (n - s)) ** 2 * np.sum(cov ** 2)
ci = tau_b.mean() + np.array([-1.96, 1.96]) * np.sqrt(V_IJ)

Connections

See Also