English

Counterfactual Visual Explanations

Machine Learning 2019-06-12 v2 Artificial Intelligence Computer Vision and Pattern Recognition Machine Learning

Abstract

In this work, we develop a technique to produce counterfactual visual explanations. Given a 'query' image II for which a vision system predicts class cc, a counterfactual visual explanation identifies how II could change such that the system would output a different specified class cc'. To do this, we select a 'distractor' image II' that the system predicts as class cc' and identify spatial regions in II and II' such that replacing the identified region in II with the identified region in II' would push the system towards classifying II as cc'. We apply our approach to multiple image classification datasets generating qualitative results showcasing the interpretability and discriminativeness of our counterfactual explanations. To explore the effectiveness of our explanations in teaching humans, we present machine teaching experiments for the task of fine-grained bird classification. We find that users trained to distinguish bird species fare better when given access to counterfactual explanations in addition to training examples.

Keywords

Cite

@article{arxiv.1904.07451,
  title  = {Counterfactual Visual Explanations},
  author = {Yash Goyal and Ziyan Wu and Jan Ernst and Dhruv Batra and Devi Parikh and Stefan Lee},
  journal= {arXiv preprint arXiv:1904.07451},
  year   = {2019}
}
R2 v1 2026-06-23T08:40:48.962Z