On the Complexity of SHAP-Score-Based Explanations: Tractability via Knowledge Compilation and Non-Approximability Results
Not on the map. Why?
Abstract (arXiv)
In Machine Learning, the mathsfSHAP-score is a version of the Shapley value that is used to 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 an intractable problem, we prove a strong positive result stating that the mathsfSHAP-score can be computed in polynomial time over deterministic and decomposable Boolean circuits. Such circuits are studied in the field of Knowledge Compilation and generalize a wide range of Boolean circuits and binary decision diagrams classes, including binary decision trees and Ordered Binary Decision Diagrams (OBDDs). We also establish the computational limits of the SHAP-score by observing that 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. It also implies that computing mathsfSHAP-scores is intractable as well over the class of propositional formulas in DNF. Based on this negative result, we look for the existence of fully-polynomial randomized approximation schemes (FPRAS) for computing mathsfSHAP-scores over such class. In contrast to the model counting problem for DNF formulas, which admits an FPRAS, we prove that no such FPRAS exists for the computation of mathsfSHAP-scores. Surprisingly, this negative result holds even for the class of monotone formulas in DNF. These techniques can be further extended to prove another strong negative result: Under widely believed complexity assumptions, there is no polynomial-time algorithm that checks, given a monotone DNF formula varphi and features x,y, whether the mathsfSHAP-score of x in varphi is smaller than the mathsfSHAP-score of y in varphi.
Key facts. Cited by 32 papers in the map (data through 14 Oct 2026). Builds on 21 of its 60 references that are in the map. First posted on arXiv 16 Apr 2021.
Builds on
21 of 60 references.
References · 21
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2021Towards Causal Representation Learningcited by 209
- 2020Problems with Shapley-value-based explanations as feature importance measurescited by 200
- 2020Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regressioncited by 154
- 2018A Symbolic Approach to Explaining Bayesian Network Classifierscited by 131
- 2020CausalWorld: A Robotic Manipulation Benchmark for Causal Structure and Transfer Learningcited by 109
- 2020Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuitscited by 103
- 2020On The Reasons Behind Decisionscited by 100
- 2020On the Tractability of SHAP Explanationscited by 92
- 2019When Explainability Meets Adversarial Learning: Detecting Adversarial Examples using SHAP Signaturescited by 40
- 2020On Tractable Representations of Binary Neural Networkscited by 34
9 more
- 2018An Interpretable Model with Globally Consistent Explanations for Credit Riskcited by 33
- 2020A Multilinear Sampling Algorithm to Estimate Shapley Valuescited by 33
- 2020Causality-based Explanation of Classification Outcomescited by 25
- 2019Generating Counterfactual and Contrastive Explanations using SHAPcited by 24
- 2019The Shapley Value of Tuples in Query Answeringcited by 23
- 2020On Symbolically Encoding the Behavior of Random Forestscited by 15
- 2014Efficient Computation of the Shapley Value for Game-Theoretic Network Centralitycited by 14
- 2019Smoothing Structured Decomposable Circuitscited by 14
- 2018Connecting Knowledge Compilation Classes and Width Parameterscited by 9
Built on by
Citing papers per year: 2023: 8; 2024: 7; 2025: 9; 2026: 8.
32 papers.
Sort:
- 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
- 2023Explainability is NOT a Gamecited by 23
- 2023Disproving XAI Myths with Formal Methods -- Initial Resultscited by 12
- 2023On Formal Feature Attribution and Its Approximationcited by 11
- 2024On the Tractability of SHAP Explanations under Markovian Distributionscited by 10
- 2024From SHAP Scores to Feature Importance Scorescited by 8
- 2025SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelismcited by 8
- 2024Expected Shapley-Like Scores of Boolean Functions: Complexity and Applications to Probabilistic Databasescited by 6
- 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimationscited by 5
- 2023A Refutation of Shapley Values for Explainabilitycited by 4
- 2023Refutation of Shapley Values for XAI -- Additional Evidencecited by 4
- 2025UbiQTree: Uncertainty Quantification in XAI with Tree Ensemblescited by 4
20 more
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilationcited by 3
- 2025On the Complexity of Global Necessary Reasons to Explain Classificationcited by 3
- 2025Additive Models Explained: A Computational Complexity Approachcited by 3
- 2023Attribution-Scores in Data Management and Explainable Machine Learningcited by 2
- 2024Logic-Based Explainability: Past, Present & Futurecited by 2
- 2025When is the Computation of a Feature Attribution Method Tractable?cited by 2
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
- 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learningcited by 1
- 2025The Explanation Game -- Rekindled (Extended Version)cited by 1
- 2025Feature Relevancy, Necessity and Usefulness: Complexity and Algorithmscited by 1
- 2025Interaction Tensor SHAPcited by 1
- 2024Neural Dynamic Data Valuation via Stochastic State-Adjoint Trajectoriescited by 0
- 2024The Sets of Powercited by 0
- 2025Rigorous Feature Importance Scores based on Shapley Value and Banzhaf Indexcited by 0
- 2026TT-FSI: Scalable Faithful Shapley Interactions via Tensor-Traincited by 0
- 2026NetworkNet: A Deep Neural Network Approach for Random Networks with Sparse Nodal Attributes and Complex Nodal Heterogeneitycited by 0
- 2026Towards Rigorous Explainability by Feature Attributioncited by 0
- 2026Reconciling Consistency-Based Diagnosis with Actual-Causality-Based Explanationscited by 0
- 2026Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networkscited by 0
- 2026Beyond Shapley: Efficient Computation of Asymmetric Shapley Valuescited by 0
- 2026Beyond Shapley: Efficient Computation of Asymmetric Shapley Values23 Jun 2026
- 2026Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks22 May 2026
- 2026Reconciling Consistency-Based Diagnosis with Actual-Causality-Based Explanations9 May 2026
- 2026Towards Rigorous Explainability by Feature Attribution17 Apr 2026
- 2026NetworkNet: A Deep Neural Network Approach for Random Networks with Sparse Nodal Attributes and Complex Nodal Heterogeneity13 Apr 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimations30 Jan 2026
- 2026TT-FSI: Scalable Faithful Shapley Interactions via Tensor-Train5 Jan 2026
- 2025Interaction Tensor SHAP5 Dec 2025
- 2025SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism24 Oct 2025
- 2025Additive Models Explained: A Computational Complexity Approach24 Oct 2025
- 2025Rigorous Feature Importance Scores based on Shapley Value and Banzhaf Index16 Aug 2025
20 more
- 2025UbiQTree: Uncertainty Quantification in XAI with Tree Ensembles13 Aug 2025
- 2025Feature Relevancy, Necessity and Usefulness: Complexity and Algorithms6 May 2025
- 2025The Explanation Game -- Rekindled (Extended Version)20 Jan 2025
- 2025On the Complexity of Global Necessary Reasons to Explain Classification12 Jan 2025
- 2025When is the Computation of a Feature Attribution Method Tractable?4 Jan 2025
- 2024The Sets of Power10 Oct 2024
- 2024Logic-Based Explainability: Past, Present & Future4 Jun 2024
- 2024From SHAP Scores to Feature Importance Scores20 May 2024
- 2024On the Tractability of SHAP Explanations under Markovian Distributions5 May 2024
- 2024Neural Dynamic Data Valuation via Stochastic State-Adjoint Trajectories30 Apr 2024
- 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learning23 Jan 2024
- 2024Expected Shapley-Like Scores of Boolean Functions: Complexity and Applications to Probabilistic Databases12 Jan 2024
- 2023Refutation of Shapley Values for XAI -- Additional Evidence30 Sep 2023
- 2023A Refutation of Shapley Values for Explainability6 Sep 2023
- 2023Attribution-Scores in Data Management and Explainable Machine Learning31 Jul 2023
- 2023On Formal Feature Attribution and Its Approximation7 Jul 2023
- 2023Explainability is NOT a Game27 Jun 2023
- 2023Disproving XAI Myths with Formal Methods -- Initial Results13 May 2023
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilation11 Mar 2023
- 2023The Inadequacy of Shapley Values for Explainability16 Feb 2023
- 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
- 2023Explainability is NOT a Gamecited by 23
- 2023Disproving XAI Myths with Formal Methods -- Initial Resultscited by 12
- 2023On Formal Feature Attribution and Its Approximationcited by 11
- 2024On the Tractability of SHAP Explanations under Markovian Distributionscited by 10
- 2024From SHAP Scores to Feature Importance Scorescited by 8
- 2025SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelismcited by 8
- 2024Expected Shapley-Like Scores of Boolean Functions: Complexity and Applications to Probabilistic Databasescited by 6
- 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimationscited by 5
- 2023A Refutation of Shapley Values for Explainabilitycited by 4
- 2023Refutation of Shapley Values for XAI -- Additional Evidencecited by 4
- 2025UbiQTree: Uncertainty Quantification in XAI with Tree Ensemblescited by 4
12 most cited of 32 All 32 (JSON)
- 2026Beyond Shapley: Efficient Computation of Asymmetric Shapley Values23 Jun 2026
- 2026Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks22 May 2026
- 2026Reconciling Consistency-Based Diagnosis with Actual-Causality-Based Explanations9 May 2026
- 2026Towards Rigorous Explainability by Feature Attribution17 Apr 2026
- 2026NetworkNet: A Deep Neural Network Approach for Random Networks with Sparse Nodal Attributes and Complex Nodal Heterogeneity13 Apr 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimations30 Jan 2026
- 2026TT-FSI: Scalable Faithful Shapley Interactions via Tensor-Train5 Jan 2026
- 2025Interaction Tensor SHAP5 Dec 2025
- 2025SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism24 Oct 2025
- 2025Additive Models Explained: A Computational Complexity Approach24 Oct 2025
- 2025Rigorous Feature Importance Scores based on Shapley Value and Banzhaf Index16 Aug 2025
12 newest of 32 All 32 (JSON)