Unrestricted permutation forces extrapolation: variable importance requires at least one more model, or there is no free variable importance
Open accessThe DOI matches its Crossref record; 49 of the 52 references it cites were found in a registry or an index.
Abstract
This paper reviews and advocates against the use of permute-and-predict (PaP) methods for interpreting black box functions. Methods such as the variable importance measures proposed for random forests, partial dependence plots, and individual conditional expectation plots remain popular because they are both model-agnostic and depend only on the pre-trained model output, making them computationally efficient and widely available in software. However, numerous studies have found that these tools can produce diagnostics that are highly misleading, particularly when there is strong dependence among features. The purpose of our work here is to (i) review this growing body of literature, (ii) provide further demonstrations of these drawbacks along with a detailed explanation as to why they occur, and (iii) advocate for alternative measures that involve additional modeling. In particular, we describe how breaking dependencies between features in hold-out data places undue emphasis on sparse regions of the feature space by forcing the original model to extrapolate to regions where there is little to no data. We explore these effects across various model setups and find support for previous claims in the literature that PaP metrics can vastly over-emphasize correlated features in both variable importance measures and partial dependence plots. As an alternative, we discuss and recommend more direct approaches that involve measuring the change in model performance after muting the effects of the features under investigation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures









Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“However, these methods can be misleading when correlations exist between input variables 107,109 .”
From Machine learning in concrete science: applications, challenges, and best practices (2022) · cites this paper as [107]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538 · cited 3×
“Breiman (2001) designed the method specifically for use with random forests and considered out-of-bag (OOB) loss in which variable importance is averaged over trees, measured with that part of the data not used to construct the corresponding tree.”
MethodGreedy function approximation: A gradient boosting machine
Friedman, J. H. (2001) · The Annals of Statistics · doi:10.1214/aos/1013203451 · Cited by 30,731
A Unified Approach to Interpreting Model Predictions
Lundberg, S., & Lee, S.-I. (2017) · arXiv · doi:10.48550/arxiv.1705.07874 · Cited by 23,707 · cited 3×
“Saliency (Simonyan et al., 2013) obtains derivatives with respect to x , while LIME (Ribeiro et al., 2016) approximates this with a LASSO method localized to the point of interest by a kernel; Shapley values can also be used for individual predictions (Lundberg and Lee, 2017).”
BackgroundMethod"Why Should I Trust You?": Explaining the Predictions of Any Classifier
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939778 · Cited by 17,555
Generalized Additive Models: An Introduction with R
Wood, S. N. (2017) · doi:10.1201/9781315370279 · Cited by 13,852
Rudin, C. (2019) · Nature Machine Intelligence · doi:10.1038/s42256-019-0048-x · Cited by 10,561 · cited 1×
“As a consequence, many researchers have suggested methods to “X-ray the black box” in order to provide insight into which input features are important and how they effect predictions; a task so precarious that others have advocated against the practice altogether (Rudin, 2019).”
BackgroundNelsen, R. B. (1999) · Lecture Notes in Statistics · doi:10.1007/978-1-4757-3076-0 · Cited by 7,744
Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps
Simonyan, K., Vedaldi, A., & Zisserman, A. (2013) · arXiv · doi:10.48550/arxiv.1312.6034 · Cited by 5,370 · cited 1×
“Saliency (Simonyan et al., 2013) obtains derivatives with respect to x , while LIME (Ribeiro et al., 2016) approximates this with a LASSO method localized to the point of interest by a kernel; Shapley values can also be used for individual predictions (Lundberg and Lee, 2017).”
MethodTesting Statistical Hypotheses
(2021) · Wiley Series in Probability and Statistics · doi:10.1002/9781119243830.ch12 · Cited by 5,106
Wood, S. N. (2006) · doi:10.1201/9781420010404 · Cited by 4,953
Bias in random forest variable importance measures: Illustrations, sources and a solution
Strobl, C., Boulesteix, A.-L., Zeileis, A., & Hothorn, T. (2007) · BMC Bioinformatics · doi:10.1186/1471-2105-8-25 · Cited by 3,688
Sensitivity analysis for non-linear mathematical models
Sobol, I. M. (1993) · Medical Entomology and Zoology · Cited by 3,310
Conditional variable importance for random forests
Strobl, C., Boulesteix, A.-L., Kneib, T., Augustin, T., & Zeileis, A. (2008) · BMC Bioinformatics · doi:10.1186/1471-2105-9-307 · Cited by 3,254
Gene selection and classification of microarray data using random forest
Díaz-Uriarte, R., & Alvarez de Andrés, S. (2006) · BMC Bioinformatics · doi:10.1186/1471-2105-7-3 · Cited by 2,929
Sensitivity Estimates for Nonlinear Mathematical Models
Sobol, I. M. (1990) · Medical Entomology and Zoology · Cited by 2,806
Goldstein, A., Kapelner, A., Bleich, J., & Pitkin, E. (2015) · Journal of Computational and Graphical Statistics · doi:10.1080/10618600.2014.907095 · Cited by 1,861 · cited 2×
“For a linear model such as (2) with covariates that have the same scale, variable importance can be obtained from the magnitude of covariates; see Gregorutti et al. (2015) and Theorem 1 below for a formal connection to the variable importance measures in Breiman (2001).”
BackgroundMethodFisher, A., Rudin, C., & Dominici, F. (2018) · arXiv · doi:10.48550/arxiv.1801.01489 · Cited by 1,165 · cited 8×
“This paper focusses specifically on permutation methods and variants of it, that can be applied to either the learned model, or the learning algorithm that generated it, in the spirit of staying within the algorithm class (Fisher et al., 2019).”
BackgroundMethodResultInfluentialEmpirical characterization of random forest variable importance measures
Archer, K. J., & Kimes, R. V. (2008) · Computational Statistics & Data Analysis · doi:10.1016/j.csda.2007.08.015 · Cited by 1,123
Counterfactual explanations without opening the black box: automated decisions and the GDPR
Wachter, S., Mittelstadt, B., & Russell, C. (2017) · SSRN Electronic Journal · doi:10.2139/ssrn.3063289 · Cited by 1,061
Distribution-Free Predictive Inference for Regression
Lei, J., G’Sell, M., Rinaldo, A., Tibshirani, R. J., & Wasserman, L. (2018) · Journal of the American Statistical Association · doi:10.1080/01621459.2017.1307116 · Cited by 1,049 · cited 3×
“This leave-one-covariate-out (LOCO) framework is well studied within classical statistical methods, (e.g. Lehmann and Romano (2006)) and suggested more generally in Lei et al. (2018) in the context of conformal inference.”
BackgroundMethodFooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methods
Slack, D., Hilgard, S., Jia, E., Singh, S., & Lakkaraju, H. (2020) · Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society · doi:10.1145/3375627.3375830 · Cited by 900 · cited 2×
“By querying the value of f ( x ) close to the features of interest, these should not suffer from extrapolation; although see Slack et al. (2020) for an example of distorting both SHAP and LIME by modifying f ( x ) when x is not in the feature distribution.”
Panning for Gold: ‘Model-X’ Knockoffs for High Dimensional Controlled Variable Selection
Candès, E., Fan, Y., Janson, L., & Lv, J. (2018) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/rssb.12265 · Cited by 632
Accurate intelligible models with pairwise interactions
Lou, Y., Caruana, R., Gehrke, J., & Hooker, G. (2013) · Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/2487575.2487579 · Cited by 564 · cited 1×
“Lou et al. (2013) and Tan et al. (2018) instead fit a generalized additive model (Wood, 2006) that includes only one-dimensional functions in the right hand side of (1).”
BackgroundSelf-citationControlling the false discovery rate via knockoffs
Barber, R. F., & Candès, E. J. (2015) · The Annals of Statistics · doi:10.1214/15-aos1337 · Cited by 548 · cited 1×
“More recently, Barber et al. (2015) and Candes et al. (2018) developed the “knockoff” framework whereby original features are either swapped out for randomized replacements to test their importance via conditional randomization tests or the feature space is augmented with null copies of the original…”
BackgroundClassification with correlated features: unreliability of feature ranking and solutions
Toloşi, L., & Lengauer, T. (2011) · Bioinformatics · doi:10.1093/bioinformatics/btr300 · Cited by 445
Event labeling combining ensemble detectors and background knowledge
Fanaee-T, H., & Gama, J. (2014) · Progress in Artificial Intelligence · doi:10.1007/s13748-013-0040-3 · Cited by 415
Feature Selection with Ensembles, Artificial Variables, and Redundancy Elimination
Tuv, E., Borisov, A., Runger, G. C., & Torkkola, K. (2009) · Journal of Machine Learning Research · doi:10.5555/1577069.1755828 · Cited by 390 · cited 1×
“This general idea seems to have first been suggested in Strobl et al. (2008) but similar schemes have since appeared in numerous other works including Tuv et al. (2009), where the authors utilize tree ensembles to generate predictively non-redundant feature sets, and Wu et al. (2007) where the…”
ResultNicodemus, K. K., Malley, J. D., Strobl, C., & Ziegler, A. (2010) · BMC Bioinformatics · doi:10.1186/1471-2105-11-110 · Cited by 376 · cited 1×
“Nicodemus et al. (2010) investigates these claims of feature preference in a large scale simulation study and again find that the OOB measures overestimate the importance of correlated predictors.”
BackgroundSobol' Indices and Shapley Value
Owen, A. B. (2014) · SIAM/ASA Journal on Uncertainty Quantification · doi:10.1137/130936233 · Cited by 266 · cited 1×
“Alternative measures of importance include generalizations of Sobol indices (Hooker, 2007) and Shapley values (Owen, 2014; Lundberg and Lee, 2017), although the calculation of these, if not undertaken carefully, can be subject to the same extrapolation bias that we identify here.”
BackgroundIshwaran, H., & Lu, M. (2019) · Statistics in Medicine · doi:10.1002/sim.7803 · Cited by 260 · cited 1×
“Confidence intervals can be calculated in the case of ensemble methods such as random forests by relating them to U -statistics (e.g. Ishwaran and Lu, 2019).”
MethodQuantifying Uncertainty in Random Forests via Confidence Intervals and Hypothesis TestsPreprint
MentchLucas, & HookerGiles (2014) · arXiv (Cornell University) · doi:10.5555/2946645.2946671 · Cited by 240
Generalized Functional ANOVA Diagnostics for High-Dimensional Functions of Dependent Variables
Hooker, G. (2007) · Journal of Computational and Graphical Statistics · doi:10.1198/106186007x237892 · Cited by 220 · cited 7×
“Hooker (2007) proposed a generalization of this expansion to any distribution over the features, with the purpose of avoiding extrapolation.”
BackgroundMethodInfluentialSelf-citationA General Framework for Inference on Algorithm-Agnostic Variable Importance
Williamson, B. D., Gilbert, P. B., Simon, N., & Carone, M. (2022) · Journal of the American Statistical Association · doi:10.1080/01621459.2021.2003200 · Cited by 177
A Debiased MDI Feature Importance Measure for Random ForestsPreprint
Li, X., Wang, Y., Basu, S., Kumbier, K., & Yu, B. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1906.10845 · Cited by 163 · cited 1×
“We note that these methods can also be biassed towards features with more potential split points (Strobl et al., 2007), along with potential corrections in Zhou and Hooker (2019); Loecher (2020); Li et al. (2019).”
MethodGamboa, F., Hal, H. I., & Chastaing, G. (2015) · Cited by 160
Grouped variable importance with random forests and application to multiple functional data analysis
Gregorutti, B., Michel, B., & Saint-Pierre, P. (2015) · Computational Statistics & Data Analysis · doi:10.1016/j.csda.2015.04.002 · Cited by 145
Controlling Variable Selection by the Addition of Pseudovariables
Wu, Y., Boos, D. D., & Stefanski, L. A. (2007) · Journal of the American Statistical Association · doi:10.1198/016214506000000843 · Cited by 134
Chastaing, G., Gamboa, F., & Prieur, C. (2012) · Electronic Journal of Statistics · doi:10.1214/12-ejs749 · Cited by 130 · cited 1×
“Chastaing et al. (2012) modified the estimation technique to include smoothing methods.”
MethodMean decrease accuracy for random forests: inconsistency, and a practical solution via the Sobol-MDA
Bénard, C., da Veiga, S., & Scornet, E. (2022) · Biometrika · doi:10.1093/biomet/asac017 · Cited by 129
Distill-and-Compare: Auditing Black-Box Models Using Transparent Model Distillation
Tan, S., Caruana, R., Hooker, G., & Lou, Y. (2018) · Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society · doi:10.1145/3278721.3278725 · Cited by 125 · cited 4×
“Tan et al. (2018) found that these better represented the over-all behavior of the function than methods based on combining local explanations.”
BackgroundMethodResultInfluentialSelf-citationThe Conditional Permutation Test for Independence While Controlling for Confounders
Berrett, T. B., Wang, Y., Barber, R. F., & Samworth, R. J. (2020) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/rssb.12340 · Cited by 93 · cited 1×
“Recent work by Berrett et al. (2020) presents something of a hybrid approach between these that still utilizes permuted replacement features, but where those permutations are sampled in a non-uniform fashion informed by the conditional distribution.”
BackgroundUnbiased variable importance for random forests
Loecher, M. (2020) · Communication in Statistics- Theory and Methods · doi:10.1080/03610926.2020.1764042 · Cited by 93 · cited 1×
“We note that these methods can also be biassed towards features with more potential split points (Strobl et al., 2007), along with potential corrections in Zhou and Hooker (2019); Loecher (2020); Li et al. (2019).”
MethodFormal Hypothesis Tests for Additive Structure in Random Forests
Mentch, L., & Hooker, G. (2016) · Journal of Computational and Graphical Statistics · doi:10.1080/10618600.2016.1256817 · Cited by 38 · cited 2×
“The particular way in which the muting and testing occurs varies slightly between procedures appearing in the recent literature – Mentch and Hooker (2016, 2017) suggest permuting said features and rebuilding the model, the leave-out-covariates (LOCO) approach in Lei et al. (2018) simply drops them,…”
BackgroundMethodSelf-citationAuto-Encoding Knockoff Generator for FDR Controlled Variable SelectionPreprint
Liu, Y., & Zheng, C. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1809.10765 · Cited by 31 · cited 1×
“Methods that avoid re-learning the response can be based on conditional permutation or simulation, but in general that still requires a model for x ij | x i, − j ; see Liu and Zheng (2018) for recent developments.”
MethodScalable and Efficient Hypothesis Testing with Random ForestsPreprint
Coleman, T., Peng, W., & Mentch, L. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.07830 · Cited by 25 · cited 1×
“Formal hypothesis tests for variable importance in random forests were first proposed in Mentch and Hooker (2016) and an alternative nonparametric test with potential to operate in big-data settings was recently proposed in Coleman et al. (2019).”
BackgroundSelf-citationUnbiased Measurement of Feature Importance in Tree-Based MethodsPreprint
Zhou, Z., & Hooker, G. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1903.05179 · Cited by 16 · cited 1×
“We note that these methods can also be biassed towards features with more potential split points (Strobl et al., 2007), along with potential corrections in Zhou and Hooker (2019); Loecher (2020); Li et al. (2019).”
MethodSelf-citationGetting Better from Worse: Augmented Bagging and a Cautionary Tale of Variable ImportancePreprint
Mentch, L., & Zhou, S. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2003.03629 · Cited by 15 · cited 3×
“For a much more extended discussion on this topic, we refer the reader to Mentch and Zhou (2020).”
BackgroundInfluentialSelf-citationVisualization and exploration of high-dimensional functions using the functional anova decomposition
Roosen, C. B. (1996) · Cited by 11
MDA for random forests: inconsistency, and a practical solution via the Sobol-MDAPreprint
Bénard, C., da Veiga, S., & Scornet, E. (2021) · arXiv (Cornell University) · Cited by 6
MDA for random forests: inconsistency, and a practical solution via the Sobol-MDAPreprint
Bénard, C., da Veiga, S., & Scornet, E. (2021) · INRIA a CCSD electronic archive server · doi:10.48550/arxiv.2102.13347 · cited 1×
“The precise biases that permute-and-predict methods produce will depend on the learning method employed as well as the specifics of the dependence of the features and the response function; see B´enard et al. (2021) for approaches to this analysis.”
Method
Research works printed but not linked: 1
- Tan, S., Caruana, R., Hooker, G., Koch, P., Gordo, A.: Learning global additive explanations for neural nets using model distillation. arXiv preprint arXiv:1801.08640 (2018) · arXiv
Cited by
Interpretable Machine Learning – A Brief History, State-of-the-Art and Challenges
Molnar, C., Casalicchio, G., & Bischl, B. (2020) · Communications in Computer and Information Science · doi:10.1007/978-3-030-65965-3_28 · Cited by 677
Explainable machine learning in deployment
Bhatt, U., Xiang, A., Sharma, S., Weller, A., Taly, A., Jia, Y., Ghosh, J., Puri, R., Moura, J. M. F., & Eckersley, P. (2020) · Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency · doi:10.1145/3351095.3375624 · Cited by 633
Big-Data Science in Porous Materials: Materials Genomics and Machine Learning
Jablonka, K. M., Ongari, D., Moosavi, S. M., & Smit, B. (2020) · Chemical Reviews · doi:10.1021/acs.chemrev.0c00004 · Cited by 599
Explaining by Removing: A Unified Framework for Model Explanation
Covert, I., Lundberg, S., & Lee, S. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2011.14878 · Cited by 116
Machine learning and deep learning—A review for ecologists
Pichler, M., & Hartig, F. (2023) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.14061 · Cited by 454
Metadata
- Authors
- Hooker, G., Mentch, L., & Zhou, S.
- Affiliations
- University of California, Berkeley (US)
- University of Pittsburgh (US)
- Corresponding author
- Hooker, Giles
- Venue
- Statistics and Computing
- Published
- 2021-10-29
- Volume
- 31
- Issue
- 6
- ISSN
- 0960-3174 (ISSN-L)
- 1573-1375
- OpenAlex
- W3209434414
- Cited by
- 264
- References
- 52
- Citations by year
- 2026: 73 · 2025: 51 · 2024: 49 · 2023: 61 · 2022: 28 · 2021: 2
- FWCI
- 12.32
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
- Locations
- Statistics and Computing (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- Directorate for Mathematical and Physical Sciences (1712554, 1712041, 2015400)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Inference
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Keywords
- feature importance, partial dependence plots, individual conditional expectation, random forest, feature dependence, extrapolation, model interpretability, black-box models
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.