Single Unit Status in Deep Convolutional Neural Network Codes for Face Identification: Sparseness Redefined

Connor J. Parde, Y. Ivette Colón, Matthew Q. Hill, Carlos D. Castillo, Prithviraj Dhar, Alice J. O'ToolearXiv 2020

In the quest to understand how Deep Convolutional Neural Networks (DCNNs) achieve human-like performance in face recognition, researchers have often looked for "feature detectors"—single units specialized for gender, age, or specific facial parts. However, a recent paper by Parde et al. suggests we’ve been looking at it all wrong. By dissecting the top-layer representations of a state-of-the-art network, the authors reveal that "meaning" in these networks isn't found in individual units, but in the high-dimensional directions of the ensemble.

TL;DR

DCNNs for face identification don't rely on specialized "feature detector" units; instead, identity, gender, and viewpoint are encoded as distinct directions in a high-dimensional space. Individual units are "confounded," meaning every single unit contributes to multiple attributes simultaneously, challenging the traditional neural tuning analogy used in visual neuroscience.

What Problem Does This Paper Address?

Visual neuroscience has long debated whether the brain uses sparse codes (a few highly specialized neurons) or distributed codes (many neurons working together) to represent complex objects like faces. As DCNNs have become the standard model for high-level vision, researchers have tried to map these biological concepts onto artificial units.

The challenge is that while we can see that a DCNN works, we don't fully understand how the 512-dimensional vector at the top of a face-recognition network organizes information. Does one unit "do" gender while another "does" identity? Or is the information hopelessly tangled? This paper aims to "dissect" this representation to see how identity, gender, and viewpoint are distributed across the network's units.

Methods

The researchers used a ResNet-101 architecture trained for face identification on a massive dataset of 5.7 million images. They focused their analysis on the 512-unit penultimate layer—the "face descriptor."

To probe the code, they employed two main strategies:

  1. Unit-Level Analysis: They created "abbreviated" versions of the face descriptor by randomly deleting units (dropping from 512 down to just 2) to see how performance on identity, gender, and viewpoint tasks degraded. They also used ANOVA to calculate the "effect size" ($r^2$) of each attribute on every single unit.
  2. Ensemble-Level Analysis: They performed Principal Component Analysis (PCA) on the descriptors. By rotating the 512-D space, they looked for specific "directions" (subspaces) that might be specialized for different attributes.

Datasets

  • Training: The "Universe" dataset, a combination of UMDFaces, UMDVideos, and MS-Celeb-1M.
  • Testing: The IJB-C (Janus Benchmark-C) dataset, using over 22,000 images of 3,531 identities. This dataset is known for its "in-the-wild" variability in viewpoint and illumination.

Key Insights and Ideas

  • The "Jack of All Trades" Unit: The most striking finding is that individual units are confounded. As shown in Figure 5, the response of a single unit is influenced by identity, gender, and viewpoint all at once. There is no "gender unit."
Confounding of unit responses
  • Identity is Everywhere: Identity information is incredibly robust and distributed. You can throw away 97% of the units, and the remaining 16 units can still identify 3,000+ people with near-perfect accuracy.
  • Meaning as Direction: While units are confounded, the attributes do separate at the ensemble level. PCA reveals that identity, gender, and viewpoint occupy different high-dimensional subspaces. The network prioritizes identity (the primary training task), which explains about 70% of the variance in unit responses, while gender and viewpoint are "tucked" into lower-variance dimensions.
  • A Challenge to Neuroscience: The authors argue that the "neural tuning" analogy—where we characterize a neuron by what it responds to—is misleading for high-level vision. Instead, units should be viewed as arbitrary organizational axes in a space where the directions carry the semantic weight.

Key Results

  • Identity Robustness: Identification accuracy (AUC) remained near 1.0 even when the descriptor was reduced to 16 units. Even with just 2 units, the network achieved an AUC of 0.72, far above chance.
Identification accuracy vs dimensionality
  • Attribute Hierarchy: Gender classification (91.1% with all units) and viewpoint estimation (7.35° error) were much more sensitive to unit deletion than identity. Viewpoint prediction fell to chance when fewer than 32 units were used.
  • Effect Sizes: On average, identity variation explained 69.1% of a single unit's variance. In contrast, gender and viewpoint explained less than 1% each at the unit level, despite being highly predictable from the full ensemble.

Limitations and Future Work

The study focuses exclusively on the top layer of the DCNN. It remains possible that lower layers exhibit more "feature-like" tuning that is then integrated into the distributed code at the top. Additionally, the specific way the network was trained (using Crystal Loss for identification) likely dictates this specific spatial organization; different loss functions might yield different representational structures.

Future work could investigate whether these confounded representations are a necessary feature of robust recognition or if "disentangled" representations could achieve similar performance while being more interpretable.

Summary updated

BibTeX
@misc{parde2020single,
  author = {Connor J. Parde and Y. Ivette Colón and Matthew Q. Hill and Carlos D. Castillo and Prithviraj Dhar and Alice J. O'Toole},
  title = {{Single Unit Status in Deep Convolutional Neural Network Codes for Face Identification: Sparseness Redefined}},
  year = {2020},
  eprint = {2002.06274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.06274},
}
Figure