On the Tractability of SHAP Explanations under Markovian Distributions
Reda Marzouk, Colin de la Higuera
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Provably Explaining Neural Additive Models cites Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Provably Explaining Neural Additive Models
- Provably Explaining Neural Additive Models cites SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism
- Provably Explaining Neural Additive Models cites Additive Models Explained: A Computational Complexity Approach
- Additive Models Explained: A Computational Complexity Approach cites Provably Explaining Neural Additive Models
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Additive Models Explained: A Computational Complexity Approach
- SHAP values via sparse Fourier representation cites The Many Shapley Values for Model Explanation
- SHAP values via sparse Fourier representation cites Linear tree shap
- SHAP values via sparse Fourier representation cites On the Tractability of SHAP Explanations
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites The Many Shapley Values for Model Explanation
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites Linear tree shap
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites On the Tractability of SHAP Explanations
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites Additive Models Explained: A Computational Complexity Approach
- Additive Models Explained: A Computational Complexity Approach cites SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism
- On the Tractability of SHAP Explanations cites The Many Shapley Values for Model Explanation
- Additive Models Explained: A Computational Complexity Approach cites The Many Shapley Values for Model Explanation
- Additive Models Explained: A Computational Complexity Approach cites On the Tractability of SHAP Explanations
Cited by top-tier papers9
- SHAP values via sparse Fourier representationAli Gorji, Andisheh Amrollahi, Andreas KrauseNeurIPS 2025 · 11 citations
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable GuaranteesItamar Hadad, Guy Katz, Shahaf BassanICLR 2026 · 10 citations
- SHAP Meets Tensor Networks: Provably Tractable Explanations with ParallelismReda Marzouk, Shahaf Bassan, Guy KatzNeurIPS 2025 · 9 citations
- Additive Models Explained: A Computational Complexity ApproachShahaf Bassan, Michal Moshkovitz, Guy KatzNeurIPS 2025 · 4 citations
- Provably Explaining Neural Additive ModelsShahaf Bassan, Yizhak Yisrael Elboher, Tobias Ladner, Volkan Şahin et al.ICLR 2026 · 3 citations
Builds on4
- The Many Shapley Values for Model ExplanationMukund Sundararajan, Amir NajmiICML 2020 · 799 citations
- On the Tractability of SHAP ExplanationsGuy Van den Broeck, Anton Lykov, Maximilian Schleich, Dan SuciuAAAI 2021 · 485 citations
- Weighted Automata Extraction from Recurrent Neural Networks via Regression on State SpacesTakamasa Okudono, Masaki Waga, Taro Sekiyama, Ichiro HasuoAAAI 2020 · 44 citations
- Linear tree shapPeng Yu, Albert Bifet, Jesse Read, Chao XuNeurIPS 2022 · 27 citations
Related papers
- The Tractability of SHAP-Score-Based Explanations for Classification over Deterministic and Decomposable Boolean CircuitsMarcelo Arenas, Pablo Barceló, Leopoldo E. Bertossi, Mikaël MonetAAAI 2021 · 37 citations
- Towards Trustable SHAP ScoresOlivier Létoffé, Xuanxiang Huang, João Marques-SilvaAAAI 2025 · 23 citations
- Foundations of Symbolic Languages for Model InterpretabilityMarcelo Arenas, Daniel Báez, Pablo Barceló, Jorge Pérez et al.NeurIPS 2021 · 40 citations
- On Computing Probabilistic Explanations for Decision TreesMarcelo Arenas, Pablo Barceló, Miguel A. Romero Orth, Bernardo SubercaseauxNeurIPS 2022 · 57 citations
- Local vs. Global Interpretability: A Computational Complexity PerspectiveShahaf Bassan, Guy Amir, Guy KatzICML 2024 · 28 citations
