JOURNAL ARTICLE

Generating Counterfactual Explanations with Natural Language

Lisa Anne HendricksRonghang HuTrevor DarrellZeynep Akata

Year: 2018 Journal:   arXiv (Cornell University) Pages: 95-98   Publisher: Cornell University

Abstract

Natural language explanations of deep neural network decisions provide an intuitive way for a AI agent to articulate a reasoning process. Current textual explanations learn to discuss class discriminative features in an image. However, it is also helpful to understand which attributes might change a classification decision if present in an image (e.g., "This is not a Scarlet Tanager because it does not have black wings.") We call such textual explanations counterfactual explanations, and propose an intuitive method to generate counterfactual explanations by inspecting which evidence in an input is missing, but might contribute to a different classification decision if present in the image. To demonstrate our method we consider a fine-grained image classification task in which we take as input an image and a counterfactual class and output text which explains why the image does not belong to a counterfactual class. We then analyze our generated counterfactual explanations both qualitatively and quantitatively using proposed automatic metrics.

Keywords:
Counterfactual thinking Discriminative model Artificial intelligence Class (philosophy) Computer science Image (mathematics) Contextual image classification Task (project management) Natural (archaeology) Natural language processing Machine learning Counterfactual conditional Natural language Artificial neural network Pattern recognition (psychology) Psychology Social psychology Economics

Metrics

53
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Explainable Artificial Intelligence (XAI)
Physical Sciences →  Computer Science →  Artificial Intelligence
Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.