Model Reliance - Permutation Importance as a U-Statistic
Summary
Model reliance is the factor by which a fixed model’s expected loss grows when is replaced by an independent draw. This breaks its link to but keeps its marginal distribution. Averaging the loss over all off-diagonal row pairings gives , an unbiased U-statistic, proportional to the average over all permutations with fixed points removed. MR differs from algorithm reliance (refit without ), which compares two different models rather than describing one.
Overview
MR is the single-model building block of MCR. It follows Breiman’s (2001) random-forest permutation importance with two changes. It permutes inputs to the whole model, not to each tree on out-of-bag data, so it applies to any model class. It averages over all pairings instead of one random permutation, which makes it a U-statistic with known theory. The link “between permutation-based importance and U-statistics” had, to the authors’ knowledge, “not been previously established” (§3.1, p. 9).
Main Content
Population definition
Definition: Switched loss, original loss, model reliance (§3, pp. 7-8, Eq 3.1)
Let and be independent copies of . For a fixed, prespecified model (as in Hooker 2007):
is the expected loss when is “switched” in from an independent observation. Equivalently, it is the loss when noise renders uninformative of while preserving its marginal distribution.
Scale. means the loss doubles when is scrambled (heavy reliance). means no reliance. is possible but pathological, e.g. a model that treats and as positively correlated when they are negatively correlated (§3, p. 8).
Claim: Models with MR below 1 are typically dominated (§3 p. 8; App A.2 pp. 43-44)
Let , with a model satisfying and best-in-class with . If is continuous in , there is a between and with . If in addition is convex in , then . So any population -Rashomon set containing also contains a model with zero reliance and no worse loss.
Consequence: it is usually precise enough to left-truncate MCR at 1, since “it is often sufficiently precise to conclude that there exists a well-performing model with no reliance on the variables of interest” (§10.1, p. 40). The COMPAS analysis does this (Model Class Reliance - Recidivism Case Study).
Estimators (§3.1)
Definition: U-statistic estimators of MR (Eqs 3.2-3.6, pp. 8-9)
When pairs are too many, use the divide estimator, which swaps halves:
Empirical model reliance is the plug-in ratio
Each of (3.2), (3.3) and (3.5) is unbiased for its estimand. The ratio (3.6) is not exactly unbiased; see the difference version below.
Proposition (stated in text): permutation importance as U-statistic (§3.1 p. 9; App A.3 pp. 44-45)
Let be all permutations of . Breiman’s (2001) approach computes for one random . Then
which is proportional to , with a constant that depends only on . Excluding the observed (fixed-point) pairings is necessary for finite-sample unbiasedness.
Proof (App A.3). The double sum over all permutations has terms, each of the form , and there are only distinct combinations. Exactly permutations put in position , so each combination appears at least times. Since uses up every term, each appears exactly times. Multiplying by removes the diagonal .
Consequences of the U-statistic form (§3.1, p. 9). Under minor conditions, , and are unbiased and asymptotically normal, with finite-sample probabilistic bounds (Hoeffding 1948, 1963; Serfling 1980; DeLong et al. 1988 for an early ML use, with caveats in Demler et al. 2012). These results hold for fixed a priori. Theorem 5 extends them to a bound that is uniform over a sufficiently regularized (^thm-5). That implies a model can be trained and its importance evaluated on the same data. This contrasts with RF out-of-bag VI, where each tree’s VI is computed on held-out data and then aggregated. Sample splitting is “not strictly necessary, depending on the sample size and the complexity of .”
Computation. For linear models costs , not (^thm-prop15).
Ratio versus difference (App A.5)
Definition: Difference-based model reliance (Eq A.4, p. 45)
The paper uses the ratio so that MR is comparable across problems regardless of the scale of . The difference, used by Strobl et al. (2008), Datta et al. (2016) and Gregorutti et al. (2017), has computational advantages:
- its mean, variance and asymptotic distribution follow from U-statistic theory without the delta method;
- it is more stable when is small;
- it can be normalized by for interpretability (as in Williamson et al. 2017);
- the bound results then hold without Assumption 3 (^def-q-difference).
Limitations of existing VI methods; algorithm reliance (§3.2, p. 10)
- Null-hypothesis tests can detect a relationship but do not measure its strength.
- Inclusion by a sparse fitter (e.g. the lasso) does not say how much the variable is relied on.
- Partial dependence plots are hard to read with several variables of interest or with interactions.
- Drop-and-refit (Gevrey et al. 2003) runs the algorithm on all data and again without , then compares losses. That measures the “necessity” of . Comparing the full model with one retrained on alone measures “sufficiency” (Breiman et al. 2001; Breiman 2001).
Definition: Algorithm reliance (AR) (§3.2, p. 10; §9.1)
Empirical algorithm reliance on compares the loss of with the loss of (necessity), or with the loss of (sufficiency). Because it is a function of two models, it “does not measure how much either individual model relies on “. The common element is the fitting algorithm, hence the name.
Other related work (§3.2). Empirical RF-VI studies: Archer & Kimes 2008, Calle & Urrea 2010, Wang et al. 2016. Variants: Strobl et al. 2007, 2008; Altmann et al. 2010; Hapfelmeier et al. 2014. U-statistics for subsampled ensembles: Mentch & Hooker 2016. Mean-decrease-impurity theory: Louppe et al. 2013; Kazemitabar et al. 2017. Zhu et al. (2015) and Gregorutti et al. (2015, 2017) study MR-like quantities only when is the conditional-mean function ; this paper allows arbitrary . Datta et al. (2016) measure how much predictions change under permutation, regardless of the loss.
Examples
MR versus AR in the toy example (§9.1, Fig. 6)
A degree-3 polynomial classifier has on . The model , refit without , has by construction. AR compares with , two different models. MR describes each model separately under a changed data distribution. Details: Model Class Reliance - Toy Example and Bootstrap Coverage Simulations.
Computing by hand,
Rows for . averages the 6 losses for . Each row’s is paired with the other two rows’ . One random permutation (Breiman) uses only 3 of these pairings, possibly including a fixed point.
Connections
- Extrapolation. Switching independently of creates pairs that may never occur. MR evaluates off the data support, which Hooker Mentch Zhou 2021 - Permute-and-Predict Extrapolation - Overview identifies as the main failure of permute-and-predict. The paper’s own remedy is conditional MR (^def-cmr).
- Permutation inference. A permutation test uses permutations to build a null distribution (Permutation Tests and Exact Inference). MR uses them to build a perturbed loss. Both rely on exchangeability of rows.
- Global sensitivity analysis. MR is close to a “total effect” sensitivity index evaluated through the loss rather than the output variance; compare Variance-Based Sensitivity and Sobol Indices.
- Bias of tree-internal importances. Strobl et al 2007 - Bias in RF Variable Importance - Overview.
See Also
- Model Class Reliance - Outer and Inner Finite-Sample Bounds: uniform-in- MR error bound
- Strobl et al 2008 - Conditional Variable Importance - Overview: conditional permutation within strata
- Fisher Rudin Dominici 2019 - Model Class Reliance - Overview
- Strobl 2008 - Permutation Importance Null Hypotheses — model reliance is the population analogue of Strobl’s Eq. 1