Towards Visual Explanations for Convolutional Neural Networks via Input Resampling

Benjamin J. Lengerich, Sandeep Konam, Eric P. Xing, Stephanie Rosenthal, Manuela Veloso
7/30/2017
cs.LGstat.ML

Official code: blengerich/explainable-cnn (13 stars, Python, last commit 2017-08-16).

Abstract

The predictive power of neural networks often costs model interpretability. Several techniques have been developed for explaining model outputs in terms of input features; however, it is difficult to translate such interpretations into actionable insight.

Show full abstract

Here, we propose a framework to analyze predictions in terms of the model's internal features by inspecting information flow through the network. Given a trained network and a test image, we select neurons by two metrics, both measured over a set of images created by perturbations to the input image: (1) magnitude of the correlation between the neuron activation and the network output and (2) precision of the neuron activation. We show that the former metric selects neurons that exert large influence over the network output while the latter metric selects neurons that activate on generalizable features. By comparing the sets of neurons selected by these two metrics, our framework suggests a way to investigate the internal attention mechanisms of convolutional neural networks.

View on arXivView PDF

Code Implementations(1)

Towards Visual Explanations for Convolutional Neural Networks via Input Resampling

134Python, Jupyter NotebookJul 22, 20179 years ago
convolutional-neural-networks

Similar Papers

Cite this paper

@article{lengerich2017towards,
  title  = {Towards Visual Explanations for Convolutional Neural Networks via Input Resampling},
  author = {Benjamin J. Lengerich and Sandeep Konam and Eric P. Xing and Stephanie Rosenthal and Manuela Veloso},
  year   = {2017},
  eprint = {1707.09641},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.09641}
}

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

Discussion