Face identity coding in the deep neural network and primate brain

Jinge Wang, Runnan Cao, Nicholas Brandmeir, Xin Li, Shuo WangCommunications 2022

Abstract

A central challenge in face perception research is to understand how neurons encode face identities. This challenge has not been met largely due to the lack of simultaneous access to the entire face processing neural network and the lack of a comprehensive multifaceted model capable of characterizing a large number of facial features. Here, we addressed this challenge by conducting in silico experiments using a pre-trained face recognition deep neural network (DNN) with a diverse array of stimuli. We identified a subset of DNN units selective to face identities, and these identity-selective units demonstrated generalized discriminability to novel faces. Visualization and manipulation of the network revealed the importance of identity-selective units in face recognition. Importantly, using our monkey and human single-neuron recordings, we directly compared the response of artificial units with real primate neurons to the same stimuli and found that artificial units shared a similar representation of facial features as primate neurons. We also observed a region-based feature coding mechanism in DNN units as in human neurons. Together, by directly linking between artificial and primate neural systems, our results shed light on how the primate brain performs face recognition tasks.

Introduction: The Mystery of Identity

A fundamental mystery in neuroscience is how the brain transforms raw visual input—pixels on a screen or light on a retina—into the abstract concept of an "identity." Historically, two competing theories have dominated: exemplar-based models, which suggest highly specific "Grandmother Cells" respond to single individuals, and feature-based models, which propose that identity is represented by the broad, distributed activation of many neurons responding to various facial features.

The difficulty in resolving this debate stems from the inability to access the entire neural network of a living brain simultaneously. This study bridges that gap by using a pre-trained deep neural network (DNN) as a "glass box" model, allowing for exhaustive analysis of every artificial "neuron" and direct comparison with single-neuron data from monkey inferotemporal (IT) cortex and human medial temporal lobe (MTL).

Methods and Data

The researchers utilized VGG-16, a classic convolutional neural network architecture pre-trained for face recognition. To identify "identity-selective units," they used ANOVA to find units responding significantly differently to various identities. They also performed "lesion" studies and weight-shuffling to test the functional necessity of these units.

The AI's representations were compared to biological data from 53 multiunit activity (MUA) channels in monkeys and 667 single neurons in human neurosurgical patients. Using Representational Similarity Analysis (RSA), the team compared the "face space"—the mathematical distance between different faces—constructed by the DNN layers with the firing patterns of real primate neurons.

Stimuli included:

  • CelebA: 50 identities for primary experiments.
  • Generalization Sets: Cartoon styles (via CartoonGAN), Mooney faces (high-contrast), and caricatures to test if units were truly identity-selective rather than just pixel-selective.
  • Controls: Inverted faces and non-face objects from ImageNet.

Key Insights: Identity-Selective Units

The study found that a specific subset of units drives the network's ability to recognize people. These units are not just memorizing training data; they generalize to cartoons and caricatures, mirroring the human ability to recognize stylized drawings.

Response profile of a single-identity (SI) unit in the FC6 layer of the DNN, showing a clear preference for a specific identity index.

When these identity-selective units are "lesioned," the network's performance collapses, whereas removing non-selective units has a minimal impact. The researchers distinguished between "Single-Identity" (SI) units, which respond to one individual, and "Multiple-Identity" (MI) units.

Hierarchical Alignment and Sparsity

The DNN's layers align with the primate visual hierarchy. Intermediate layers correlate most strongly with the monkey IT cortex (object/face perception), while final layers correlate with the human MTL (memory/high-level concepts).

The maximum number of encoded identities per unit increases as information moves from early convolutional layers to the fully connected layers.

The percentage of identity-selective units and the complexity of their encoding increase in later layers of the DNN. This progression represents a shift from simple feature detection to holistic identity representation.

Conclusion: A Shared Computational Strategy

Perhaps the most striking finding is that both DNN units and human neurons use "region-based" coding. Instead of responding to a linear axis (like "nose length"), they respond to a specific "neighborhood" or cluster in a multi-dimensional feature space.

While the study achieved high accuracy (94.2%) and significant neural correlation, limitations remain. Most faces were frontal and neutral, and the focus was on VGG-16. Future work should explore more diverse head angles, emotional expressions, and modern architectures like Transformers to determine if these coding principles are universal across AI and biological designs.

Summary updated

BibTeX
@inproceedings{wang2022face,
  author = {Jinge Wang and Runnan Cao and Nicholas Brandmeir and Xin Li and Shuo Wang},
  title = {{Face identity coding in the deep neural network and primate brain}},
  booktitle = {Communications},
  year = {2022},
  doi = {10.1038/s42003-022-03557-9},
}
Figure