TL;DR
Instead of trying to classify the gender of people in AI-generated images—a task fraught with ethical and technical issues—this paper introduces the Gender Presentation Differences (GEP) framework to measure how text-to-image models alter a person's appearance attributes (like clothing) based on gender prompts. The authors develop a highly accurate automatic evaluation method using cross-modal classifiers trained purely on text, revealing that text-to-image models frequently amplify traditional gender stereotypes, even when explicitly instructed otherwise.
What Problem Does This Paper Address?
Auditing social bias in text-to-image models typically involves prompting a model with a neutral term (e.g., "a photo of a CEO") and using an automated classifier to guess the gender of the generated person. The authors point out two fundamental flaws with this approach:
- Ethical & Conceptual: A person's gender identity cannot and should not be inferred solely from visual appearance.
- Technical: Existing gender classification systems perform poorly on transgender and non-binary individuals.
To circumvent these issues, the authors flip the question: When we change the gender indicator in the text prompt, how does the model alter the presentation of the person in the generated image? Instead of guessing gender from an image, they explicitly inject gender terms ("a man", "a woman") and audit objective, fine-grained presentation attributes (e.g., whether the person is wearing a suit, a dress, or a tie).
Methods
The authors formalize their framework using three sets: Genders ($G$), Attributes ($A$), and Contexts ($C$). They evaluate text-to-image models under two distinct prompt settings:
- Neutral Setting: Prompts include only gender and context (e.g., "A man sitting at a table"). This reveals what attributes the model naturally associates with a gender.
- Explicit Setting: Prompts explicitly force an attribute into the text (e.g., "A woman in a tie holding an umbrella"). This tests if the model can successfully decouple attributes from gender stereotypes.
To scale the evaluation without relying on expensive human annotations, they introduce Cross-Modal Classifiers ($\text{GEP}_{\text{CLS}}$). Standard zero-shot CLIP similarity scores often struggle with fine-grained visual details because they compress entire images into a single scalar. To fix this, the authors train simple logistic regression classifiers directly on top of CLIP text embeddings using synthetic positive and negative sentences (e.g., "A man in jeans sitting at a table" vs. "A man sitting at a table"). Because CLIP aligns its text and image latent spaces, these text-only trained classifiers can accurately detect visual attributes in generated images.
Datasets
- ConceptNet: Used to curate a clean list of 15 visible, common, and context-agnostic clothing attributes (e.g., boots, dress, suit, tie, jeans).
- COCO Dataset: Human-related captions were mined to extract 16 diverse action contexts (e.g., “riding a bike”, “laying on a couch”).
- Human Benchmark Dataset: The authors generated 160 images for the neutral setting and 2,400 images for the explicit setting per model, which were annotated via Amazon Mechanical Turk to establish a ground-truth baseline.
- Artificial Datasets: Synthetic datasets containing 450–600 examples per model were constructed with controlled frequency differences to robustly validate the automatic metrics.
Key Insights and Ideas
- The Explicit Amplification Paradox: Intuitively, explicitly telling a model to generate a counter-stereotypical image (like a woman in a tie) should mitigate bias. However, the authors found that the explicit setting actually amplified presentation differences. Models like Stable Diffusion and CogView2 frequently failed or struggled to generate women wearing ties or men wearing dresses, showing that textual specifications cannot easily override deep-seated dataset biases.
- Leveraging Cross-Modal Alignment for Free Classifiers: The success of $\text{GEP}_{\text{CLS}}$ demonstrates that we can build highly effective image classifiers without using a single training image. By training purely on synthetic text embeddings within CLIP's shared space, the classifiers learn dimension-wise boundaries that generalize perfectly to images.
Key Results
- Model Evaluation: DALL-E 2 (via its API) demonstrated the lowest overall GEP score (12% in the explicit setting), meaning it presented genders most similarly and was best at adhering to counter-stereotypical prompts, while also maintaining the highest image quality (CLIP Score of 29.0). Stable Diffusion followed with a GEP score of 14%, and CogView2 trailed at 18%.
- Metric Accuracy: The proposed cross-modal classifier method ($\text{GEP}_{\text{CLS}}$) achieved a perfect Kendall’s Tau rank correlation (1.00) with human annotations when comparing overall model performance, vastly outperforming standard CLIP similarity baselines (0.466).
- Qualitative Stereotypes: In the neutral setting, traditional stereotypes strongly emerged across all models: "dress" and "skirt" had significantly higher frequencies for women, while "suit", "shirt", and "slacks" were heavily skewed toward men.
Limitations and Future Work
- Binary Gender Constraint: The study only evaluates "man" and "woman" indicators due to the limitations of current text-to-image training corpora. The authors emphasize that the framework itself is flexible and should be extended to non-binary identities as datasets improve.
- Lack of Real-World Baselines: The metric measures differences between how genders are generated, but it does not compare these to actual real-world demographic distributions of clothing. Therefore, it cannot definitively determine if a model's distribution is "amplified" relative to reality or simply reflecting it.
- Future Directions: The authors suggest adapting the GEP framework to audit racial stereotypes and integrating specialized fashion-centric computer vision models to further improve attribute detection accuracy.
Summary updated