Interpreting Deep Visual Representations via Network Dissection.

Bolei Zhou, David Bau, Aude Oliva, Antonio Torralba · DOI

Abstract

Deep convolutional neural networks (CNNs) are often viewed as opaque "black boxes." This paper introduces Network Dissection, a scalable framework for automatically labeling individual hidden units with human-interpretable visual concepts. By quantifying the alignment between unit activations and a large-scale dataset of pixel-level annotations (Broden), the authors demonstrate that CNNs spontaneously learn to disentangle representations into semantic detectors for objects, parts, textures, and colors. This method allows for a quantitative comparison of interpretability across different architectures, training datasets, and optimization techniques.

Introduction

While CNNs have achieved state-of-the-art performance in computer vision, the nature of their internal representations remains poorly understood. A central question in deep learning research is whether these networks learn a "distributed" representation—where information is tangled across many neurons—or a "disentangled" one, where individual units correspond to specific, human-understandable concepts.

Previous attempts to interpret hidden units relied on manual inspection of top-activating image patches, a process that does not scale to modern architectures. This paper addresses the gap by proposing an automated, quantitative metric for interpretability, enabling researchers to move beyond qualitative anecdotes to rigorous cross-model comparisons.

The Network Dissection Framework

The authors propose an automated method to score the interpretability of any CNN without retraining or backpropagation. The process involves three primary steps:

  1. Activation Mapping: Images from a densely labeled dataset are passed through the network to collect activation maps for every hidden unit in a target layer.
  2. Thresholding: Each activation map is converted into a binary segmentation mask by identifying regions of high activation (e.g., the top 0.5% of pixels).
  3. Semantic Alignment: These unit masks are compared against ground-truth pixel-level annotations using the Intersection over Union (IoU) metric.
The Network Dissection pipeline: from input image to pixel-wise semantic evaluation.

A unit is classified as a "detector" for a specific concept if its IoU exceeds a predefined threshold. The interpretability of a layer is then defined by the number of unique concept detectors it contains.

The Broden Dataset

To support this framework, the authors introduced the Broadly and Densely Labeled Dataset (Broden). Broden unifies several existing datasets (including ADE20K, OpenSurfaces, and Pascal-Part) into a single resource with pixel-level ground truth for 1,197 visual concepts. These concepts span six categories: scenes, objects, parts, materials, textures, and colors, providing a comprehensive vocabulary for network interpretation.

Emergent Semantic Detectors

The most striking finding is that CNNs trained on standard classification tasks (like ImageNet or Places) spontaneously develop units that act as highly specific semantic detectors. These units do not just respond to low-level features like edges; they identify complex entities such as "airplane," "waterfall," or "wood texture."

Examples of individual hidden units that have learned to detect specific colors, textures, materials, parts, objects, and scenes.

Crucially, the authors discovered that this interpretability is axis-aligned. When a layer's representation is subjected to a random rotation—preserving the information content but mixing the "meaning" across neurons—the number of unique detectors drops precipitously. This suggests that CNNs have a natural inductive bias toward disentangling concepts into individual units.

Key Insights and Results

  • Accuracy vs. Interpretability: The research demonstrates that accuracy and interpretability are distinct properties. While deeper architectures like ResNet tend to be more interpretable than shallower ones like AlexNet, it is possible to maintain high accuracy while destroying interpretability (e.g., via rotation).
  • The Impact of Training Tasks: The semantics learned by a network are heavily influenced by its training objective. Networks trained on scene recognition (Places) develop a richer set of object detectors than those trained on object recognition (ImageNet), as scene identification necessitates recognizing constituent objects.
  • Optimization Effects: Surprisingly, Batch Normalization—while beneficial for training speed—tends to reduce unit interpretability by "whitening" activations. In contrast, Dropout was found to improve the emergence of interpretable units.

Conclusion

Network Dissection provides a powerful lens through which to view the internal logic of deep networks. By moving from qualitative visualization to quantitative measurement, this work opens new avenues for designing models that are not only accurate but also transparent. Future research will focus on expanding the concept vocabulary and developing training techniques that encourage interpretability without sacrificing performance.

Summary updated

BibTeX
@article{zhou2017interpreting,
  author = {Bolei Zhou and David Bau and Aude Oliva and Antonio Torralba},
  title = {{Interpreting Deep Visual Representations via Network Dissection.}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2017},
  doi = {10.1109/tpami.2018.2858759},
}
Figure