Accurate Shapley Values for explaining tree-based models

Salim I. Amoukou, Nicolas J-B. Brunel, Tangi Salaün
6/7/2021
stat.MLcs.LG

Official code: salimamoukou/acv00 (103 stars, Jupyter Notebook, MIT, last commit 2022-08-31).

Abstract

Shapley Values (SV) are widely used in explainable AI, but their estimation and interpretation can be challenging, leading to inaccurate inferences and explanations. As a starting point, we remind an invariance principle for SV and derive the correct approach for computing the SV of categorical variables that are particularly sensitive to the encoding used.

Show full abstract

In the case of tree-based models, we introduce two estimators of Shapley Values that exploit the tree structure efficiently and are more accurate than state-of-the-art methods. Simulations and comparisons are performed with state-of-the-art algorithms and show the practical gain of our approach. Finally, we discuss the limitations of Shapley Values as a local explanation. These methods are available as a Python package.

View on arXivView PDF

Code Implementations(1)

salimamoukou/acv00Official100%
MIT

ACV is a python library that provides explanations for any machine learning model or data. It gives local rule-based explanations for any model or data and different Shapley Values for tree-based models.

10312Jupyter Notebook, PythonMar 24, 20214 years agoMIT
explainabilityexplainable-mlmachine-learningrule-basedshapley

Similar Papers

Cite this paper

@article{amoukou2021accurate,
  title  = {Accurate Shapley Values for explaining tree-based models},
  author = {Salim I. Amoukou and Nicolas J-B. Brunel and Tangi Salaün},
  year   = {2021},
  eprint = {2106.03820},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03820}
}

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

Discussion