Back to AI News
arxiv

Surrogate Model Audits Demographic Bias in Text-to-Image Systems Without Generating Images

Researchers propose a surrogate framework that predicts the demographic distribution of a text-to-image model's generated images directly from prompts, avoiding large image-generation and classification batches. The surrogate can use the target model's text encoder or an external encoder, making it applicable to API-only systems without weight access. Evaluated on prompts for FLUX.2-klein, SDXL Turbo and Z-Image Turbo, it improved gender bias-detection accuracy by 11-25% over baselines and showed consistent gains on race. The efficiency enabled testing 9,396 object-activity combinations and improved an existing debiasing pipeline's gender fairness score from 0.62 to 0.74.

AI Brief

It offers a practical, code-backed method for auditing text-to-image bias at scale before image generation, including for closed API models.

arXiv:2612.03974v1 Announce Type: cross Abstract: Text-to-image (T2I) models reproduce demographic biases from their training data, but auditing this bias traditionally requires generating and classifying large image batches for every evaluated prompt. We train a surrogate that predicts the demographic distribution of a model's generated images directly from the prompt, so new prompts can be audited without generating any images. The surrogate can reuse the target model's own text encoder, or use an external encoder that requires no access to the model's weights, making it also suitable for API-only systems. We construct a dataset of long and short prompts paired with measured gender and race distributions for three T2I models (FLUX.2-klein, SDXL Turbo, Z-Image Turbo), on which our surrogate improves gender bias-detection accuracy by 11-25% over the strongest text-based or diffusion-internal baseline, with consistent gains on race. Since each audit takes a single forward pass, we can compare bias across models and find concepts and words whose demographic skew differs sharply between them. This efficiency also lets us test all 9,396 object-activity combinations, which shows that activities shape gender bias more than objects. Finally, the surrogate improves an existing debiasing pipeline by predicting failed interventions before image generation, raising gender fairness from 0.62 to 0.74 without reducing image quality. Surrogates thus make it practical to audit bias at scale, before generating a single image and even without access to model weights. Code and data are available at https://github.com/Ray7498/Bias-Before-Pixels.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!