Towards Interpretable Face Recognition

Bangjie Yin, Luan Tran, Haoxiang Li, Xiaohui Shen, Xiaoming Liu

TL;DR

This paper introduces a method to make face recognition models "interpretable" by forcing individual neural network filters to specialize in specific facial parts (like the nose or eyes). By employing two novel loss functions—Spatial Activation Diversity (SAD) and Feature Activation Diversity (FAD)—the researchers achieved state-of-the-art accuracy while gaining significant robustness to occlusions and a clear window into how the model "sees" a face.

What Problem Does This Paper Address?

Deep Convolutional Neural Networks (CNNs) are notoriously "black boxes." While they excel at face recognition, it is often unclear which visual cues they prioritize. Standard training usually results in filters with wide-spreading, overlapping attentions that are difficult for humans to interpret.

Furthermore, real-world face recognition faces the challenge of occlusions (e.g., sunglasses, scarves, or hands). Traditional models often struggle when parts of the face are hidden because their internal representations are entangled. Previous attempts to force "interpretability" (like making filters represent specific object parts) often resulted in a significant drop in recognition accuracy, making them impractical for production systems.

Methods

The authors propose a framework that encourages a structured, part-based representation without sacrificing performance. Their architecture is a Siamese network trained with two primary innovations:

  1. Spatial Activation Diversity (SAD) Loss: This loss encourages filters to be both diverse and localized. It penalizes correlations between different filters' weights and their response maps. To ensure these responses are "peaky" (focused on small areas) rather than spread out, they introduce Large Magnitude Filtering (LMF). LMF keeps only the top $d\%$ of activations in a feature map before global average pooling, allowing the model to maintain high accuracy while focusing on specific landmarks.
  2. Feature Activation Diversity (FAD) Loss: To handle occlusions, the model is trained on pairs of images: one clean and one with a synthetic warped mask (see Figure 3). The FAD loss enforces that an occlusion in one local area should only affect a small subset of the final feature vector. This "disentangles" the representation, ensuring that if a nose is covered, the "eye filters" and "jaw filters" remain unaffected and can still be used for identification.
Figure 2. The overall network architecture of the proposed framework. While the Spatial Activation Diversity (SAD) loss promotes structured feature responses, Feature Activation Diversity (FAD) loss enforces them to be insensitive to local changes (occlusions).

Datasets

The models were trained and evaluated on several large-scale benchmarks:

  • Training: CASIA-WebFace (approx. 0.5M images) and a cleaned version of MS-Celeb-1M.
  • Testing/Evaluation:
    • IJB-A & IJB-C: Standard "in-the-wild" benchmarks. The authors specifically utilized the occlusion labels in IJB-C to test robustness.
  • AR Face Database: Used specifically for testing natural occlusions like sunglasses and scarves.

Key Insights and Ideas

  • Interpretability as a Regularizer: Instead of interpretability being a burden, the authors show that forcing filters to specialize in semantic parts (eyes, nose, mouth) acts as a powerful regularizer that actually improves robustness.
  • The "Peaky" Requirement: Standard global average pooling tends to smooth out activations. By using LMF to keep only the strongest signals, the model is forced to find distinct, high-confidence landmarks rather than relying on a fuzzy average of the whole face.
  • Semantic Consistency: As shown in Figure 1, the learned filters are remarkably consistent. Filter 3 consistently tracks eyes, while Filter 5 tracks the nose, regardless of the person's identity or head pose.
Figure 1. An example on the behaviors of an interpretable face recognition system: left most column is three faces of the same identity and right six columns are filter responses from six filters; each filter captures a clear and consistent semantic face part, e.g., eyes, nose, and jaw; heavy occlusions, eyeglass or scarf, alternate responses of corresponding filters and make the responses being more scattered, as shown in red bounding boxes.

Key Results

  • Accuracy: On the IJB-A benchmark, the proposed ResNet50-based model achieved a Verification Rate of 94.6% (at FAR=.01), which is competitive with or superior to non-interpretable state-of-the-art models.
  • Occlusion Robustness: The performance gains were most dramatic on occluded data. On the IJB-A synthetic occlusion set, their CASIA-Net version improved the Verification Rate from 61.8% (base) to 76.2%.
  • Qualitative Spread: Figure 5 demonstrates the "spreadness" of filter peaks. In the base CNN (a), filters cluster near the center. In the proposed model (c), filters are distributed across the entire facial structure, confirming the success of the SAD loss.
Comparison of filter peak locations between the base CNN and the proposed interpretable model, showing much wider spatial distribution in the latter.

Limitations and Future Work

While the method is "model-agnostic," the paper primarily demonstrates it on CASIA-Net and ResNet50. The training process requires synthetic occlusion generation, which adds some complexity to the data pipeline.

A promising future direction mentioned is partial face retrieval. Because the representation is part-based, one could theoretically search a database for "people with similar noses" by simply masking out all dimensions of the feature vector except those corresponding to the "nose filters." The authors provide a brief proof-of-concept for this, suggesting applications beyond simple identification.

Summary updated

BibTeX
@misc{yin2018towards,
  author = {Bangjie Yin and Luan Tran and Haoxiang Li and Xiaohui Shen and Xiaoming Liu},
  title = {{Towards Interpretable Face Recognition}},
  year = {2018},
  eprint = {1805.00611},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.00611},
}
Figure