Prompting Away Stereotypes? Evaluating Bias in Text-to-Image Models for Occupations

Shaina Raza, Maximus Powers, Partha Pratim Saha, Mahveen Raza, Rizwan Qureshi
8/31/2025
cs.CL

Official code: maximus-powers/img-gen-bias-analysis (0 stars, MIT, last commit 2025-08-27).

Abstract

Text-to-Image (TTI) models are powerful creative tools but risk amplifying harmful social biases. We frame representational societal bias assessment as an image curation and evaluation task and introduce a pilot benchmark of occupational portrayals spanning five socially salient roles (CEO, Nurse, Software Engineer, Teacher, Athlete). Using five state-of-the-art models: closed-source (DALLE 3, Gemini Imagen 4.0) and open-source (FLUX.1-dev, Stable Diffusion XL Turbo, Grok-2 Image), we compare neutral baseline prompts against fairness-aware controlled prompts designed to encourage demographic diversity. All outputs are annotated for gender (male, female) and race (Asian, Black, White), enabling structured distributional analysis. Results show that prompting can substantially shift demographic representations, but with highly model-specific effects: some systems diversify effectively, others overcorrect into unrealistic uniformity, and some show little responsiveness. These findings highlight both the promise and the limitations of prompting as a fairness intervention, underscoring the need for complementary model-level strategies. We release all code and data for transparency and reproducibility https://github.com/maximus-powers/img-gen-bias-analysis.

View on arXivView PDF

Code Implementations(1)

MIT

Analysis results of racial and gender bias in image generation across occupations by FLUX Dev, dall-e 3, SDXL Turbo, Grok-2 Image, Gemini Imagen 4.0

00Python, Jupyter NotebookAug 25, 20251 years agoMIT

Similar Papers

Cite this paper

@article{raza2025prompting,
  title  = {Prompting Away Stereotypes? Evaluating Bias in Text-to-Image Models for Occupations},
  author = {Shaina Raza and Maximus Powers and Partha Pratim Saha and Mahveen Raza and Rizwan Qureshi},
  year   = {2025},
  eprint = {2509.00849},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.00849v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.00849.svg)](https://codeofpaper.com/paper/2509.00849)

Discussion