Understanding the Role of Individual Units in a Deep Neural Network

David Bau, Jun-Yan Zhu, Hendrik Strobelt, Agata Lapedriza, Bolei Zhou +1 more
9/10/2020
568 citations
cs.CVcs.LGcs.NE

Official code: davidbau/dissect (306 stars, Python, last commit 2021-01-09).

Abstract

Deep neural networks excel at finding hierarchical representations that solve complex tasks over large data sets. How can we humans understand these learned representations?

Show full abstract

In this work, we present network dissection, an analytic framework to systematically identify the semantics of individual hidden units within image classification and image generation networks. First, we analyze a convolutional neural network (CNN) trained on scene classification and discover units that match a diverse set of object concepts. We find evidence that the network has learned many object classes that play crucial roles in classifying scene classes. Second, we use a similar analytic method to analyze a generative adversarial network (GAN) model trained to generate scenes. By analyzing changes made when small sets of units are activated or deactivated, we find that objects can be added and removed from the output scenes while adapting to the context. Finally, we apply our analytic framework to understanding adversarial attacks and to semantic image editing.

View on arXivView PDF

Code Implementations(1)

davidbau/dissectOfficial100%

Code for the Proceedings of the National Academy of Sciences 2020 article, "Understanding the Role of Individual Units in a Deep Neural Network"

30653Python, Jupyter NotebookApr 28, 20205 years agoNOASSERTION

Similar Papers

Cite this paper

@article{bau2020understanding,
  title  = {Understanding the Role of Individual Units in a Deep Neural Network},
  author = {David Bau and Jun-Yan Zhu and Hendrik Strobelt and Agata Lapedriza and Bolei Zhou and Antonio Torralba},
  year   = {2020},
  eprint = {2009.05041},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.05041}
}

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

Discussion