On the Tractability of SHAP Explanations under Markovian Distributions

Reda Marzouk, Colin de La Higuera
5/5/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Thanks to its solid theoretical foundation, the SHAP framework is arguably one the most widely utilized frameworks for local explainability of ML models. Despite its popularity, its exact computation is known to be very challenging, proven to be NP-Hard in various configurations. Recent works have unveiled positive complexity results regarding the computation of the SHAP score for specific model families, encompassing decision trees, random forests, and some classes of boolean circuits. Yet, all these positive results hinge on the assumption of feature independence, often simplistic in real-world scenarios. In this article, we investigate the computational complexity of the SHAP score by relaxing this assumption and introducing a Markovian perspective. We show that, under the Markovian assumption, computing the SHAP score for the class of Weighted automata, Disjoint DNFs and Decision Trees can be performed in polynomial time, offering a first positive complexity result for the problem of SHAP score computation that transcends the limitations of the feature independence assumption.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{marzouk2024tractability,
  title  = {On the Tractability of SHAP Explanations under Markovian Distributions},
  author = {Reda Marzouk and Colin de La Higuera},
  year   = {2024},
  eprint = {2405.02936},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.02936v2},
  journal = {ICML 2024 2024}
}

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

Discussion