Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilation

Leopoldo Bertossi, Jorge E. Leon
3/11/2023
cs.AIcs.DBcs.LG

No official code found. Best implementation: Jorvan758/dDBCSFi2 (0 stars, last commit 2024-09-08).

Abstract

The use of Shap scores has become widespread in Explainable AI. However, their computation is in general intractable, in particular when done with a black-box classifier, such as neural network. Recent research has unveiled classes of open-box Boolean Circuit classifiers for which Shap can be computed efficiently. We show how to transform binary neural networks into those circuits for efficient Shap computation.We use logic-based knowledge compilation techniques. The performance gain is huge, as we show in the light of our experiments.

View on arXivView PDF

Code Implementations(1)

Jorvan758/dDBCSFi2Community100%

Code of "Shap Scores for Neural Network Classifiers: Black-Box vs. Open-Box Circuit Compilation"

00Jupyter NotebookAug 22, 20222 years ago

Cite this paper

@article{bertossi2023efficient,
  title  = {Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilation},
  author = {Leopoldo Bertossi and Jorge E. Leon},
  year   = {2023},
  eprint = {2303.06516},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06516v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.06516.svg)](https://codeofpaper.com/paper/2303.06516)

Discussion