The Tractability of SHAP-Score-Based Explanations over Deterministic and Decomposable Boolean Circuits.

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).

[1]  Leopoldo E. Bertossi,et al.  The Shapley Value of Tuples in Query Answering , 2019, ICDT.

[2]  Guy Van den Broeck,et al.  On the Tractability of SHAP Explanations , 2020, AAAI.

[3]  Pierre Marquis,et al.  A Knowledge Compilation Map , 2002, J. Artif. Intell. Res..

[4]  Nicholas R. Jennings,et al.  Efficient Computation of the Shapley Value for Game-Theoretic Network Centrality , 2014, J. Artif. Intell. Res..

[5]  Scott Lundberg,et al.  A Unified Approach to Interpreting Model Predictions , 2017, NIPS.

[6]  Adnan Darwiche,et al.  On the Tractable Counting of Theory Models and its Application to Truth Maintenance and Belief Revision , 2001, J. Appl. Non Class. Logics.

[7]  Adnan Darwiche,et al.  On Tractable Representations of Binary Neural Networks , 2020, KR.

[8]  Sanjeev Arora,et al.  Computational Complexity: A Modern Approach , 2009 .

[9]  L. Shapley A Value for n-person Games , 1988 .

[10]  Guy Van den Broeck,et al.  Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits , 2020, ICML.

[11]  Hugh Chen,et al.  From local explanations to global understanding with explainable AI for trees , 2020, Nature Machine Intelligence.

[12]  Guy Van den Broeck,et al.  Smoothing Structured Decomposable Circuits , 2019, NeurIPS.

[13]  Adnan Darwiche,et al.  Verifying Binarized Neural Networks by Angluin-Style Learning , 2019, SAT.

[14]  Pierre Senellart,et al.  Connecting Knowledge Compilation Classes Width Parameters , 2019, Theory of Computing Systems.

[15]  Adnan Darwiche,et al.  A Symbolic Approach to Explaining Bayesian Network Classifiers , 2018, IJCAI.

[16]  L. Shapley,et al.  The Shapley Value , 1994 .

[17]  Adnan Darwiche,et al.  On The Reasons Behind Decisions , 2020, ECAI.

[18]  Xiaotie Deng,et al.  On the Complexity of Cooperative Solution Concepts , 1994, Math. Oper. Res..

[19]  U. Faigle,et al.  The Shapley value for cooperative games under precedence constraints , 1992 .

[20]  Adnan Darwiche,et al.  Formal Verification of Bayesian Network Classifiers , 2018, PGM.

[21]  Anthony Hunter,et al.  On the measure of conflicts: Shapley Inconsistency Values , 2010, Artif. Intell..

[22]  Juan A. Nepomuceno,et al.  An application of the Shapley value to the analysis of co-expression networks , 2018, Appl. Netw. Sci..

[23]  J. Scott Provan,et al.  The Complexity of Counting Cuts and of Computing the Probability that a Graph is Connected , 1983, SIAM J. Comput..