Shapley Explanation Networks

Rui Wang, Xiaoqian Wang, David I. Inouye
4/6/2021
61 citations
cs.LGcs.AI

Official code: inouye-lab/ShapleyExplanationNetworks (88 stars, Python, MIT, last commit 2021-01-16).

Abstract

Shapley values have become one of the most popular feature attribution explanation methods. However, most prior work has focused on post-hoc Shapley explanations, which can be computationally demanding due to its exponential time complexity and preclude model regularization based on Shapley explanations during training.

Show full abstract

Thus, we propose to incorporate Shapley values themselves as latent representations in deep models thereby making Shapley explanations first-class citizens in the modeling paradigm. This intrinsic explanation approach enables layer-wise explanations, explanation regularization of the model during training, and fast explanation computation at test time. We define the Shapley transform that transforms the input into a Shapley representation given a specific function. We operationalize the Shapley transform as a neural network module and construct both shallow and deep networks, called ShapNets, by composing Shapley modules. We prove that our Shallow ShapNets compute the exact Shapley values and our Deep ShapNets maintain the missingness and accuracy properties of Shapley values. We demonstrate on synthetic and real-world datasets that our ShapNets enable layer-wise Shapley explanations, novel Shapley regularizations during training, and fast computation while maintaining reasonable performance. Code is available at https://github.com/inouye-lab/ShapleyExplanationNetworks.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of the paper "Shapley Explanation Networks"

8815PythonJan 15, 20215 years agoMIT
deep-learningexplainable-aiiclr2021interpretable-deep-learninginterpretable-machine-learning+1 more

Similar Papers

Cite this paper

@article{wang2021shapley,
  title  = {Shapley Explanation Networks},
  author = {Rui Wang and Xiaoqian Wang and David I. Inouye},
  year   = {2021},
  eprint = {2104.02297},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.02297}
}

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

Discussion