Counterfactual Explanations for Misclassified Images: How Human and Machine Explanations Differ

Eoin Delaney, Arjun Pakrashi, Derek Greene, Mark T. Keane
12/16/2022
cs.LGcs.AIcs.CV

Official code: e-delaney/cfe_images_how_people_differ_from_machines (3 stars, Jupyter Notebook, MIT, last commit 2023-05-11).

Abstract

Counterfactual explanations have emerged as a popular solution for the eXplainable AI (XAI) problem of elucidating the predictions of black-box deep-learning systems due to their psychological validity, flexibility across problem domains and proposed legal compliance. While over 100 counterfactual methods exist, claiming to generate plausible explanations akin to those preferred by people, few have actually been tested on users ($\sim7\%$).

Show full abstract

So, the psychological validity of these counterfactual algorithms for effective XAI for image data is not established. This issue is addressed here using a novel methodology that (i) gathers ground truth human-generated counterfactual explanations for misclassified images, in two user studies and, then, (ii) compares these human-generated ground-truth explanations to computationally-generated explanations for the same misclassifications. Results indicate that humans do not "minimally edit" images when generating counterfactual explanations. Instead, they make larger, "meaningful" edits that better approximate prototypes in the counterfactual class.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains ground truth user counterfactual explanations for explaining the misclassifications of a CNN on images from (i) MNIST and (ii) Quickdraw.

30Jupyter Notebook, PythonOct 6, 20223 years agoMIT

Similar Papers

Cite this paper

@article{delaney2022counterfactual,
  title  = {Counterfactual Explanations for Misclassified Images: How Human and Machine Explanations Differ},
  author = {Eoin Delaney and Arjun Pakrashi and Derek Greene and Mark T. Keane},
  year   = {2022},
  eprint = {2212.08733},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.08733}
}

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

Discussion