Abstract
Deep learning models for facial analysis often act as "black boxes," making it difficult to detect and mitigate biases. This paper introduces Hierarchical Network Dissection, a framework that maps internal neurons to a structured "Face Dictionary" of global traits and local attributes. By accounting for spatial overlap and hierarchical relationships, the method provides a granular understanding of model decision-making, revealing how specific tasks and training data biases influence internal representations.
Introduction
Deep learning models for face recognition, age estimation, and attribute classification are pervasive yet prone to biases, often underperforming on marginalized groups. To address these issues, it is essential to understand what individual neurons (units) within these networks are actually detecting. While existing tools like Network Dissection work well for object-centric scenes, they struggle with faces due to spatial overlap—where a single pixel region can represent a part, an attribute, and an action simultaneously—and global concepts like age or ethnicity that are not tied to specific locations.
Methodology: Hierarchical Network Dissection
The proposed framework addresses these challenges through a three-stage probabilistic pipeline that maps network units to a specialized "Face Dictionary."
The Face Dictionary
The dictionary comprises 12 global concepts (e.g., age, gender, ethnicity, skin tone) and 38 local concepts. Local concepts are further categorized into facial parts (e.g., eyes, mouth), attributes (e.g., eyeglasses, mustache), and Action Units (AUs) representing specific muscle movements.
The Dissection Pipeline
The dissection process follows a hierarchical pairing strategy:
- Global Pairing: Units are paired with global traits using a ranking system based on activation strength across diverse subgroups.
- Facial Part Localization: Traditional Intersection over Union (IoU) metrics identify units that localize specific facial regions.
- Local Attribute/AU Identification: Within identified regions, a probabilistic hierarchy distinguishes between overlapping concepts, such as determining if a "mouth" unit specifically detects "smiling."
Experimental Results and Insights
The authors evaluated models trained on various datasets, including IMDB-WIKI (age/gender), SCUT-FBP5500 (beauty), and FairFace (recognition).
Enhanced Interpretability
The hierarchical approach identified 70-80% of units as interpretable, a significant improvement over the 50-60% achieved by standard methods. This higher coverage allows for a more complete understanding of the model's internal logic.
Task-Specific Representations and Bias Detection
The framework revealed that models learn distinct internal "languages" based on their training objectives. For instance, a "Beauty" classifier was found to rely heavily on Action Units, suggesting it equates specific expressions with attractiveness.
Crucially, the tool can quantify hidden biases. In a smile classification model, units were found to be highly correlated with female concepts. This was traced back to a gender-skewed training dataset (60% female), where the model used gender as a shortcut for smile detection. Controlled experiments further demonstrated that the framework could "catch" a model learning intentional biases, such as associating "males" with "eyeglasses."
Conclusion
Hierarchical Network Dissection provides a powerful lens for auditing face-centric AI. By moving beyond simple localization to a structured, hierarchical understanding of facial features, it enables developers to identify and quantify the specific internal representations that lead to biased outcomes. Future work will focus on expanding the Face Dictionary and utilizing these insights to develop automated de-biasing strategies.
Summary updated