The Tractability of SHAP-Score-Based Explanations for Classification over Deterministic and Decomposable Boolean Circuits
Marcelo Arenas, Pablo Barceló, Leopoldo E. Bertossi, Mikaël Monet
Abstract
Scores based on Shapley values are widely used for providing explanations to classification results over machine learning models. A prime example of this is the influential SHAP-score, a version of the Shapley value that can help explain the result of a learned model on a specific entity by assigning a score to every feature. While in general computing Shapley values is a computationally intractable problem, it has recently been claimed that the SHAP-score can be computed in polynomial time over the class of decision trees. In this paper, we provide a proof of a stronger result over Boolean models: the SHAP-score can be computed in polynomial time over deterministic and decomposable Boolean circuits. Such circuits, also known as tractable Boolean circuits, generalize a wide range of Boolean circuits and binary decision diagrams classes, including binary decision trees, Ordered Binary Decision Diagrams (OBDDs) and Free Binary Decision Diagrams (FBDDs). We also establish the computational limits of the notion of SHAP-score by observing that, under a mild condition, computing it over a class of Boolean models is always polynomially as hard as the model counting problem for that class. This implies that both determinism and decomposability are essential properties for the circuits that we consider, as removing one or the other renders the problem of computing the SHAP-score intractable (namely, #P-hard).
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.
7 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
- Towards Trustable SHAP Scores cites On the Tractability of SHAP Explanations
- Constraint-Driven Explanations for Black-Box ML Models cites On the Tractability of SHAP Explanations
- SHAP values via sparse Fourier representation cites On the Tractability of SHAP Explanations
- Additive Models Explained: A Computational Complexity Approach cites On the Tractability of SHAP Explanations
- Additive Models Explained: A Computational Complexity Approach cites Local vs. Global Interpretability: A Computational Complexity Perspective
- Local vs. Global Interpretability: A Computational Complexity Perspective cites On the Tractability of SHAP Explanations
Cited by top-tier papers7
- Local vs. Global Interpretability: A Computational Complexity PerspectiveShahaf Bassan, Guy Amir, Guy KatzICML 2024 · 28 citations
- Constraint-Driven Explanations for Black-Box ML ModelsAditya A. Shrotri, Nina Narodytska, Alexey Ignatiev, Kuldeep S. Meel et al.AAAI 2022 · 25 citations
- Towards Trustable SHAP ScoresOlivier Létoffé, Xuanxiang Huang, João Marques-SilvaAAAI 2025 · 23 citations
- SHAP values via sparse Fourier representationAli Gorji, Andisheh Amrollahi, Andreas KrauseNeurIPS 2025 · 11 citations
- Additive Models Explained: A Computational Complexity ApproachShahaf Bassan, Michal Moshkovitz, Guy KatzNeurIPS 2025 · 4 citations
Builds on2
Related papers
- On the Tractability of SHAP Explanations under Markovian DistributionsReda Marzouk, Colin de la HigueraICML 2024 · 13 citations
- Computing the Shapley Value of Facts in Query AnsweringDaniel Deutch, Nave Frost, Benny Kimelfeld, Mikaël MonetSIGMOD 2022 · 31 citations
- Foundations of Symbolic Languages for Model InterpretabilityMarcelo Arenas, Daniel Báez, Pablo Barceló, Jorge Pérez et al.NeurIPS 2021 · 40 citations
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree EnsemblesMaximilian Muschalik, Fabian Fumagalli, Barbara Hammer, Eyke HüllermeierAAAI 2024 · 35 citations
- Tractable Explanations for d-DNNF ClassifiersXuanxiang Huang, Yacine Izza, Alexey Ignatiev, Martin C. Cooper et al.AAAI 2022 · 43 citations
