Introduction
In the "black box" paradigm of machine learning, tools like Partial Dependence Plots (PDP) and Permutation Feature Importance (PFI) have become standard for interpreting complex models. However, these methods traditionally describe a specific trained model rather than the underlying phenomenon—the Data Generating Process (DGP). For researchers using ML to draw scientific conclusions, this distinction is critical. A "bump" in a PDP might reflect a true physical relationship or merely be an artifact of training noise in a single model fit.
This paper bridges the gap between ML interpretability and statistical inference by formalizing PD and PFI as estimators of the DGP. The authors introduce "learner-based" versions of these methods that account for model variance, providing corrected confidence intervals to prevent the over-interpretation of model-specific artifacts.
Formalizing Learner Uncertainty
The authors distinguish between two types of uncertainty in interpretability:
- Model-PD/PFI: Uncertainty arising from Monte Carlo integration (sampling points for a fixed model).
- Learner-PD/PFI: Uncertainty arising from the training process itself (how interpretations change with different training data).
To capture learner uncertainty, the authors advocate for model refitting—training the model multiple times on resampled versions of the data. They introduce a variance correction term ($c = n_2/n_1$, where $n_2$ is the test set size and $n_1$ is the training size) to produce "honest" confidence intervals. In simulations, this corrected approach improved coverage of the true DGP relationship from as low as 27% (using naive methods) to over 90%.
Feature Importance and Ranking
Interpretations are essentially random variables that depend on the training set. By treating them as such, the "Learner-PFI" approach provides a more robust ranking of feature relevance.
In the UCI Heart Disease dataset, the Learner-PFI sometimes changed the ranking of features compared to a single-model fit. This suggests that some features deemed "important" by a single model might simply be "lucky winners" of training noise rather than robust predictors of the underlying signal.
Smoothing Artifacts in Partial Dependence
A single model fit can often show spurious interactions or non-linearities. The Learner-PDP averages across many refits, smoothing out these artifacts to provide a clearer view of the underlying signal.
For example, in the Heart Disease application, a single-model PDP showed a strange "bump" (or dip) in risk around age 55. The Learner-PDP approach revealed that this was likely an artifact of the model fitting process. By smoothing these fluctuations, researchers can more confidently identify robust trends, such as the general increase in risk with age shown in the plot.
Conclusion and Limitations
While the learner-based approach provides more reliable interpretations, it comes with a higher computational cost due to the requirement of refitting models multiple times (typically 15-20). Furthermore, the theory assumes the learner is relatively unbiased; if the model class is too simple to capture the true process, the interpretations will remain biased regardless of the variance correction. Despite these challenges, grounding interpretability in the DGP is a vital step toward making machine learning a more reliable tool for scientific discovery.
Summary updated