Abstract
Text-to-image models, such as Stable Diffusion (SD), undergo iterative updates to improve image quality and address concerns such as safety. Improvements in image quality are straightforward to assess. However, how model updates resolve existing concerns and whether they raise new questions remain unexplored. This study takes an initial step in investigating the evolution of text-to-image models from the perspectives of safety, bias, and authenticity. Our findings, centered on Stable Diffusion, indicate that model updates paint a mixed picture. While updates progressively reduce the generation of unsafe images, the bias issue, particularly in gender, intensifies. We also find that negative stereotypes either persist within the same Non-White race group or shift towards other Non-White race groups through SD updates, yet with minimal association of these traits with the White race group. Additionally, our evaluation reveals a new concern stemming from SD updates: State-of-the-art fake image detectors, initially trained for earlier SD versions, struggle to identify fake images generated by updated versions. We show that fine-tuning these detectors on fake images generated by updated versions achieves at least 96.6% accuracy across various SD versions, addressing this issue. Our insights highlight the importance of continued efforts to mitigate biases and vulnerabilities in evolving text-to-image models.
Introduction
The rapid iteration of text-to-image (T2I) models, exemplified by the Stable Diffusion (SD) family, has led to dramatic improvements in visual fidelity. However, while the community frequently celebrates these leaps in quality, the longitudinal impact of these updates on "invisible" dimensions—safety, societal bias, and authenticity—remains largely unexamined. This paper presents a systematic investigation into how the evolution from Stable Diffusion V1.5 to SD-XL affects these critical areas.
Methodology
The study establishes a comprehensive evaluation framework comparing three major milestones: Stable Diffusion V1.5 (SD-1.5), V2.1 (SD-2.1), and SD-XL. The researchers utilized a massive evaluation suite consisting of 24,374 prompts and 74,020 generated images.
Evaluation Dimensions
- Safety: Quantified using "unsafe scores" (proportion of NSFW images) across five diverse prompt datasets, including 4chan, Lexica, and I2P.
- Bias: Measured using Mean Absolute Deviation (MAD) to quantify deviations from a balanced distribution in gender and race across 10 traits (e.g., "attractive") and 10 occupations (e.g., "doctor").
- Authenticity: Tested using state-of-the-art image-only (ResNet-18) and hybrid (CLIP-based) detectors to determine if models trained on older versions can identify newer synthetic outputs.
Key Insights and Results
The Safety-Quality Trade-off
Model updates have successfully reduced the generation of explicit content. The average unsafe score dropped from 0.209 in SD-1.5 to 0.113 in SD-XL. This improvement is likely due to more aggressive dataset filtering. However, "implicit" triggers—such as specific artist names associated with erotic styles—persist in older versions, a phenomenon termed "entanglement."
The Bias Paradox
Contrary to expectations, improved image quality has coincided with intensified gender bias. In SD-XL, the average gender MAD for occupations increased from 0.417 to 0.490 (where 0.5 represents a total skew). Specifically, 8 out of 10 occupations were almost entirely skewed toward a single gender in SD-XL, compared to only 2 out of 10 in SD-1.5. Furthermore, racial stereotypes were found to migrate rather than disappear; for instance, the "poor person" stereotype shifted from Black individuals in SD-1.5 to Asian individuals in SD-XL, while remaining largely unassociated with White individuals across all versions.
The Detection Gap
As synthetic images become more realistic, they become harder to detect. A detector trained on SD-1.5 achieved 98.4% accuracy on its own version but failed significantly on SD-XL, with accuracy plummeting to 36.7%. This "cat-and-mouse" gap occurs because newer architectures smooth away the specific artifacts that earlier detectors learned to recognize. However, the study demonstrates that fine-tuning these detectors with as few as 500 images from the newer version can restore accuracy to over 96.6%.
Conclusion
The evolution of T2I models presents a mixed landscape. While safety is improving and visual quality is reaching near-photorealistic levels, societal biases are becoming more entrenched. The failure of legacy detectors highlights a critical vulnerability in our ability to regulate synthetic content. Future efforts must move beyond simple dataset filtering toward sophisticated de-biasing techniques and continuous monitoring frameworks to ensure that as AI becomes more capable, it also becomes more equitable and transparent.
Summary updated