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.
The "Pregnant Man" Problem: The Extrapolation Trap
As machine learning models become more complex, practitioners increasingly rely on "model-agnostic" tools to interpret which features drive predictions. The most common approach is Permute-and-Predict (PaP): to assess the importance of a feature, its values are shuffled across the test set while keeping the model fixed, and the resulting drop in accuracy is measured.
However, this approach often falls into an extrapolation trap. In real-world datasets, features are rarely independent. Shuffling a feature independently of its correlates creates "impossible" data points. For example, in a model using "Gender" and "Pregnancy Status," independent permutation will eventually force the model to predict outcomes for a "pregnant man." Since such instances were absent during training, the model's prediction in these sparse regions is often a random artifact or a result of extreme extrapolation. These artifacts frequently make correlated features appear much more important than they truly are.
Neural Networks are particularly susceptible to this, exhibiting high variance or "Gibbs effects" when predicting far from the training distribution. As shown in the variance analysis of partial dependence, the instability in these regions leads to misleadingly high importance scores.
Empirical Evidence of Ranking Flips
The consequences of extrapolation are most visible in variable importance rankings. In simulations where features $x_1$ and $x_2$ are highly correlated ($\rho = 0.9$), standard PaP methods often rank them as the most critical features, even when other features have objectively larger underlying effects.
As illustrated above, the transition from independent to correlated features causes a dramatic shift in the importance profile for Random Forests and Neural Networks. While simple linear models are relatively robust to this effect—often giving researchers a false sense of security—black-box models suffer significantly. This "No Free Variable Importance" principle suggests that one cannot accurately explain a complex model using only its output; reliable interpretation requires training "at least one more model" to observe how the system behaves when a feature's information is truly absent.
Beyond Permute-and-Predict: Better Alternatives
To avoid the pitfalls of extrapolation, the authors evaluate several alternatives that involve additional modeling steps:
- Conditional Variable Importance: Replacing a feature with values sampled from its conditional distribution given other features, keeping data within the known distribution.
- Dropped Variable Importance (LOCO): Removing the feature entirely and retraining the model from scratch.
- Permute-and-Relearn: Shuffling the feature in the training set and retraining, forcing the model to learn the feature is useless while maintaining model complexity.
- Condition-and-Relearn: The "gold standard" combining conditional sampling with retraining.
While these methods are computationally more expensive, they provide a much more faithful representation of feature importance in the presence of correlation.
Conclusion and Future Work
The primary challenge for these robust methods is computational cost. Retraining a model for every feature is often unfeasible for high-dimensional datasets. Furthermore, implementing conditional approaches requires accurate estimation of conditional distributions, which is itself a complex task. Future research must bridge the gap between expensive, reliable retraining and cheap, but potentially deceptive, permutation methods.
Summary updated