Understanding the role of individual units in a deep neural network - Robotics Institute Carnegie Mellon University

Understanding the role of individual units in a deep neural network

David Bau, Jun-Yan Zhu, Hendrik Strobelt, Agata Lapedriza, Bolei Zhou, and Antonio Torralba
Journal Article, PNAS 2020: Arthur M. Sackler Colloquium of the National Academy of Sciences, “The Science of Deep Learning”, Vol. 117, No. 48, pp. 30071 - 30078, December, 2020

Abstract

Deep neural networks excel at finding hierarchical representations that solve complex tasks over large datasets. How can we humans understand these learned representations? 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.

Notes
The code, trained model weights, and datasets needed to reproduce the results in this paper are public and available to download from GitHub at https://github.com/davidbau/dissect and at the project website at https://dissect.csail.mit.edu/data/.

BibTeX

@article{Bau-2020-125665,
author = {David Bau and Jun-Yan Zhu and Hendrik Strobelt and Agata Lapedriza and Bolei Zhou and Antonio Torralba},
title = {Understanding the role of individual units in a deep neural network},
journal = {PNAS 2020: Arthur M. Sackler Colloquium of the National Academy of Sciences, “The Science of Deep Learning”},
year = {2020},
month = {December},
volume = {117},
number = {48},
pages = {30071 - 30078},
}