[Paper Review] UDIS: Unsupervised Discovery of Bias in Deep Visual Recognition Models
UDIS is an unsupervised method that discovers bias in deep visual recognition models by identifying subpopulations where models systematically underperform, using hierarchical clustering of dataset embeddings and gradient-weighted class activation maps (GradCAM). It detects spurious correlations—such as misclassifying images with screens as 'cup' or associating teddy bears with 'bed'—without requiring protected attribute annotations, demonstrating effectiveness on CelebA and MSCOCO datasets.
Deep learning models have been shown to learn spurious correlations from data that sometimes lead to systematic failures for certain subpopulations. Prior work has typically diagnosed this by crowdsourcing annotations for various protected attributes and measuring performance, which is both expensive to acquire and difficult to scale. In this work, we propose UDIS, an unsupervised algorithm for surfacing and analyzing such failure modes. UDIS identifies subpopulations via hierarchical clustering of dataset embeddings and surfaces systematic failure modes by visualizing low performing clusters along with their gradient-weighted class-activation maps. We show the effectiveness of UDIS in identifying failure modes in models trained for image classification on the CelebA and MSCOCO datasets.
Motivation & Objective
- To address the challenge of detecting bias in deep learning models without relying on costly, manual annotations of protected attributes such as race or gender.
- To develop an unsupervised method that identifies subpopulations where model performance drops significantly, indicating potential failure modes due to spurious correlations.
- To enable scalable, automated auditing of deep learning models for bias before deployment in real-world applications.
- To visualize and analyze these failure modes using GradCAM to help model developers interpret and diagnose bias.
- To demonstrate the method’s effectiveness on real-world datasets like CelebA and MSCOCO, where it uncovers contextually spurious correlations.
Proposed method
- UDIS performs hierarchical clustering on deep feature embeddings extracted from the test set of a trained model to discover subpopulations with distinct activation patterns.
- It identifies low-performing clusters—those with significantly lower accuracy than the overall test set—indicating systematic failure modes.
- For each low-performing cluster, UDIS generates GradCAM heatmaps to visualize which image regions the model focuses on during prediction.
- The method leverages the model’s attention maps to reveal whether predictions are driven by relevant features or irrelevant spurious cues (e.g., hair color, collars, screens).
- UDIS operates solely on the test split and does not require any annotations for protected attributes, making it scalable and cost-effective.
- The approach is applied to models trained on CelebA (smiling prediction) and MSCOCO (multilabel classification), revealing biases such as overreliance on screens for 'cup' or teddy bears for 'bed'.
Experimental results
Research questions
- RQ1Can an unsupervised method detect subpopulations where deep visual models systematically underperform without requiring protected attribute annotations?
- RQ2What types of spurious correlations—such as reliance on irrelevant image regions—do models learn that lead to performance drops on specific subpopulations?
- RQ3How effective is UDIS in uncovering failure modes related to contextually biased features (e.g., screens, hats, hair color) in real-world datasets?
- RQ4To what extent can GradCAM visualizations help interpret and validate the nature of discovered failure modes?
- RQ5Does UDIS reveal biases that align with known cultural or dataset biases, such as overgeneralization to specific attributes like race or gender?
Key findings
- UDIS successfully identified a cluster in the biased CelebA dataset where the model focused on the hair region, indicating a learned bias toward the 'Black Hair' attribute, even though this feature is irrelevant to smiling prediction.
- On the MSCOCO dataset, UDIS discovered that the model overpredicted 'cup' when a screen was present in the image, revealing a spurious correlation between screens and cups.
- The method also uncovered a bias where the model predicted 'bed' when a teddy bear appeared, even without a bed, indicating a learned correlation between teddy bears and beds.
- GradCAM visualizations confirmed that models were attending to irrelevant image regions—such as collars or hair—rather than the actual target (e.g., mouth for smiling), suggesting model instability due to spurious features.
- UDIS detected failure modes across multiple clusters without any protected attribute annotations, demonstrating its scalability and unsupervised nature.
- The tool revealed that model performance dropped significantly in specific subpopulations, with visual explanations showing that attention was misdirected to non-relevant image regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.