TL;DR
Text-to-image models like Stable Diffusion and DALL·E often default to stark demographic stereotypes when given open-ended prompts—generating mostly light-skinned doctors and dark-skinned farm workers. Rather than arguing for one "universally fair" distribution, this paper introduces a black-box framework that separates choosing a representation target from operationalizing it and auditing the results. Using only text-in, image-out access, their method cuts skin-tone alignment error by up to 98% under a uniform target and outperforms existing inference-time debiasing tools by 93%.
What Problem Does This Paper Address?
If you ask a text-to-image (T2I) model for "a full-color headshot of a doctor," you'll likely get a sea of light-skinned faces. Ask for "a farm worker" or "someone struggling financially," and the model swings sharply toward darker skin tones.
Prior work has tackled this through fine-tuning, latent-space steering, or prompt engineering. However, most existing methods blur three distinct questions together:
- What should the demographic distribution be? (A normative choice—uniformity isn't always the goal; sometimes you want population statistics or user-defined ratios.)
- How do we steer a fixed, black-box model toward that goal? (A technical planning problem, especially when you don't have access to model weights.)
- Did the model actually listen? (An auditing problem.)
When these steps are tangled together, it's hard to tell whether a failure came from a bad target, a bad prompt, or a stubborn generator.
Methods
The authors propose a modular, black-box pipeline that keeps the target, the generation plan, and the audit completely separate and inspectable.
- Target Planner: Records a declared target distribution $q$. It supports four modes: Uniform (equal split), User-specified, Statistics-derived (e.g., using GPT-4o to retrieve occupational demographics with provenance), or Fallback (a default uniform distribution used when statistics are unavailable or inappropriate, such as for "a smiling person").
- Generation Planner: Translates $q$ and a finite image budget $N$ into subgroup-conditioned prompts (e.g., "a doctor with light skin") and integer image counts $N_k$. It also logs the exact realizable allocation $\tilde{q} = N_k / N$ so rounding errors aren't confused with model failures.
- Black-Box T2I Generator: An unmodified model generates the images.
- Output Auditor: Detects faces using RetinaFace and estimates skin tone via the Individual Typology Angle (
derm-ita), mapping outputs to six Fitzpatrick categories (with Monk Skin Tone as a robustness check). When the target and audit spaces match (both in skin-tone bands), it measures direct squared $\ell_2$ discrepancy. When they differ (e.g., a race/ethnicity target audited via skin tone), it reports directional shifts without conflating race and skin tone.
Datasets
The authors evaluate their framework on a newly constructed benchmark of 36 prompts using the template "A full-color headshot of [DESCRIPTION]":
- 30 occupational prompts: 10 high-, 10 moderate-, and 10 low-prestige roles drawn from the Standard International Occupational Prestige Scale and ISCO-88.
- 6 non-occupational prompts: Stereotype-prone concepts like "a smiling person," "someone struggling financially," and "a person suspected of a crime."
The main dataset comprises 6,600 images generated with SD Realistic Vision v5.1 (50 images per prompt per condition), alongside 3,000 images for non-uniform same-space tests and additional cross-model transfer sets on SDXL Turbo, Stable Diffusion 1.5, and DALL·E 2.
Key Insights and Ideas
- Bias scales with prestige: Baseline skews aren't random; they track social status. On SD Realistic Vision v5.1, high-prestige occupations were 82% Light, 17% Medium, and 1% Dark. Low-prestige occupations flipped to 6% Light, 36% Medium, and 58% Dark.
- Separating target space from audit space matters: Race/ethnicity and observable skin tone are not interchangeable. By refusing to claim exact numerical alignment when the two spaces differ, the framework avoids a common pitfall in automated fairness audits.
- Control is asymmetric: Even when steering directly in skin-tone space with non-uniform targets, models don't respond symmetrically. Pushing toward darker skin tones yielded a much lower discrepancy (0.097) than pushing toward lighter tones (0.290) across occupations.
Key Results
- Uniform-target alignment: On SD Realistic Vision v5.1, average pooled status-group $\ell_2$ discrepancy dropped by 98% (from 0.186 at baseline to 0.004).
- Cross-model transfer: Under the same Uniform benchmark, pooled error dropped by 95.4% on SDXL Turbo, 77.3% on SD 1.5, and 77.9% on DALL·E 2.
- Outperforming baselines: Compared against inference-time methods (EntiGen, Fair Diffusion, and ITI-GEN) on SD Realistic Vision v5.1, this framework achieved the lowest pooled error (0.004), improving over the strongest competitor (ITI-GEN at 0.057) by 93%.
- Fallback targets: For criminal-context prompts, the uniform fallback brought every Fitzpatrick category within 2% of the 16.7% target share.
Limitations and Future Work
- Coarse automated auditing: Automated skin-tone estimators (Fitzpatrick and Monk scales) are sensitive to lighting, rendering style, and face-cropping, making them aggregate indicators rather than definitive per-image labels.
- Unmeasured side effects: Adding demographic descriptors to prompts can subtly alter non-target attributes like clothing, age, or background setting—an effect not quantified here.
- Surface-level fix: Because the framework operates purely at the text-input/image-output level, it balances the collection of generated images without removing the underlying biases baked into the model's weights. Future work should pair this auditability with stakeholder-driven target selection and multi-attribute control.
Summary updated