Statistical Aspects of SHAP: Functional ANOVA for Model Interpretation

Andrew Herren, P. Richard Hahn, Rafael Alcantara
8/21/2022
stat.MEstat.ML

Official code: andrewherren/shap-anova-examples (1 star, R, MIT, last commit 2022-08-21).

Abstract

SHAP is a popular method for measuring variable importance in machine learning models. In this paper, we study the algorithm used to estimate SHAP scores and outline its connection to the functional ANOVA decomposition.

Show full abstract

We use this connection to show that challenges in SHAP approximations largely relate to the choice of a feature distribution and the number of $2^p$ ANOVA terms estimated. We argue that the connection between machine learning explainability and sensitivity analysis is illuminating in this case, but the immediate practical consequences are not obvious since the two fields face a different set of constraints. Machine learning explainability concerns models which are inexpensive to evaluate but often have hundreds, if not thousands, of features. Sensitivity analysis typically deals with models from physics or engineering which may be very time consuming to run, but operate on a comparatively small space of inputs.

View on arXivView PDF

Code Implementations(1)

MIT

Code examples from the Arxiv release on the relationship between SHAP and functional ANOVA

10RAug 21, 20224 years agoMIT

Similar Papers

Cite this paper

@article{herren2022statistical,
  title  = {Statistical Aspects of SHAP: Functional ANOVA for Model Interpretation},
  author = {Andrew Herren and P. Richard Hahn and Rafael Alcantara},
  year   = {2022},
  eprint = {2208.09970},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.09970}
}

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/2208.09970.svg)](https://codeofpaper.com/paper/2208.09970)

Discussion