Skip to main content
QUICK REVIEW

[Paper Review] Efficient nonparametric statistical inference on population feature importance using Shapley values

Brian D. Williamson, Jean Feng|PubMed|Jun 16, 2020
Statistical Methods and InferenceMathematics20 references18 citations
TL;DR

This paper proposes a computationally efficient, nonparametric method for statistical inference on population feature importance using Shapley values. By sampling only Θ(n) feature subsets from n observations, the method achieves asymptotically optimal convergence and enables valid confidence intervals and hypothesis tests, validated through simulations and ICU mortality prediction with consistent results across machine learning models.

ABSTRACT

The true population-level importance of a variable in a prediction task provides useful knowledge about the underlying data-generating mechanism and can help in deciding which measurements to collect in subsequent experiments. Valid statistical inference on this importance is a key component in understanding the population of interest. We present a computationally efficient procedure for estimating and obtaining valid statistical inference on the <b>S</b>hapley <b>P</b>opulation <b>V</b>ariable <b>I</b>mportance <b>M</b>easure (SPVIM). Although the computational complexity of the true SPVIM scales exponentially with the number of variables, we propose an estimator based on randomly sampling only Θ(<i>n</i>) feature subsets given <i>n</i> observations. We prove that our estimator converges at an asymptotically optimal rate. Moreover, by deriving the asymptotic distribution of our estimator, we construct valid confidence intervals and hypothesis tests. Our procedure has good finite-sample performance in simulations, and for an in-hospital mortality prediction task produces similar variable importance estimates when different machine learning algorithms are applied.

Motivation & Objective

  • To develop a computationally feasible method for statistical inference on population-level variable importance in nonparametric settings.
  • To address the exponential computational complexity of exact Shapley value estimation for feature importance.
  • To enable valid confidence intervals and hypothesis tests for population variable importance using asymptotic distribution theory.
  • To generalize existing Shapley-based importance measures beyond parametric assumptions and correlation-induced biases.
  • To demonstrate robust performance across diverse machine learning models and real-world data, such as ICU mortality prediction.

Proposed method

  • Proposes a sampling-based estimator that draws Θ(n) random feature subsets to approximate the true Shapley value-based population variable importance measure (SPVIM).
  • Derives the asymptotic distribution of the estimator, decomposing error into model estimation and subset omission components.
  • Uses the asymptotic distribution to construct valid confidence intervals and hypothesis tests with proper type I error control.
  • Applies the method to arbitrary predictiveness measures V, not restricted to variance explained or parametric models.
  • Employs a skewed sampling distribution that reduces the number of unique subsets below the sample size m = Θ(n) in practice.
  • Implements the method in open-source packages (vimpy in Python, vimp in R) and provides reproducible code on GitHub.

Experimental results

Research questions

  • RQ1Can a computationally efficient estimator be developed for population feature importance using Shapley values that scales favorably with sample size?
  • RQ2Does the proposed sampling-based estimator achieve asymptotically optimal convergence rates despite omitting most feature subsets?
  • RQ3Can valid confidence intervals and hypothesis tests be constructed for SPVIM using the asymptotic distribution of the estimator?
  • RQ4How does the method perform in finite samples across different machine learning models and real-world datasets?
  • RQ5To what extent do SPVIM estimates remain consistent when applied to different predictive models on the same data?

Key findings

  • The proposed estimator converges at an asymptotically optimal rate using only Θ(n) sampled feature subsets, significantly reducing computational cost.
  • The method enables valid statistical inference through asymptotic distribution theory, supporting confidence intervals and hypothesis tests with correct type I error control.
  • In simulations with 200 variables, SPVIM estimates were consistent across different sample sizes and accurately recovered true importance values, including near-zero values for non-predictive features.
  • For ICU mortality prediction, SPVIM estimates remained stable across multiple machine learning models, indicating robustness to algorithmic choice.
  • The number of unique feature subsets used in practice was substantially smaller than the sample size m = Θ(n), due to the skewed sampling distribution.
  • The mean absolute SHAP value was shown to be related to SPVIM under mild conditions, particularly when the predictiveness measure V is convex (e.g., mean squared error).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.