TL;DR
This paper investigates social biases in downstream applications of text-to-image diffusion models, specifically image editing and classification, using Stable Diffusion. They introduce a novel framework for probing these biases with synthetic images and find significant gender and racial stereotypes that can be amplified when optimizing for model performance.
What Problem Does This Paper Address?
Text-to-image diffusion models like Stable Diffusion are increasingly used in commercial applications beyond just generating novel images, such as editing existing photos and classifying images based on text prompts. While previous research has explored biases in image generation, the biases present in these downstream applications remain under-examined. This is a critical issue because biases in these applications can lead to discriminatory outcomes, reinforcing harmful stereotypes in real-world scenarios like professional headshot generation or job classification. The paper aims to fill this gap by developing and applying methods to uncover and quantify these biases in image editing and classification tasks.
Methods
The authors propose a framework for evaluating social biases in two downstream applications:
- Diffusion-based Image Editing: They use synthetic images and prompt the model to edit them for specific professions (e.g., "doctor," "dishwasher"). They then analyze changes in "protected attributes" like gender and skin tone using CLIP for gender classification and the Individual Typology Angle (ITA) for skin tone. They vary an "edit strength" parameter to see how it affects bias.
- Diffusion-based Classification: They leverage diffusion models as zero-shot classifiers. Given a neutral image and a text prompt describing a profession, the model's ability to denoise the image is used as a proxy for the likelihood of that profession. They test this with profession-neutral images of different social identities and analyze associations with male- vs. female-dominated professions. A key aspect here is varying the number of "noise samples" used in the classification objective, which is known to improve accuracy.
The core novelty lies in adapting bias testing methodologies to these specific downstream tasks and using synthetic data for flexibility and scalability.
Datasets
The study uses two types of datasets:
- Human-Curated Dataset: The Chicago Face Dataset (CFD), containing images of self-identified White and Black males and females.
- Synthetic Data: Images generated using Stable Diffusion v2.1, covering a range of intersectional social identities (Caucasian and African-American men and women).
For image editing, a subset of 25 images per social group was used. For classification, the entire datasets were utilized.
Key Insights and Ideas
- Biases Extend Beyond Generation: The study confirms that social biases are not confined to image generation but are also present and impactful in image editing and classification tasks.
- Stereotype Amplification: Optimizing diffusion models for performance in downstream tasks (e.g., increasing edit strength or the number of noise samples for classification) can inadvertently amplify existing social biases. This is a crucial finding, as it suggests that simply improving model accuracy might worsen fairness issues.
- Intersectional Biases: The research highlights significant biases across intersectional groups (e.g., Black females, Caucasian men), demonstrating that biases are not uniform across simple demographic categories.
- "White Default" and Gender Stereotypes: Similar to prior work, they observe trends towards skin lightening when editing images of non-white individuals for high-paid professions. They also find a notable tendency for women's images to be altered to male when editing for high-paid professions, and vice-versa for low-paid professions.
Key Results
- Image Editing:
- Editing images of women towards high-paid professions resulted in a significantly higher rate of unintended gender alteration (up to 81% for synthetic data) compared to men (6%).
- A trend towards skin lightening was observed when editing images of Black individuals into high-paid roles.
- High-paid edits showed a greater increase in skin lightening compared to low-paid edits.
- Image Classification:
- The classifier showed lower-than-neutral association towards male professions for images of women (e.g., 0.36 for synthetic data) and higher for images of men (e.g., 0.65 for synthetic data).
- Increasing ELBO samples (for better accuracy) intensified these biased associations. For example, the association for CFD images shifted from 0.16 to 0.36 as ELBO samples increased from 1 to 100.
Limitations and Future Work
- Generator Bias: The authors acknowledge that the text-to-image model itself might inject its own social biases into the generated test images, assuming these images are profession-neutral and diverse.
- CLIP Limitations: The use of CLIP for gender classification inherits its limitations, although it performed well on unedited images.
- Skin Tone Measurement: Skin tone calculation using ITA can be susceptible to image artifacts and low dynamic range.
- Future Work:
- Explore refined editing or classification prompts to mitigate biases.
- Investigate the fairness of diffusion-based classifiers for a broader range of intersectional social groups.
- Improve synthetic image generation control and post-generation normalization for more robust bias testing.
- Further research into understanding and improving the robustness and reliability of these models.
Summary updated