Imagine you run a feature attribution method like SHAP or LIME on a complex neural network predicting patient outcomes. The algorithm outputs a score: Feature A has an importance of 0.45, while Feature B has an importance of 0.12. Naturally, you conclude that Feature A is more critical. But is that difference actually meaningful, or is it merely an artifact of random sampling and data noise?
Traditional post-hoc interpretability tools provide heuristic point estimates—single numbers that rank features without any measure of uncertainty. This lack of statistical rigor makes it impossible to distinguish true predictive signals from background noise, posing severe risks in high-stakes domains like healthcare or finance.
To bridge this gap, a major research direction focuses on integrating classical statistical inference with machine learning interpretability. By transforming feature attribution from qualitative heuristics into rigorous hypothesis testing, this approach allows practitioners to determine whether an explanatory feature is truly significant.
The Instability of Heuristic Scores
Why do standard explanations fail the rigor test? Many local explanation methods rely on stochastic sampling around a specific data point to probe a model's behavior. As Hooker et al. demonstrate in S-LIME: Stabilized-LIME for Model Explanation, this sampling process introduces significant variance, causing the explanation to change every time it is run. Without a statistical framework, users cannot tell if a feature's high ranking is a genuine property of the model or a fluke of the sampling run.
Similarly, global importance metrics often suffer from a lack of error bars. As noted by Gao et al. in Lazy Estimation of Variable Importance for Large Neural Networks, computing reliable importance metrics across large neural networks typically requires computationally prohibitive retraining, forcing practitioners to rely on ungrounded heuristics that fail to communicate statistical uncertainty.
Frequentist Inference: Constructing Confidence Intervals and P-Values
To turn an importance score into a statistically valid claim, researchers must derive the asymptotic distribution of the importance estimator. Knowing how the estimator behaves as the sample size grows allows for the calculation of standard errors, confidence intervals, and p-values.
For instance, Williamson et al. developed a nonparametric framework in Efficient nonparametric statistical inference on population feature importance using Shapley values that derives the asymptotic distribution for population-level Shapley values. This allows practitioners to place "error bars" around game-theoretic explanations. To handle highly correlated features, which often dilute traditional attribution scores, Chen et al. introduced Flow-Disentangled Feature Importance, leveraging generative flow matching alongside semiparametric inference to output valid p-values.
Other approaches frame feature importance directly as a hypothesis test against a null distribution. Mandel et al. propose a permutation-based framework in Permutation-Based Hypothesis Testing for Neural Networks to explicitly compute p-values for neural network features. Meanwhile, Teneggi et al. show in SHAP-XRT: The Shapley Value Meets Conditional Independence Testing that Shapley values can mathematically bound the p-values of conditional independence tests, giving game-theoretic attributions a direct statistical interpretation where scores near zero represent a lack of evidence rather than proof of irrelevance.
Controlling False Discoveries and Double-Dipping
When evaluating hundreds or thousands of features (such as genes or image concepts), testing each feature independently explodes the rate of false positives due to the multiple testing problem. To combat this, researchers adapt the Knockoff Filter framework to machine learning explanations.
The core intuition of a knockoff filter is to generate synthetic "decoy" features that mimic the correlation structure of the original features but are known to be independent of the target variable. By comparing the model's response to real features versus their knockoff counterparts, the framework can enforce a strict bound on the False Discovery Rate (FDR).
Xu et al. applied this to computer vision in Statistically Significant Concept-based Explanation of Image Classifiers via Model Knockoffs, ensuring that only statistically significant human concepts are used to explain image classifiers. Similarly, Li et al. utilized this in Knockoff-ML: a knockoff machine learning framework for controlled variable selection and risk stratification in electronic health record data to provide a rigorous stopping rule for clinical feature selection in electronic health records.
Another major statistical hazard is "double-dipping"—using the same data to both discover an important feature (like a salient subgraph in a Graph Neural Network) and test its significance. Nishino et al. address this in Statistical Test for Saliency Maps of Graph Neural Networks via Selective Inference by using Selective Inference (SI). By conditioning the statistical test on the selection event itself, they neutralize selection bias and guarantee valid post-selection p-values.
Bayesian Uncertainty Quantification
While frequentist methods focus on p-values and false discovery rates, Bayesian approaches treat feature importance itself as a random variable, capturing the full posterior distribution of a feature's impact.
In Towards a Unified Framework for Uncertainty-aware Nonlinear Variable Selection with Theoretical Guarantees, Deng et al. treat nonlinear models as featurized Gaussian Processes. This allows them to extract a full posterior distribution of feature importance rather than a single point estimate, enabling practitioners to calculate the exact probability that a variable's importance exceeds a specific threshold.
This concept is extended to game-theoretic explanations by Chau et al. in Explaining the Uncertain: Stochastic Shapley Values for Gaussian Process Models, which introduces stochastic Shapley values to visualize how confident a model is in its own explanations. Furthermore, Liu et al. present Full Bayesian Significance Testing for Neural Networks, bringing formal Bayesian evidence measures to deep learning models at both the population and individual instance levels without requiring intractable mathematical derivations.
By shifting the paradigm from heuristic rankings to formal statistical inference, this research direction ensures that model explanations are not merely visually or intuitively appealing, but mathematically sound. Whether through asymptotic distributions, knockoff filters, or Bayesian posteriors, quantifying uncertainty allows practitioners to confidently separate true predictive signals from random noise.
Key Foundational Work
On Input Selection with Reversible Jump Markov Chain Monte Carlo Sampling (1999) — contributed 1 concept elements to this direction.
Robust Feature Selection by Mutual Information Distributions (2002) — contributed 1 concept elements to this direction.