Explaining Deep Face Algorithms through Visualization: A Survey

Thrupthi Ann John, Vineeth N Balasubramanian, C. V. JawahararXiv 2023

TL;DR

This paper presents the first comprehensive meta-analysis of explainability (XAI) methods specifically for deep face models, revealing that generic visualization tools often fail on the highly structured domain of human faces. The authors propose a new taxonomy for face-specific XAI and demonstrate through a user study that practitioners and end-users have vastly different needs for understanding model decisions.

What Problem Does This Paper Address?

Deep learning models for face-related tasks—such as recognition, emotion detection, and age estimation—now frequently outperform humans. However, these models remain "black boxes." We don't truly understand why a model thinks a person looks "happy" or why it might misidentify a face under certain lighting.

This lack of transparency is a major hurdle for "safety-critical" applications like fraud detection or autonomous driving. Most existing Explainable AI (XAI) methods were designed for general object recognition (e.g., distinguishing a cat from a dog). When applied to faces, these generic methods often produce uninformative results because they don't account for the unique, highly structured geometry of the human face. The authors aim to bridge this gap by surveying, adapting, and evaluating XAI specifically for the face domain.

Methods

The authors categorize and evaluate XAI methods through several lenses:

  • A New Taxonomy: They classify methods along four dimensions: Why (the goal, e.g., assisting humans), What (the component being explained), When (applied during or after training), and Scope (explaining a single input vs. the whole model).
  • Saliency Maps: These highlight which parts of an input image were most important for a prediction. The authors compare generic methods like GradCAM against face-specific adaptations like Occlusion-based maps.
  • Structural Visualization: This includes Feature Visualization (generating images that maximally activate specific neurons) and Feature Inversion (reconstructing an image from its internal neural representation) to see what information the network retains at different layers.
  • Concept-based Explanations: Methods that attempt to align internal neural "features" with human-understandable concepts like "mustache," "glasses," or "smile."
  • User Study: A survey of 101 participants (ranging from AI experts to laypeople) to determine which types of visualizations actually help people understand model decisions.
The authors' taxonomy for categorizing explainability methods.

Datasets

The paper utilizes several standard benchmarks to demonstrate and evaluate XAI techniques:

  • VGG-Face: Used extensively for visualizing saliency, feature inversion, and internal representations.
  • CelebA: Referenced for its 40 facial attribute labels, which serve as a basis for "concept-based" explanations.
  • Broden Dataset: Used as a reference for general-purpose visual concepts.
  • Cohn-Kanade (CK+): Mentioned in the context of emotion recognition tasks.

Key Insights and Ideas

  • Faces are Special: Generic XAI methods like GradCAM often fail on faces, frequently just highlighting the center of the head regardless of the task. Because faces share a rigid structure (eyes above nose, nose above mouth), explanations must be fine-grained to be useful.
Comparison showing that generic GradCAM (top) fails to distinguish between 'happy' and 'sad' features, while face-specific Occlusion (bottom) succeeds.
  • Task-Specific Saliency: Different face tasks "look" at different things. Recognition models focus on the "eye-nose triangle," gender classification relies on the corners of the eyes, and emotion recognition emphasizes the curves of the mouth and eyebrows.
  • The "Goldilocks Zone" of Detail: Visualizations that are too fine (like edge detectors) or too coarse (large blobs) are difficult for humans to interpret. Mid-level detail that highlights recognizable facial parts is the most effective.
  • The Preference Gap: There is a significant divide between AI practitioners and end-users. Developers often find internal feature maps useful for debugging, whereas end-users overwhelmingly prefer saliency heatmaps overlaid on the original image to understand a specific decision.

Key Results

  • Qualitative Failure of Generic XAI: The authors demonstrate that without modification, popular methods like GradCAM provide almost identical heatmaps for different identities and tasks, rendering them useless for face analysis.
  • Success of Face-Specific Adaptations: Methods like "Canonical Saliency Maps" (CMS), which map heatmaps onto a neutral frontal face, allow for much clearer comparisons across different images and tasks.
  • User Study Findings: Saliency maps were the most preferred explanation type overall. However, deep learning practitioners were significantly more likely to value structural visualizations (like feature maps) compared to non-experts.

Saliency maps for an 'Identity' task, showing focus on central facial features. Saliency maps for an 'Emotion' task, showing a different focus compared to identity.

Limitations and Future Work

  • Lack of Tailored Tools: Despite the importance of face AI, very few XAI algorithms are currently designed specifically for this domain.
  • Evaluation Challenges: There is a need for more robust, face-specific quantitative metrics to measure how "faithful" an explanation is to the model's actual logic.
  • Human-in-the-loop: The authors emphasize that end-users must be involved in the design process of XAI tools to ensure they are actually helpful for decision-making in the real world.
  • Intrinsic Interpretability: Most current work is "post-hoc" (explaining a pre-trained model). Future research should focus on building models that are interpretable by design without sacrificing accuracy.

Summary updated

BibTeX
@misc{john2023explaining,
  author = {Thrupthi Ann John and Vineeth N Balasubramanian and C. V. Jawahar},
  title = {{Explaining Deep Face Algorithms through Visualization: A Survey}},
  year = {2023},
  eprint = {2309.14715},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.14715},
}
Figure