Explaining Image Classification with Visual Debates

Avinash Kori, Ben Glocker, Francesca Toni
10/17/2022
cs.CVcs.LG

Official code: koriavinash1/VisualDebates (3 stars, Python, Apache-2.0, last commit 2023-01-30).

Abstract

An effective way to obtain different perspectives on any given topic is by conducting a debate, where participants argue for and against the topic. Here, we propose a novel debate framework for understanding and explaining a continuous image classifier's reasoning for making a particular prediction by modeling it as a multiplayer sequential zero-sum debate game.

Show full abstract

The contrastive nature of our framework encourages players to learn to put forward diverse arguments during the debates, picking up the reasoning trails missed by their opponents and highlighting any uncertainties in the classifier. Specifically, in our proposed setup, players propose arguments, drawn from the classifier's discretized latent knowledge, to support or oppose the classifier's decision. The resulting Visual Debates collect supporting and opposing features from the discretized latent space of the classifier, serving as explanations for the internal reasoning of the classifier towards its predictions. We demonstrate and evaluate (a practical realization of) our Visual Debates on the geometric SHAPE and MNIST datasets and on the high-resolution animal faces (AFHQ) dataset, along standard evaluation metrics for explanations (i.e. faithfulness and completeness) and novel, bespoke metrics for visual debates as explanations (consensus and split ratio).

View on arXivView PDF

Code Implementations(1)

Apache-2.0
31Python, ShellMay 22, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{kori2022explaining,
  title  = {Explaining Image Classification with Visual Debates},
  author = {Avinash Kori and Ben Glocker and Francesca Toni},
  year   = {2022},
  eprint = {2210.09015},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.09015}
}

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

Discussion