mlsanityData to 14 Oct 2026

On the Complexity of SHAP-Score-Based Explanations: Tractability via Knowledge Compilation and Non-Approximability Results

arXiv 2104.08015 ↗First posted 16 Apr 2021cs.AI cs.CCcited by 32

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

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  3. 2021Towards Causal Representation Learningcited by 209
  4. 2020Problems with Shapley-value-based explanations as feature importance measurescited by 200
  5. 2020Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regressioncited by 154
  6. 2018A Symbolic Approach to Explaining Bayesian Network Classifierscited by 131
  7. 2020CausalWorld: A Robotic Manipulation Benchmark for Causal Structure and Transfer Learningcited by 109
  8. 2020Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuitscited by 103
  9. 2020On The Reasons Behind Decisionscited by 100
  10. 2020On the Tractability of SHAP Explanationscited by 92
  11. 2019When Explainability Meets Adversarial Learning: Detecting Adversarial Examples using SHAP Signaturescited by 40
  12. 2020On Tractable Representations of Binary Neural Networkscited by 34
9 more
  1. 2018An Interpretable Model with Globally Consistent Explanations for Credit Riskcited by 33
  2. 2020A Multilinear Sampling Algorithm to Estimate Shapley Valuescited by 33
  3. 2020Causality-based Explanation of Classification Outcomescited by 25
  4. 2019Generating Counterfactual and Contrastive Explanations using SHAPcited by 24
  5. 2019The Shapley Value of Tuples in Query Answeringcited by 23
  6. 2020On Symbolically Encoding the Behavior of Random Forestscited by 15
  7. 2014Efficient Computation of the Shapley Value for Game-Theoretic Network Centralitycited by 14
  8. 2019Smoothing Structured Decomposable Circuitscited by 14
  9. 2018Connecting Knowledge Compilation Classes and Width Parameterscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 8; 2024: 7; 2025: 9; 2026: 8.

32 papers.

Sort:

  1. 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
  2. 2023Explainability is NOT a Gamecited by 23
  3. 2023Disproving XAI Myths with Formal Methods -- Initial Resultscited by 12
  4. 2023On Formal Feature Attribution and Its Approximationcited by 11
  5. 2024On the Tractability of SHAP Explanations under Markovian Distributionscited by 10
  6. 2024From SHAP Scores to Feature Importance Scorescited by 8
  7. 2025SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelismcited by 8
  8. 2024Expected Shapley-Like Scores of Boolean Functions: Complexity and Applications to Probabilistic Databasescited by 6
  9. 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimationscited by 5
  10. 2023A Refutation of Shapley Values for Explainabilitycited by 4
  11. 2023Refutation of Shapley Values for XAI -- Additional Evidencecited by 4
  12. 2025UbiQTree: Uncertainty Quantification in XAI with Tree Ensemblescited by 4
20 more
  1. 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilationcited by 3
  2. 2025On the Complexity of Global Necessary Reasons to Explain Classificationcited by 3
  3. 2025Additive Models Explained: A Computational Complexity Approachcited by 3
  4. 2023Attribution-Scores in Data Management and Explainable Machine Learningcited by 2
  5. 2024Logic-Based Explainability: Past, Present & Futurecited by 2
  6. 2025When is the Computation of a Feature Attribution Method Tractable?cited by 2
  7. 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
  8. 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learningcited by 1
  9. 2025The Explanation Game -- Rekindled (Extended Version)cited by 1
  10. 2025Feature Relevancy, Necessity and Usefulness: Complexity and Algorithmscited by 1
  11. 2025Interaction Tensor SHAPcited by 1
  12. 2024Neural Dynamic Data Valuation via Stochastic State-Adjoint Trajectoriescited by 0
  13. 2024The Sets of Powercited by 0
  14. 2025Rigorous Feature Importance Scores based on Shapley Value and Banzhaf Indexcited by 0
  15. 2026TT-FSI: Scalable Faithful Shapley Interactions via Tensor-Traincited by 0
  16. 2026NetworkNet: A Deep Neural Network Approach for Random Networks with Sparse Nodal Attributes and Complex Nodal Heterogeneitycited by 0
  17. 2026Towards Rigorous Explainability by Feature Attributioncited by 0
  18. 2026Reconciling Consistency-Based Diagnosis with Actual-Causality-Based Explanationscited by 0
  19. 2026Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networkscited by 0
  20. 2026Beyond Shapley: Efficient Computation of Asymmetric Shapley Valuescited by 0