SHAP-XRT: The Shapley Value Meets Conditional Independence Testing

Jacopo Teneggi, Beepul Bharti, Yaniv Romano, Jeremias Sulam
7/14/2022
12 citations
cs.LG

No official code found. Best implementation: Sulam-Group/SHAP-XRT (6 stars, Python, last commit 2023-12-15).

Abstract

The complex nature of artificial neural networks raises concerns on their reliability, trustworthiness, and fairness in real-world scenarios. The Shapley value -- a solution concept from game theory -- is one of the most popular explanation methods for machine learning models.

Show full abstract

More traditionally, from a statistical perspective, feature importance is defined in terms of conditional independence. So far, these two approaches to interpretability and feature importance have been considered separate and distinct. In this work, we show that Shapley-based explanation methods and conditional independence testing are closely related. We introduce the SHAPley EXplanation Randomization Test (SHAP-XRT), a testing procedure inspired by the Conditional Randomization Test (CRT) for a specific notion of local (i.e., on a sample) conditional independence. With it, we prove that for binary classification problems, the marginal contributions in the Shapley value provide lower and upper bounds to the expected $p$-values of their respective tests. Furthermore, we show that the Shapley value itself provides an upper bound to the expected $p$-value of a global (i.e., overall) null hypothesis. As a result, we further our understanding of Shapley-based explanation methods from a novel perspective and characterize the conditions under which one can make statistically valid claims about feature importance via the Shapley value.

View on arXivView PDF

Code Implementations(1)

"SHAP-XRT: The Shapley Value Meets Conditional Independence Testing"

61Python, Jupyter NotebookMay 25, 20222 years ago

Similar Papers

Cite this paper

@article{teneggi2022shapxrt,
  title  = {SHAP-XRT: The Shapley Value Meets Conditional Independence Testing},
  author = {Jacopo Teneggi and Beepul Bharti and Yaniv Romano and Jeremias Sulam},
  year   = {2022},
  eprint = {2207.07038},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.07038v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.07038.svg)](https://codeofpaper.com/paper/2207.07038)

Discussion