EconBase
← Back to paper

Empirical Likelihood for Random Forests and Ensembles

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

49,838 characters · 6 sections · 64 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Empirical Likelihood for Random Forests and Ensembles

\ShortHeadings{Empirical Likelihood for Random Forests}{Chiang, Matsushita and Otsu} \firstpageno{1}

\editor

abstractWe develop an empirical likelihood (EL) framework for random forests and related ensemble methods, providing a likelihood-based approach to quantify their statistical uncertainty. Exploiting the incomplete $U$-statistic structure inherent in ensemble predictions, we construct an EL statistic that is asymptotically chi-squared when subsampling induced by incompleteness is not overly sparse. Under sparser subsampling regimes, the EL statistic tends to over-cover due to loss of pivotality; we therefore propose a modified EL that restores pivotality through a simple adjustment. Our method retains key properties of EL while remaining computationally efficient. Theory for honest random forests and simulations demonstrate that modified EL achieves accurate coverage and practical reliability relative to existing inference methods.
keywordsrandom forests, ensembles, empirical likelihood, generalized $U$-statistics

\allowdisplaybreaks

Introduction

A random forest breiman2001random is a powerful and versatile machine-learning method. In contrast with many other predictive algorithms, it requires minimal tuning yet yields strong performance even in moderate samples. Its capacity to handle high-dimensional feature spaces also renders them considerably more flexible than conventional nonparametric estimators. A comprehensive survey is provided by biau2016random.

At a high level, a random forest operates via a “divide-and-conquer" principle: it is an ensemble of regression or classification trees, each trained on a resampled version of the data, with or without replacement. The principle of aggregating predictions from multiple base learners trained on subsamples is general and has inspired a wide class of ensemble methods. While these procedures often excel in prediction, quantifying the associated statistical uncertainty remains challenging. In contrast to conventional statistical methods, well-founded likelihood-based inferential tools are largely unavailable for ensembles like random forests. This paper develops an empirical likelihood (EL) framework Owen1988 for random forests and related ensemble learners, thereby enabling likelihood-based inference for this widely used class of models.

Despite recent progress in the asymptotic theory and inference on random forests, many existing analyses either neglect the resampling stage and the additional uncertainty it induces, or only partially account for its influence on the asymptotic distribution of predictions, while leaving its impact on variance estimation unaddressed. Moreover, to the best of our knowledge, no EL or other related likelihood-based inference method has yet been developed in this context.

Random forests and related ensemble methods possess an underlying $U$-statistic structure, suggesting that the jackknife EL approach of jing2009jackknife could, in principle, be applied directly. However, because their asymptotic theory is developed only for finite-order $U$-statistics, it is unclear whether these results extend to the infinite-order setting induced by random forests, where often the order of the kernel must grow rapidly with the sample size for the random forest prediction bias to vanish asymptotically--see e.g., Theorem 3 in wager2018estimation. More fundamentally, complete random forests and their leave-one-out versions are computationally prohibitive even for moderate sample sizes. Without them, the jackknife pseudo-values cannot be formed, rendering the jackknife EL procedure inapplicable in practice.

In practice, random forest predictions correspond to an incomplete $U$-statistic: the ensemble is formed from only a small subset of all possible subsample-based trees, rather than the full combinatorial collection. To address this computational bottleneck, we propose a new EL inference method that builds on the principle of jackknife EL and incorporates a jackknife-after-subsampling scheme--an analogue of the jackknife-after-bootstrap idea of \citep*{efron1992jackknife,wager2014confidence}--to construct our jackknife pseudo-values, which are then used to form the EL function for inference. The proposed confidence region retains several desirable features of the conventional EL confidence region: it is range-preserving, transformation-respecting, and its shape is fully determined by the data. For instance, if the parameter of interest has a positive support, the EL confidence region will not include negative values, unlike Wald-type confidence intervals.

In terms of the asymptotic properties, like many existing inference procedures, such as Wald-tests based on the infinitesimal jackknife or the conventional jackknife, under standard regularity conditions, the proposed jackknife EL procedure attains asymptotically exact size provided that the number of subsamples increases at a sufficiently fast rate; we refer to this regime as dense-subsampling asymptotics. However, when the number of subsamples increases at a slower rate--referred to as sparse-subsampling asymptotics--the limiting distribution of the statistic becomes non-pivotal, leading to size distortions. To address this issue, we further propose a modified EL procedure that not only preserves all the desirable properties of the EL-based inference methods but also remains asymptotically pivotal under both dense-and sparse-subsampling asymptotics. This modification--analogous to the correction idea for the infinitesimal jackknife variance estimator discussed in Section 4 of peng2021bias--is straightforward to implement. In contrast to the existing jackknife EL-based bias correction methods of matsushita2021jackknife,matsushita2024empirical, our modification does not require leave-more-out estimation and is therefore computationally feasible even under large samples.

Our theoretical results for the proposed EL and modified EL procedures are developed under broad and general assumptions that mirror those considered in peng2022rates. To demonstrate their practical relevance, we further specialize the theory of the modified EL to the honest random forests of wager2018estimation, deriving explicit and trackable low-level sufficient conditions. Although we take advantage of the bias bound and variance ratio results for honest trees from wager2018estimation, our analysis explicitly accounts for varying degrees of incompleteness in the $U$-statistic structure due to subsampling, leading to improved finite-sample performance and computational efficiency.

Literatures

Random forests were introduced by breiman2001random as a modification of bagging breiman1996bagging. Over the past two decades, substantial progress has been made towards understanding their statistical properties. A substantial body of work has established its consistency, convergence rates, and provided insights into the sources of its strong empirical performance; see, for example, biau2012analysis, scornet2015consistency, wager2015adaptive, scornet2016asymptotics, mentch2020randomization, and chi2022asymptotic. See also scornet2025theory for a recent survey of the theoretical progress on random forests.

More recently, the asymptotic distributional properties of random-forest point predictions and the associated inferential procedures have attracted considerable attention. wager2014confidence introduced the infinitesimal jackknife for random forests and their Monte Carlo bias correction methods, providing a computationally tractable variance estimator and clarifying the role of resampling. mentch2016quantifying formally recast subsampled random forests, after centering, as incomplete $U$-statistics, and derive a central limit theorem for ensemble learners under an incomplete $U$-statistics setup under the assumption that the first order projection of the kernel of $U$-statistics having an asymptotically non-zero variance\footnote{Recent works, such as diciccio2022clt,peng2022rates, have noted that this imposes a strong restriction on tree-based learners.}. Under an honesty condition, \citet*{wager2018estimation} decomposed random forest predictions as the sum of a centered infinite-order $U$-statistics and a bias term, establishing a bias bound and pointwise asymptotic normality of forest predictions under explicit and verifiable low-level conditions. Their framework connects random forest predictions to classical $U$-statistic theory while avoiding imposing an asymptotic nonzero variance condition on the first order projection term, enabling asymptotic inference through standard central limit arguments. Within this setup, \citet*{wager2018estimation} further proved the ratio consistency of the infinitesimal jackknife variance estimator, thereby providing a theoretically justified basis for asymptotically valid hypothesis testing and confidence interval construction for random forest predictions.

Subsequent contributions refined these results. In particular, \citet*{peng2022rates} established a central limit theorem and Berry-Esseen bounds for generalized $U$-statistics, explicitly accounting for incompleteness and its impact on the asymptotic distribution. They further examined the variance ratio condition required by their central limit theorem, providing bounds for this ratio for various base learners, such as random potential nearest neighbor estimators and non-adaptive $k$-trees. peng2021bias re-examined the infinitesimal jackknife as a variance estimator for resampling-based and ensemble methods. They showed that the infinitesimal jackknife can be equivalently derived via ordinary least squares regression, the classical jackknife, or functional derivatives, offering clearer intuition. Furthermore they analyzed its bias, proposed a bias-corrected form, and extended the framework to $U$-statistics, establishing consistency results for both complete and incomplete subsampling schemes relevant to random forests.

Other notably related developments include the high-dimensional Gaussian approximation and bootstrap theory for incomplete infinite-order $U$-statistics established by song2019approximating. athey2019generalized proposed estimators defined by estimating equations localized by random forest weights, together with a corresponding large-sample theory and variance estimator. zhou2021v focused on variance estimation and its relationship with V-statistics, ghosal2022infinitesimal extend the infinitesimal jackknife variance estimator to a wide range of ensemble learning algorithms, demonstrating that it provides a consistent estimator of the covariance between any two model predictions, whereas coleman2022scalable introduced an F-test analogue procedure for efficient hypothesis testing based on permutation-test techniques. xu2024variance derived an unbiased variance estimator for infinite-order $U$-statistics relevant to forest predictions. demirkaya2024optimal investigated ensembles constructed from distributional nearest neighbor learners, establishing their asymptotic distributions, variance estimators, and a simple bias-correction scheme based on a two-scale estimation procedure. Finally, juergens2025jackknife analyzed the jackknife variance estimator and its variants, providing weaker sufficient conditions for ratio consistency for ensembles employing distributional nearest neighbor base learners, among other recent advances.

We also contribute to the literature on EL (Owen1988; see Owen2001Book for a comprehensive textbook treatment) and related likelihood based inference. Following the seminal work of jing2009jackknife, the jackknife EL and its variants have been widely applied to diverse econometric and statistical problems. For various complete $U$-statistics with a finite and fixed order, matsushita2021jackknife,matsushita2024empirical introduced a modified jackknife EL to correct for the Efron-Stein bias and established its asymptotic pivotality under both conventional and nonstandard asymptotics via leave-more-out bias correction idea from efron1981jackknife--see also chiang2025multiway for a generalization to multiway clustered data. Under conventional asymptotics, EL methods have been further developed and extended to numerous contexts--see, e.g., bertail2006empirical, zhu2006empirical, HjortMcKeagueVan_Keilegom2009AoS; BravoEscancianoVan_Keilegom2020AoS, and the reviews by kitamura2006empirical and ChenVan_Keilegom2009Test.

\noindentNotation: Throughout the paper, for any two nonnegative sequences $(A_n)_{n\in \mathbb N}$ and $(B_n)_{n\in \mathbb N}$, we use $A_{n}\lesssim B_{n}$ to mean that there exists a positive constant $C$ independent of $n$ such that $A_{n}\le CB_{n}$ for all $n$ a.s., $A_{n}\asymp B_{n}$ means $A_{n}\lesssim B_{n}$ and $B_{n}\lesssim A_{n}$, $A_n\ll B_n$ means $A_n/B_n=o(1)$. All the asymptotics are taken as $n\to\infty$. We follow the convention that $0/0=0$ and $\log(\cdot)$ is taken with respect to base $e$.

Empirical likelihood for ensembles

In this section, we propose and study an EL-based general inference framework that works for generic ensemble learners. We begin by introducing the basic setup. Suppose we observe an independent and identically distributed (i.i.d.) sample $(Z_1, \ldots, Z_n)$ of size $n$ taking values in a measurable space $\mathcal{Z}$. For each sample size $n$, let $s = s_n \leq n$ be a positive integer that may grow with $n$. Denote the collection of all possible index sets corresponding to subsamples of $\{1,...,n\}$ of size $s$ by \[ I_n = \left\{ \iota = (i_1, \ldots, i_s) : 1 \le i_1 < \cdots < i_s \le n \right\}. \] Let $Z_{\iota} = (Z_{i_1} \ldots, Z_{i_s}) \in \mathcal{Z}^{s} $ for $\iota\in I_n$, and $(\omega_{\iota})_{\iota \in I_n}\sim \omega$ be i.i.d. additional auxiliary randomness that is independent of $(Z_{\iota})_{\iota\in I_n}$. Consider a real-valued function \[ h_n: \mathcal{Z}^{s} \times \Omega \to \mathbb{R}, \] which is assumed to be symmetric in its first $s$ arguments (without loss of generality). We wish to conduct statistical inference on a scalar parameter: \[ \theta_n = \mathbb{E}\left[h_n(Z_{\iota}, \omega_{\iota})\right]\in\Theta \subset \mathbb{R}. \] Throughout the paper, we assume that $\theta_n$ is uniformly bounded and consider an asymptotic regime in which $s \to \infty$ as $n \to \infty$.

We are particularly interested in the setting where $h_n(Z_{\iota}, \omega_{\iota})$ is some estimator constructed using subsample $Z_{\iota}$ of size $s$ and auxiliary randomness $\omega_{\iota}$. In the context of random forests, $h_n(Z_{\iota},\omega_{\iota})$ is considered as a regression or classification tree estimate for $\theta_n$ based on the subsample $Z_\iota$ of size $s$. In Section (ref) below, our general theory is illustrated for tree-based learners. See e.g. rokach09 for various examples of ensemble learners.

The complete averaging estimator of $\theta_n$ is defined as an infinite-order, generalized (or noisy) $U$-statistic:

equation[equation omitted — 118 chars of source]

In practice, implementing this estimator can be computationally infeasible when $n$ and $s$ are large. Consequently, it is common to approximate the complete average by computing an average over a randomly chosen subset of $I_n$, yielding the incomplete generalized $U$-statistic:

equation[equation omitted — 130 chars of source]

where $\{\rho_{\iota}\}_{\iota \in I_n}$ is an i.i.d.\ sequence of Bernoulli random variables (independent of $\mathcal{Z}$) indicating which subsamples are selected, and $B_n = \sum_{\iota \in I_n} \rho_{\iota}$ denotes the total number of selected subsamples.

In the terminology of $U$-statistics, (ref) and (ref) are referred to as the complete and incomplete $U$-statistics, respectively. The theoretical analysis of the incomplete $U$-statistics is more intricate, primarily because the estimator $\widehat{\theta}_n = \widehat{\theta}_n(Z_1, \ldots, Z_n,(\omega_\iota)_{\iota\in I_n})$ is not necessarily symmetric in its arguments.

We now construct an EL function for the parameter $\theta_n$. Intuitively, we aim to adapt the jackknife EL approach of jing2009jackknife. To illustrate, suppose we were to implement this jackknife EL using the complete $U$-statistic $\check{\theta}_n$ defined in (ref). For each $i=1,\ldots,n$, we may define its leave-one-out counterpart as

equation*[equation* omitted — 139 chars of source]

We then consider the corresponding contrasts for each $\theta\in\Theta $ \[ \check S_n(\theta) = \check{\theta}_n - \theta, \qquad \check S_n^{(i)}(\theta) = \check{\theta}_n^{(i)} - \theta,\quad i=1,...,n, \] and construct the jackknife pseudo-values \[ \check V_n^{(i)}(\theta) = n\check S_n(\theta) - (n-1)\check S_n^{(i)}(\theta), \] $i=1,...,n$. By treating the jackknife pseudo values as individual observations, one can form the EL function following the original recipe of Owen1988: \[\check \ell(\theta) = -2 \sup_{w_1,\ldots,w_n} \sum_{i=1}^n \log(n w_i) \quad \text{subject to} \quad w_i \geq 0,\ \sum_{i=1}^n w_i = 1,\ \sum_{i=1}^n w_i\, \check V_n^{(i)}(\theta) = 0. \] However, as noted in the introduction, a direct application of this jackknife EL is generally infeasible in the settings of random forests or other ensembles. The underlying $U$-statistics are incomplete: computing the complete $U$-statistic is almost always computationally prohibitive, even under moderate sample sizes, and doing so for the corresponding leave-one-out estimators is even less realistic.

To address this issue, we adopt the jackknife-after-subsampling to form our jackknife pseudo-values, which then serve as the basis for constructing the EL function. Given a realization of the sampling indicators $\{\rho_\iota\}_{\iota \in I_n}$, let $I_{1n} = \left\{ \iota \in I_n : \rho_\iota = 1 \right\}$ be the collection of subsample indices selected by $\rho_\iota$. For each $i \in \{1, \dots, n\}$, define \[ I_{1n}^{(i)} = \left\{ \iota \in I_{1n} : i \notin \iota \right\}, \] that is, $I_{1n}^{(i)}$ consists of all selected subsamples that do not involve the $i$-th observation. To conduct inference on $\theta_n$, for each $\theta\in\Theta$, define the contrast $S_n(\theta) = \widehat{\theta}_n - \theta$ and its leave-one-out analogue \[ S_n^{(i)}(\theta) = \frac{1}{B_{n}^{(1)}} \sum_{\iota \in I_{1n}^{(i)}} h_n(Z_\iota, \omega_\iota)-\theta, \] where $B_{n}^{(1)}=\frac{n-s}{n}B_n$. Then for $i=1,\ldots,n$, the jackknife pseudo-values are given by \[ V_n^{(i)}(\theta) = n S_n(\theta) - (n-1) S_n^{(i)}(\theta). \] Observe that the proposed jackknife pseudo-values are computationally straightforward, as they depend only on the $B_n$ regression trees that have already been constructed for estimating the random forest $\widehat \theta_n$. Moreover, the denominator term $B_n^{(1)}$ in $S_n^{(i)}$ does not involve heterogeneous sample sizes and is identical for all $S_n^{(i)}$, $i = 1,\ldots,n$.

Using these pseudo-values as estimating equations, our EL function for $\theta_n$ is constructed as \[ \ell(\theta) = -2 \sup_{w_1, \ldots, w_n} \sum_{i=1}^n \log(n w_i) \quad \text{subject to} \quad w_i \geq 0, \quad \sum_{i=1}^n w_i = 1, \quad \sum_{i=1}^n w_i V_n^{(i)}(\theta) = 0. \] Although this optimization involves $n$ weights $\{w_i\}$, its dual form can be derived via the method of Lagrange multipliers. The resulting expression is:

equation[equation omitted — 127 chars of source]

where $\lambda$ is the Lagrange multiplier associated with the estimating equation constraint. Algorithm (ref) below summarizes its implementation.

algorithm[algorithm omitted — 2,205 chars of source]

Hereafter, for notational convenience, we recenter the kernel so that $\theta_n = 0$. Denote \( \zeta_{n,s} = \mathbb{V}\left(h_n(Z_{1},\ldots,Z_{s},\omega)\right) \) for the variance of the kernel, and \( \zeta_{n,1} = \mathbb{V}\left(\mathbb{E}\big[h_n(Z_{1},\ldots,Z_{s},\omega)\mid Z_1\big]\right), \) the variance of its first--order projection. To analyze the asymptotic behavior of the jackknife EL statistic $\ell(\theta_n)$, we impose the following assumptions.

assumptionConsider the setup of this section and assume that \begin{description} • there exist positive constants $C$ and $c$ such that $\mathbb{E}[|h_n(Z_{\iota},\omega)|^{6}]\le C < \infty$ and $\zeta_{n,s} \ge c > 0$ for all $n$; • $\max_{\iota \in I_n}|h_n(Z_\iota,\omega)|=o_p((n\zeta_{n,1})^{1/2})$; • as $n\to\infty$, it holds $s\to\infty$, $s/n \to 0$, and \begin{equation} \frac{s}{n}\frac{\zeta_{n,s}}{s\zeta_{n,1}} =o(1). \end{equation} \end{description}

Assumption (ref) (i) is on moments of the $U$-statistic kernel $h_n(Z_\iota,\omega)$. The boundedness condition in Assumption (ref) (ii) is imposed to derive a quadratic expansion for the EL statistic. Assumption (ref) (iii) is on our asymptotic framework. The subsample size $s$ grows at a slower rate than $n$, and the variance ratio $\zeta_{n,s}/s\zeta_{n,1}$ needs to be controlled as in ((ref)). The variance ratio condition in ((ref)) is required to apply the central limit theorem for generalized $U$-statistics by \citet*[Theorem 2]{peng2022rates}.

Define the expected subsample size as \( N_n = \mathbb{E}[B_n] = p_n |I_n|\), where \(p_n = \mathbb{P}\{\rho_{\iota} = 1\} \). Since under the current setup, following Bernstein's inequality, \(B_n\) concentrates rapidly around \(N_n\) as \(n\) grows, all asymptotic behavior may be characterized in terms of \(N_n\) in place of \(B_n\). We call the asymptotic regime to be under dense-subsampling asymptotics if

equation[equation omitted — 85 chars of source]

and under sparse-subsampling asymptotics if

equation[equation omitted — 102 chars of source]

Intuitively, dense-subsampling asymptotics arises when \(N_n\) increases sufficiently fast relative to \(n\), whereas sparse-subsampling asymptotics corresponds to settings in which \(N_n\) diverges, but at a slower rate. See Section (ref) for a detailed discussion on the two asymptotic regimes.

The dense-subsampling asymptotics is a crucial condition in the existing variance estimation methods that take into account of the incompleteness of the $U$-statistic structure. For example, a similar condition is employed in peng2021bias to obtain consistency of the infinitesimal jackknife variance estimator.

Under these assumptions, one can establish asymptotic pivotality of the EL statistic.

theoremSuppose that Assumption (ref) holds true. Then under dense-subsampling asymptotics in (ref), we have \[ \ell(\theta_n)\overset{d}{\to}\chi_{1}^{2} \]

For a proof, see Section (ref) in the Appendix.

Based on this theorem, for $\alpha\in[0,1]$, the $100(1-\alpha)\%$ asymptotic confidence region for $\theta_n$ can be constructed as $\{\theta : \ell(\theta) \le \chi^2_{1,\alpha}\}$, where $\chi^2_{1,\alpha}$ is the $(1-\alpha)$-th quantile of the $\chi^2_1$ distribution. This EL confidence region shares desirable properties with the conventional EL confidence region, such as being transformation respecting and having a data decided shape for the confidence region. In addition, it is range preserving in the sense that, if the researcher knows that $\theta_n \ge 0$ (e.g., for a variance or a probability), the EL confidence region respects this constraint and excludes negative values. On the other hand, the Wald-type confidence regions (i.e., $\widehat{\theta}_n\pm 1.96\cdot$se) may contain negative values in finite samples. Also the EL confidence region can be asymmetric around the point estimator $\widehat{\theta}_n$ whose shape is determined by data. For a more detailed account of these properties of EL confidence regions, see Owen1988.

The dense-subsampling asymptotic condition in ((ref)), which requires $N_n$ to grow sufficiently fast relative to the variance ratio $\zeta_{n,s}/\zeta_{n,1}$, is crucial for ensuring the asymptotic pivotality of $\ell(\theta_n)$. However, satisfying this condition can be computationally demanding or even infeasible in large samples, as $N_n$ must increase at a faster rate with $n$. In practice, moderate violations are common, and inference procedures that rely on this condition often exhibit over-coverage in finite-samples. This issue is not specific to our EL procedure; other variance estimation approaches, such as the jackknife and infinitesimal jackknife methods are also prone to similar finite sample distortions.

Alternative asymptotics and modified empirical likelihood

As previously discussed, the EL-based procedure introduced in Section (ref) can be overly conservative in finite samples. In this section, we propose and analyze a modified EL inference procedure for generic ensemble learners by first introducing an alternative asymptotic framework to understand the over-coverage property of the EL statistic, and then develop a modified statistic to achieve better coverage.

In order to grasp the intuition behind the over-coverage problem, it is insightful to consider Hoeffding's decomposition for the generalized $U$-statistics following peng2022rates:

align[align omitted — 451 chars of source]

where $(n,j)=\{(i_{1},\ldots,i_{j}):1\le i_{1}<\ldots<i_{j}\le n\}$ and $h^{(j)}_n(Z_{i_{1}},\ldots,Z_{i_{j}},\omega_{\iota})$ is the $U$-statistic kernel for $j$-th order Hoeffding projection--see Equation (ref) in the Appendix for its formal definition. Note that the term $\tilde{U}_{n}$ is due to incompleteness of the $U$-statistic. The key condition in ((ref)) guarantees that $\tilde{U}_{n}$ is asymptotically negligible, which corresponds to the dense-subsampling asymptotics-- for mathematical details, see Lemma (ref) in the Appendix. However, in practice, the expected number of ensembles $N_n$ may be relatively small so that (ref) is less plausible and the contribution from $\tilde{U}_{n}$ can be non-negligible. To achieve better approximation in this scenario, we consider the alternative asymptotic framework where both $U_{n}$ and $\tilde{U}_{n}$ match at the same order and modify the EL statistic to accommodate the contribution associated with $\tilde{U}_{n}$, that is, the sparse-subsampling asymptotics defined in ((ref)).

We propose the following modification to our jackknife pseudo values for the EL statistic

equation[equation omitted — 247 chars of source]

where $\widehat{\mathcal{V}}_{1}=\frac{1}{n}\sum_{i=1}^{n}V_{n}^{(i)}(\widehat{\theta}_{n})^{2}$, $\widehat{\mathcal{V}}_{2}=\frac{n(s-1)}{B_{n}}\widehat{\zeta}_{n,s}$, and \[ \widehat{\zeta}_{n,s}=\frac{1}{B_n}\sum_{\iota \in I_{1n}} h_n(Z_\iota,\omega_\iota)^2-\widehat\theta_n^2 \] is the sample counterpart of $\zeta_{n,s}$. The term $\widehat{\mathcal{V}}_{2}$ is an additional component to internalize the influence from the term $\tilde{U}_{n}$ in (ref). Based on this modified jackknife pseudo values, our modified EL function can be defined as

equation[equation omitted — 124 chars of source]

An implementation is summarized in Algorithm (ref) below.

algorithm[algorithm omitted — 2,544 chars of source]

To study the property of our inference procedure under the sparse-subsampling asymptotics in ((ref)), we add the following assumption.

assumption$\|\mathbb{E}[h_n(Z_1,...,Z_s,\omega)^2|Z_1]\|_\infty=o\left(\frac{n}{s}\right)$ a.s.

Intuitively this assumption is used to control the covariance of $U_n$ and $\tilde{U}_n$ in (ref)--see Lemma (ref) in the Appendix for details. Under this assumption, the asymptotic distributions of the EL and modified EL statistics under both dense- and sparse-subsampling asymptotics are obtained as follows.

theoremSuppose that Assumptions (ref) and (ref) hold true, and as $n\to\infty$, it holds $N_n\to\infty$. Then under both dense- and sparse-subsampling asymptotics, i.e. \begin{equation} \frac{n}{N_n}\frac{\zeta_{n,s}}{s\zeta_{n,1}} \to C_* \in [0,\infty), \end{equation} we have \begin{align*} {\rm (i):}\quad & \ell(\theta_n)\overset{d}{\to} (1+C_*)^{-1}\chi_{1}^{2}, \\ {\rm (ii):}\quad & \tilde{\ell}(\theta_n)\overset{d}{\to}\chi_{1}^{2}. \end{align*}

For a proof, see Sections (ref) and (ref) in the Appendix.

Since $C_*\ge0$, if we use the $\chi_1^2$ critical value for the EL statistic $\ell(\theta)$, the resulting EL confidence region $\{\theta:\ell(\theta)\le\chi_{1,\alpha}^{2}\}$ will exhibit over-coverage. On the other hand, the modified EL statistic $\tilde{\ell}(\theta_n)$ restores asymptotic pivotality and admits the calibration by the $\chi_1^2$ critical value.

The modification in (ref) targets the efron1981jackknife-type bias of the jackknife-after-subsampling variance, which overestimates the contribution of the highest-order term by $s-1$. For genuine finite-order $U$-statistics with fixed $s$, this higher-order bias is asymptotically negligible; however, in random-forest asymptotics where $s\to\infty$, the inflation can become non-negligible and even substantial under sparse-subsampling regimes. Similar Monte Carlo bias corrections are also proposed in wager2014confidence for bagging, but they focus on the variance estimation rather than distributional approximation.

At first glance, this adjustment may also appear similar to the modification of matsushita2021jackknife for finite-order $U$-statistics, as both approaches alter the curvature of the jackknife pseudo-values around $\widehat{\theta}_n$. Yet the underlying mechanisms differ markedly. In several settings considered by matsushita2021jackknife--such as link-formation probability estimation in sparse networks--the second-order Hoeffding projection remains asymptotically normal and of the same order as the H\'ajek projection, while the jackknife variance overestimates the variance of this second order component by a factor of $2$ \citep*{efron1981jackknife}. Their correction therefore focuses on this double-counting, implemented through leave-two-out estimators. In contrast, under the CLT condition in (ref), all of our Hoeffding projections of orders $2,\dots,s-1$, and the corresponding jackknife variance components, are asymptotically negligible under both dense- and sparse-subsampling asymptotics.\footnote{Moreover, these higher-order projections need not be asymptotically normal, so a na\"ive adaptation of the matsushita2021jackknife modification would lack theoretical justification in the present setup, aside from imposing a substantial computational burden.} Under the sparse subsampling asymptotics, the $s$-th order projection remains asymptotically normal, but its contribution is overestimated by a factor of $s$, an inflation that can be severe when $s$ is large. Our modification directly corrects this jackknife bias without requiring leave-more-out estimators.

Application to honest random forests

Thus far, the theoretical results for both the EL and modified EL procedures have been developed under high-level, general conditions applicable to generic ensemble learners. In this section, we derive low-level sufficient conditions specialized to the honest random forests of wager2018estimation and provide validity for modified EL-based inference.

We first state a useful result for generic tree-based learners. For $h_n$ consists of tree-based learners, it is shown in Lemma (ref) below that Assumption (ref) below is a sufficient condition for both Assumptions (ref) (ii) and (ref).

assumptionAssume that \( \zeta_{n,1}\ge C/n^{1-2/q} \) for some constant $C>0$ independent of $n$, $\mathbb{E}[|Y_{1}|^{q}]<\infty$ for a $q>4$, and the kernel $h_n$ takes the form of $h_n(Z_{1},...,Z_{s},\omega_{1...s})=\sum_{i=1}^{s}S_{i}Y_{i}$ with some $S_i=S_i(Z_{1},...,Z_{s},\omega_{1...s})$ such that $\sum_{i=1}^{s}S_{i}=1$ and $\frac{1}{2k-1}\le S_{i}\mathbb{I}\{S_{i}\ne0\}\le\frac{1}{k}$ for a fixed $k$.
lemmaUnder Assumption (ref), it holds that \(\max_{\iota\in I_n}|h_n(Z_\iota,\omega)|=o((n\zeta_{n,1})^{1/2})\) a.s. In addition, if $s\lesssim n^{1-2/q}$, then it holds $\|\mathbb{E}[h_n(Z_1,...,Z_s,\omega)^2|Z_1]\|_\infty=o\left(n/s\right)$ a.s.

For a proof, see Section (ref) in the Appendix.

The following defines the honesty condition for trees as introduced in wager2018estimation.

assumption[Honesty] A tree trained on a training sample $\{Z_1,...,Z_s\}$ is honest if for each $i\in\{1,...,s\}$, it only uses the response $Y_i$ to predict the within-node outcome or to decide where to place the splits, but not both.

wager2018estimation provide examples of honest trees. One popular example is the double-sample tree, which achieves honesty by randomly dividing its training subsample into two halves $\mathcal I$ and $\mathcal J$. Then it uses $\mathcal J$-sample to place the tree splits while holding out the $\mathcal I$-sample to do within-node prediction. The following provides a low-level sufficient condition for asymptotic theory for modified EL implemented with honest random forests.

theorem[modified EL for honest random forest] Suppose that we observe an i.i.d. training example $Z_i = (X_i, Y_i) \in [0, 1]^d \times \mathbb{R}$ with $\mathbb{E}[|Y|^q]<\infty$ for some $q>6$. Further assume that the features satisfy $X_i \sim \mathrm{Unif}([0, 1]^d)$, $ \mu(x)=\mathbb{E}[Y | X = x]$ and $ \mathbb{E}[Y^2 | X = x]$ are Lipschitz continuous, $\mathbb{V}(Y |X = x) > 0$, and $\mathbb{E}[|Y - \mu(x)|^{2} | X = x] \leq M$ for some $M > 0$, uniformly over $x \in [0, 1]^d$. Define the following properties for a regression tree. \begin{enumerate} • {\bf Random-split} in the sense that, at every step of the tree-growing procedure, marginalizing over the auxiliary randomness $\omega$, the probability that the next split occurs along the $j$-th feature is bounded below by $p/d$ for some $0 < p \leq 1$, for all $j = 1, \ldots, d$. • {\bf $\alpha$-regular} in the sense that each split leaves at least a fraction $\alpha$ of the available training examples on each side of the split and, moreover, the trees are fully grown to depth $k$ for some fixed $k \in \mathbb{N}$, i.e., there are between $k$ and $2k - 1$ observations in each terminal node of the tree. • {\bf Symmetric} in the sense that the (possibly randomized) output of the predictor does not depend on the order ($i = 1, 2, ...$) in which the training data are indexed. \end{enumerate} For any given $x_0\in [0,1]^d$, let $h_n$ denote an honest, $\alpha$-regular ($\alpha \leq 0.2$), symmetric, and random-split tree based on a sample of size $s$, estimating $\theta_0 = \mu(x_0)$. Let $\widehat{\theta}_n$ be the estimator of $\theta_0$ obtained from a random forest constructed using these regression trees, each trained on a subsample of size $s$. Finally, suppose that \( s =s_n\asymp n^{\beta} \) for some \[ \beta_{\min} := 1 - \left( 1 + \frac{d}{p} \frac{\log(\alpha^{-1})}{\log((1 - \alpha)^{-1})} \right)^{-1} < \beta < 1-\frac{2}{q}. \] Then Assumptions (ref)-(ref) are satisfied. Therefore, under both dense-subsampling and sparse-subsampling asymptotics, it holds \[ \tilde{\ell}(\theta_0)\overset{d}{\to}\chi_{1}^{2}. \]

For a proof, see Section (ref) in the Appendix.

Typically, the object of interest is the conditional expectation rather than the mean of the regression trees. In such a case, we may use $\theta_0 = \mu(x_0)$ in place of $\theta_n$ in the modified EL function $\tilde \ell(\cdot)$, owing to the bias bound established in wager2018estimation.

Although Theorem (ref) builds on our Theorem (ref), we benefited from several theoretical properties of honest trees established in wager2018estimation. The regularity conditions imposed are nearly identical to those in wager2018estimation, except that our Theorem (ref) additionally requires the existence of a higher-order \( q \)-th moment and imposes a slightly stronger restriction \( \beta < 1 - \frac{2}{q} \) in place of their condition \( \beta < 1 \). Moreover, unlike their analysis, which is based on complete $U$-statistics, our result explicitly accommodates the incompleteness of random forests and quantifies the effect of varying degrees of subsampling-induced incompleteness.

It is also worth noting that, under the conditions of Theorem (ref), wager2018estimation yields

align[align omitted — 164 chars of source]

Thus, at least theoretically, dense--subsampling asymptotics can be ensured by taking \(N_n \gg n(\log n)^d\) regardless of the order of $s$. In finite samples, however, the left-hand side of (ref) may remain non-negligible even when \(N_n\) satisfies this growth condition. For this reason, we recommend using modified EL over EL to conduct statistical inference in practice.

Simulation studies

We conduct a series of simulation studies to evaluate the finite-sample performance of the proposed method under both linear and non-linear data-generating processes (DGPs). Throughout the simulations, we generate $d = 6$ predictors independently as each $X_j \sim \mathrm{Unif}(0,1)$, and assess pointwise inference accuracy at the representative evaluation point $x_0 \in \{0.4, \ldots, 0.4\}$. The sample size $n$ and subsample size $s$ vary across designs to examine the effect of dimensionality and subsampling density on estimation and coverage. All results are averaged over $2,000$ replications.

The first DGP, denoted MLR, represents a well-specified linear model: \[ Y = 2X_1 + 3X_2 - 5X_3 - X_4 + 1 + 2\varepsilon, \qquad \varepsilon \sim \mathcal{N}(0,1), \] with the errors generated independently from the predictors. This design provides a baseline where the model structure aligns with the common linear models, allowing us to benchmark the performance in the absence of more complex nonlinearity.

To investigate robustness in more nonlinear settings, we consider a non-linear design, denoted MARS, following the spirit of friedman1991multivariate: \[ Y = \sin\!\big(\pi X_1 X_2\big) + 2\,(X_3 - 0.05)^2 - X_4 + 0.5 X_5 + 2\varepsilon, \qquad \varepsilon \sim \mathcal{N}(0,1), \] with the errors generated independently from the predictors. This design introduces strong interactions and local nonlinearity while maintaining moderate noise, providing a challenging environment for evaluating both flexibility and inferential validity. In both scenarios, $X_6$ is excluded from the DGPs. Together, the MLR and MARS settings span two representative regimes--parametric and non-parametric--highlighting how the proposed inference procedure adapts across smoothness and structural complexity.

Random forest predictions at $x_0$ are obtained using the grf regression forest, with $N_n = \mathbb{E}[B_n] = \lceil (10n)^{\alpha} \rceil$, where $\alpha$ controls the effective number of trees. Each tree is trained on a subsample of size $s = \lceil n^{0.8} \rceil$, allowing us to examine the effect of the forest size $N_n$ on inference accuracy. During tree construction, the number of features considered at each split is set to mtry $= d/2$ and hence the estimation and prediction correspond to random forests breiman2001random rather than bagging breiman1996bagging. To minimize the bias, which is important for statistical inference and hypothesis testing, the terminal node size is fixed at min.node.size $=1$, and the honesty option is enabled (honesty $=$ TRUE). All hyperparameters are held constant across competing methods to ensure that differences in performance reflect only inferential, rather than tuning, variation.

Inference procedures considered in the simulations include the following four alternatives: (i) Wald-test based on the infinitesimal jackknife (IJ) variance for random forests, computed via the predict function with estimate.variance $=$ TRUE; (ii) Wald-test based on leave-one-out jackknife variance $V_J$; (iii) test based on the (unmodified) empirical likelihood (EL) proposed in Section (ref); and (iv) the modified empirical likelihood (mEL) proposed in (ref). Simulation results are reported for sample sizes $n = 200, 400, 800$, under two regimes for the number of trees: Large $N$ with $\alpha = 1.2$ and Small $N$ with $\alpha = 1.1$. These designs are intended to represent dense-subsampling asymptotics and sparse-subsampling asymptotics, respectively, and allow us to examine how the choice of $N_n$ affects the finite-sample behavior of the corresponding inference procedures.

Across all DGPs, the Wald test based on IJ variance exhibits notable size distortion in finite samples. In our simulation design, this oversize problem persists even as the sample size increases. By contrast, the jackknife variance-based Wald test and the (unmodified) EL procedure both achieve valid, though conservative, size control--particularly under the small-$N$ configurations. Overall, the modified EL delivers the most stable finite sample performance across designs and sample sizes, attaining coverage rates close to the nominal level even in sparse-subsampling regimes.

figure[figure omitted — 389 chars of source]