What do Deep Networks Like to See?

Sebastian Palacio, Joachim Folz, Jörn Hees, Federico Raue, Damian Borth +1 more
3/22/2018
cs.CVcs.LG

Official code: spalaciob/s2snets-reconstruction (15 stars, Python, MIT, last commit 2020-11-02).

Abstract

We propose a novel way to measure and understand convolutional neural networks by quantifying the amount of input signal they let in. To do this, an autoencoder (AE) was fine-tuned on gradients from a pre-trained classifier with fixed parameters.

Show full abstract

We compared the reconstructed samples from AEs that were fine-tuned on a set of image classifiers (AlexNet, VGG16, ResNet-50, and Inception~v3) and found substantial differences. The AE learns which aspects of the input space to preserve and which ones to ignore, based on the information encoded in the backpropagated gradients. Measuring the changes in accuracy when the signal of one classifier is used by a second one, a relation of total order emerges. This order depends directly on each classifier's input signal but it does not correlate with classification accuracy or network size. Further evidence of this phenomenon is provided by measuring the normalized mutual information between original images and auto-encoded reconstructions from different fine-tuned AEs. These findings break new ground in the area of neural network understanding, opening a new way to reason, debug, and interpret their results. We present four concrete examples in the literature where observations can now be explained in terms of the input signal that a model uses.

View on arXivView PDF

Code Implementations(1)

MIT

Demo code for reconstructed images from fine-tuned autoencoders

153PythonJun 14, 20186 years agoMIT

Similar Papers

Cite this paper

@article{palacio2018what,
  title  = {What do Deep Networks Like to See?},
  author = {Sebastian Palacio and Joachim Folz and Jörn Hees and Federico Raue and Damian Borth and Andreas Dengel},
  year   = {2018},
  eprint = {1803.08337},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.08337}
}

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

Discussion