English

From Shapley Values to Generalized Additive Models and back

Machine Learning 2023-02-24 v3

Abstract

In explainable machine learning, local post-hoc explanation algorithms and inherently interpretable models are often seen as competing approaches. This work offers a partial reconciliation between the two by establishing a correspondence between Shapley Values and Generalized Additive Models (GAMs). We introduce nn-Shapley Values, a parametric family of local post-hoc explanation algorithms that explain individual predictions with interaction terms up to order nn. By varying the parameter nn, we obtain a sequence of explanations that covers the entire range from Shapley Values up to a uniquely determined decomposition of the function we want to explain. The relationship between nn-Shapley Values and this decomposition offers a functionally-grounded characterization of Shapley Values, which highlights their limitations. We then show that nn-Shapley Values, as well as the Shapley Taylor- and Faith-Shap interaction indices, recover GAMs with interaction terms up to order nn. This implies that the original Shapely Values recover GAMs without variable interactions. Taken together, our results provide a precise characterization of Shapley Values as they are being used in explainable machine learning. They also offer a principled interpretation of partial dependence plots of Shapley Values in terms of the underlying functional decomposition. A package for the estimation of different interaction indices is available at \url{https://github.com/tml-tuebingen/nshap}.

Cite

@article{arxiv.2209.04012,
  title  = {From Shapley Values to Generalized Additive Models and back},
  author = {Sebastian Bordt and Ulrike von Luxburg},
  journal= {arXiv preprint arXiv:2209.04012},
  year   = {2023}
}

Comments

AISTATS 2023

R2 v1 2026-06-28T00:58:56.915Z