Faithful and Plausible Natural Language Explanations for Image Classification: A Pipeline Approach

Adam Wojciechowski, Mateusz Lango, Ondrej Dusek
7/30/2024
cs.AIcs.CL

No official code found. Best implementation: wojciechowskiofficial/FLEX (0 stars, MIT, last commit 2024-12-25).

Abstract

Existing explanation methods for image classification struggle to provide faithful and plausible explanations. This paper addresses this issue by proposing a post-hoc natural language explanation method that can be applied to any CNN-based classifier without altering its training process or affecting predictive performance. By analysing influential neurons and the corresponding activation maps, the method generates a faithful description of the classifier's decision process in the form of a structured meaning representation, which is then converted into text by a language model. Through this pipeline approach, the generated explanations are grounded in the neural network architecture, providing accurate insight into the classification process while remaining accessible to non-experts. Experimental results show that the NLEs constructed by our method are significantly more plausible and faithful. In particular, user interventions in the neural network structure (masking of neurons) are three times more effective than the baselines.

View on arXivView PDF

Code Implementations(1)

MIT

Providing explanations for image classification in natural language on multiple abstraction levels

00Python, Jupyter NotebookApr 9, 20231 years agoMIT

Similar Papers

Cite this paper

@article{wojciechowski2024faithful,
  title  = {Faithful and Plausible Natural Language Explanations for Image Classification: A Pipeline Approach},
  author = {Adam Wojciechowski and Mateusz Lango and Ondrej Dusek},
  year   = {2024},
  eprint = {2407.20899},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.20899v3}
}

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

Discussion