English

Accurate Shapley Values for explaining tree-based models

Machine Learning 2023-06-01 v3 Machine Learning

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. 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.

Keywords

Cite

@article{arxiv.2106.03820,
  title  = {Accurate Shapley Values for explaining tree-based models},
  author = {Salim I. Amoukou and Nicolas J-B. Brunel and Tangi Salaün},
  journal= {arXiv preprint arXiv:2106.03820},
  year   = {2023}
}

Comments

Accepted at the 25th International Conference on Artificial Intelligence and Statistics (AISTATS), 2022. V2: The section on Active Shapley Values has been removed in this updated version

R2 v1 2026-06-24T02:55:33.825Z