Deeply learned face representations are sparse, selective, and robust

Yi Sun, Xiaogang Wang, Xiaoou Tang

Abstract

DeepID2+ advances face recognition by scaling neural architectures and training data, achieving state-of-the-art accuracy on major benchmarks. Beyond performance, the study reveals that these networks naturally develop "brain-like" properties—becoming sparse, highly selective for specific identities and attributes, and remarkably robust to partial occlusions—without being explicitly programmed for these traits.

Introduction

By 2015, deep learning models were approaching human-level performance in face recognition. However, the internal mechanisms of these "black box" models remained poorly understood. Researchers sought to determine if these neurons were merely memorizing pixels or developing higher-level conceptual representations. This paper introduces DeepID2+ and performs an empirical "autopsy" on its neurons to evaluate three critical properties: sparsity (activation frequency), selectiveness (triggering conditions), and robustness (handling of corrupted data).

Methods

DeepID2+ improves upon its predecessor, DeepID2, through three primary enhancements:

  1. Increased Scale: The architecture utilizes 128 feature maps per convolutional layer and a 512-dimensional final representation layer.
  2. Massive Data: Training involved a dataset of approximately 290,000 images across 12,000 identities.
  3. Multi-layer Supervision: Fully-connected (FC) layers were attached to every convolutional layer, each trained with a joint "identification-verification" signal to ensure discriminative feature learning at all levels of abstraction.

Datasets and Evaluation

The model was trained on a combination of CelebFaces+, WDRef, and additional collected identities. Evaluation was conducted on the Labeled Faces in the Wild (LFW) benchmark for verification and the YouTube Faces (YTF) dataset for video-based recognition.

Analysis of Neural Representations

The authors discovered several emergent properties in the DeepID2+ neurons:

  • Moderate Sparsity: Approximately half of the neurons activate for any given image, and any single neuron is active for about half of the dataset. This "Goldilocks" balance optimizes the network's capacity to distinguish between millions of identity combinations.
  • Importance of Patterns: Recognition accuracy remains nearly identical (dropping only ~1%) when neural responses are binarized (1 for active, 0 for inactive). This indicates that the pattern of firing is more critical than the exact intensity.
  • Emergent Attribute Detectors: Despite no explicit attribute training, individual neurons became highly selective for traits like gender, race, or specific features (e.g., "Westerners" or "Baldness").
Figure 5: Neural activation patterns (middle) and selectivity histograms (right) for identity and gender. Note how the activation pattern for the same identity remains stable even under occlusion or pose changes.

Key Results

DeepID2+ achieved then-record-breaking results:

  • State-of-the-Art Accuracy: 99.47% on LFW and 93.2% on YTF, outperforming contemporary models like FaceNet and DeepFace.
  • Identification Power: On the challenging "open-set" identification task, it achieved an 80.7% Rank-1 detection rate.
  • Robustness to Occlusion: The model maintained over 90% accuracy even when 40% of the face was occluded. This resilience stems from higher-layer neurons capturing global facial structures rather than local pixel data.
Figure 1: Example of a face with partial occlusion used to test the robustness of the DeepID2+ representation.

Conclusion

The DeepID2+ architecture demonstrates that scaling data and supervision leads to representations that are not only more accurate but also more interpretable and robust. The discovery of identity-selective neurons suggests potential for more efficient binary face coding and improved large-scale retrieval systems. Future work may focus on narrowing the performance gap between binarized and real-valued features.

Summary updated

BibTeX
@inproceedings{sun2015deeply,
  author = {Yi Sun and Xiaogang Wang and Xiaoou Tang},
  title = {{Deeply learned face representations are sparse, selective, and robust}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7298907},
}
Figure