Strobl 2008 - Permutation Importance Null Hypotheses

Summary

This note covers the second mechanism. Breiman’s permutation importance is the drop in out-of-bag accuracy after is permuted (Eq. 1). Read as a permutation test, permuting against both and the other predictors is valid under . A positive score therefore signals a departure from this joint null. That departure may come from being related to , or simply from being correlated with , which is irrelevant when the question is predictive relevance. The paper’s alternative permutes only within groups with . This keeps the correlation structure and targets the conditional independence null . When the two schemes agree.

Overview

Permutation importance is the standard model-agnostic importance measure. Its general definition and its extrapolation problem are covered in Hooker Mentch Zhou 2021 - Permute-and-Predict Extrapolation - Overview, which owns that concept in this vault. This note records the tree-wise OOB form used by Strobl et al. and their null-hypothesis reading of it.

Main Content

The original permutation importance (§2.3)

Tree-wise OOB permutation importance (Strobl 2008, §2.3, Eq. 1)

Let be the out-of-bag (OOB) sample of tree . The importance of in tree is

where

  • is tree ‘s predicted class for observation ;
  • is the prediction after permuting , with and a random permutation of the OOB indices;
  • is the indicator function, so each term is OOB classification accuracy.

By definition if is not used in tree .

Forest-level raw permutation importance (§2.3)

Standard software also reports a scaled version (“z-score”): the raw importance divided by its standard error. Because “recent results [16,17]” indicate that the raw importance has better statistical properties, the paper uses only the unscaled raw importance. In the published reference list, [16] is Strobl & Zeileis (2008), “Danger: High Power! – Exploring the Statistical Properties of a Test for Random Forest Variable Importance” (COMPSTAT 2008), and [17] is Diaz-Uriarte & Alvarez de Andrés (2006), “Gene Selection and Classification of Microarray Data Using Random Forest”. Ref. [16] is also the source for the poor properties of the Breiman–Cutler test. It is not Strobl et al. 2007, which is ref. [13].

Regression note. Eq. 1 is written for classification accuracy. The simulation in §2.1 is a regression problem, and the paper says all results apply to regression trees. In that case the accuracy difference is replaced by the increase in OOB mean squared error, which is how party computes it. The paper does not print the regression formula.

Permutation tests as a lens (§2.4, paras. 1-3)

In a permutation test (Permutation Tests and Exact Inference), the null hypothesis says which permutations leave the joint distribution unchanged. For example, under the global null ,

so permuting alters nothing. If the null is false, the permutation changes the joint distribution, or a test statistic computed from it.

The authors then ask which null hypothesis makes the RF permutation scheme valid. Under that null the importance is a random draw from a distribution with mean zero. Any departure from it lowers accuracy, which serves as the test statistic, and so raises the importance.

The two null hypotheses (§2.4, Figure 2)

Figure 2 shows the two schemes. Left: the original marginal scheme, where the column is shuffled against and against all of . Right: the new conditional scheme, where is shuffled only within blocks of observations that share a value (cell) of .

Null hypothesis of the marginal (original) permutation importance (§2.4)

Let . Permuting against both and corresponds to

under which the joint distribution factorizes as

Consequence. A positive importance shows a violation of either part, or . Only the first part matters for whether helps predict .

Remark (not in the paper). “Or equivalently” is looser than it reads. Pairwise independence and does not in general imply joint independence . The factorization is the joint statement, and it is the one the permutation actually tests. The argument goes through as long as the joint version is used.

Null hypothesis of the conditional permutation importance (§2.4)

Permuting only within groups of observations with corresponds to

under which the conditional distribution factorizes as

“which is the definition of conditional independence.” The within-group permutation keeps the empirical dependence between and , so only the – link given is broken.

The stated aim of the conditional measure (§2.4, para. 4)

Of the two ways the marginal null can fail ( or ), only the first matters for predictive relevance. The paper therefore wants “a measure of deviation from the null hypothesis that and are independent under a given correlation structure between and the other predictor variables, that is determined by our data set” (§2.4, para. 4). The correlation structure is taken as given by the observed data, not modelled. Permuting only within groups with is how the paper preserves that structure (right panel of Fig. 2).

Corollary: when the schemes agree and disagree (§2.4, final para.)

  • If , both schemes give the same result. The simulation confirms this for –.
  • If and are correlated, the marginal scheme produces an “apparent increase in the importance of correlated predictor variables”. That increase comes from departures from the uninteresting null .

Proof sketch. Write . A marginal permutation replaces this with , which changes the distribution if either or . A within- permutation replaces it with , which changes the distribution only if . If the fitted model reproduces these distributions, the resulting accuracy drop isolates conditional dependence.

Examples

Oracle linear model: how much each scheme should give (illustrative derivation, not in the paper)

Take the §2.1 design and the true regression function . Replacing with an independent copy raises the expected squared error by

For this is , the same as for . For the oracle model, correlation does not inflate marginal importance. The inflation in forests comes from fitted trees that split on proxies such as (see Strobl 2008 - Correlated Predictor Selection in Tree Ensembles).

Permuting within exact -cells instead gives

For given with equicorrelation 0.9: , and , so . Then and , against 50 for .

Interpretation. Exact conditioning measures the unique information in . It shrinks strongly correlated true drivers well below uncorrelated drivers with the same . The tree-cutpoint grid in Conditional Permutation Importance (Strobl 2008 Algorithm) conditions only coarsely. That may explain why the paper’s conditional scores for come out near those for (the text says “almost equal”; the digitized Fig. 3 medians are 16–31 vs 9–16, so still above) rather than far below them. See ^thm-fig3-readings. This tension comes up again in Strobl 2008 - Discussion, mtry Guidance and Limitations.

Connections

See Also