NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Revisiting the Importance of Individual Units in CNNs via Ablation

Bolei Zhou, Yiyou Sun, David Bau, Antonio TorralbaarXiv 2018

Abstract

While removing a single neuron in a Convolutional Neural Network (CNN) barely nudges the needle on overall accuracy, it can significantly devastate the performance of specific classes. This research demonstrates that individual units function as highly specialized "concept detectors," and their importance is often masked by aggregate metrics like top-1 accuracy. By shifting the focus from global network performance to class-specific impact, we reconcile the debate between distributed representations and specialized unit theories.

Introduction

In the quest to understand deep learning, researchers have long debated the role of individual neurons (units). Visualization techniques often suggest units act as "detectors" for specific concepts like textures, dog heads, or wheels. However, recent studies challenged this, showing that "class-selective" units aren't necessarily more important than any other unit for a model's overall accuracy. This creates a paradox: if neurons are meaningful detectors, why doesn't the model break when we remove them? This paper addresses this gap by analyzing class-specific accuracy drops following unit ablation.

Methodology

The authors employ unit ablation—systematically "turning off" individual neurons by setting their weights and biases to zero—and measuring the resulting performance degradation.

Metrics and Predictive Attributes

The study distinguishes between Overall Accuracy Drop (average across all classes) and Max Class Accuracy Drop (impact on the single most affected class). To understand what makes a unit important, several properties were tested:

  • L1 Norm: The magnitude of the unit's weights.
  • Class Selectivity: The degree to which a unit activates for one class versus others.
  • Class Correlation: The statistical correlation between unit activation and predicted class probability.
  • Concept Alignment: Using "Network Dissection" to measure how well a unit's activation mask aligns with human-labeled semantic concepts (e.g., identifying a "bed" detector).

Experimental Setup

Experiments were conducted on AlexNet and ResNet18 architectures using two standard benchmarks: ImageNet (1.2 million images, 1,000 classes) and Places365 (1.6 million images, 365 scene categories).

Specialization and Class-Specific Impact

The core finding is that while a unit might contribute only a fraction of a percent to overall accuracy, it can be critical for specific classes. For instance, ablating a "bed" detector unit in a scene-recognition model significantly hurts the "bedroom" and "youth hostel" classes while leaving unrelated classes like "forest" or "ocean" untouched.

Impact of ablating Unit 115 on class-specific accuracy. While overall accuracy drops only 0.2%, specific classes like "youth_hostel" see a 23% decline.

Contrary to previous claims, class selectivity is a strong predictor of class-specific importance. The more selective a unit is for a concept, the more that class suffers when the unit is removed. Furthermore, the simple L1 norm of a unit's weights serves as a robust proxy for both overall and class-specific importance.

Key Results

  • Class Collapse: In AlexNet-Places, ablating the top 5 most informative units for a specific class leads to a 28% drop in that class's accuracy. Removing 10-15 units can reduce accuracy to near zero.
  • Units vs. Random Directions: Individual units are significantly more important for generalization than random directions in the representation space, suggesting that training naturally aligns meaningful concepts with individual neurons.
  • Predictability: Using Concept Alignment, the authors could predict which class a unit was most important for with ~38% accuracy, far exceeding the random baseline.
  • Regularization Effects: Batch Normalization and Dropout tend to "smear" information across many neurons. While this makes the network more robust, it reduces the interpretability and individual importance of single units.

Discussion and Limitations

This research highlights a tension between performance and interpretability. Regularization techniques improve generalization but make models harder to "read" at the unit level. While ablation proves a unit is necessary for a class, it does not fully explain the sufficiency or the complex interactions within a distributed system. Future work should explore whether these findings hold for modern architectures like Vision Transformers (ViTs), where the fundamental units of processing differ significantly from CNNs.

Summary updated

BibTeX
@misc{zhou2018revisiting,
  author = {Bolei Zhou and Yiyou Sun and David Bau and Antonio Torralba},
  title = {{Revisiting the Importance of Individual Units in CNNs via Ablation}},
  year = {2018},
  eprint = {1806.02891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.02891},
}
Figure