"Why did you do that?": Explaining black box models with Inductive Synthesis

Görkem Paçacı, David Johnson, Steve McKeever, Andreas Hamfelt
4/17/2019
cs.AIcs.LG

Official code: UppsalaIM/rice (4 stars, Prolog, last commit 2023-05-11).

Abstract

By their nature, the composition of black box models is opaque. This makes the ability to generate explanations for the response to stimuli challenging.

Show full abstract

The importance of explaining black box models has become increasingly important given the prevalence of AI and ML systems and the need to build legal and regulatory frameworks around them. Such explanations can also increase trust in these uncertain systems. In our paper we present RICE, a method for generating explanations of the behaviour of black box models by (1) probing a model to extract model output examples using sensitivity analysis; (2) applying CNPInduce, a method for inductive logic program synthesis, to generate logic programs based on critical input-output pairs; and (3) interpreting the target program as a human-readable explanation. We demonstrate the application of our method by generating explanations of an artificial neural network trained to follow simple traffic rules in a hypothetical self-driving car simulation. We conclude with a discussion on the scalability and usability of our approach and its potential applications to explanation-critical scenarios.

View on arXivView PDF

Code Implementations(1)

UppsalaIM/riceOfficial100%

Rule Induction of CNP Explanations (RICE): Extracting human-readable programs from ML models

40Prolog, PythonFeb 15, 20193 years ago

Similar Papers

Cite this paper

@article{paac2019why,
  title  = {"Why did you do that?": Explaining black box models with Inductive Synthesis},
  author = {Görkem Paçacı and David Johnson and Steve McKeever and Andreas Hamfelt},
  year   = {2019},
  eprint = {1904.09273},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.09273}
}

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/1904.09273.svg)](https://codeofpaper.com/paper/1904.09273)

Discussion