No Safe Dose: How Training Data Drives Unsafe Image Generation
Not on the map. Why?
Abstract (arXiv)
Text-to-image models trained on large-scale data often inevitably ingest unsafe content. While some people observe input-output amplifications, it remains unclear whether and how training data composition directly drives model output safety or by other factors. We shed light on this question by isolating this variable: we train the same text-to-image model on datasets that differ only in their fraction of unsafe images (0% to 9.6%), across several dataset scales (100K to 8M). Then we generate images with the resulting models, and evaluate them with four independent safety classifiers. Output unsafety rises monotonically from 16.6% at 0% contamination to 25.5% at 5%. A factorial design reveals that the proportion, not the absolute count, of unsafe training images is the operative variable. The 16.6% irreducible baseline at zero contamination implicates the other components, e.g. frozen text encoder, as a residual safety risk -- confirmed by a text encoder ablation showing that SafeCLIP reduces this floor to 9.6%, while the dose-response effect persists across all three encoders tested. Critically, no quality degradation in terms of FID, CLIPscore and ImageReward accompanies safety filtering. These results establish that data curation and text encoder safety are complementary and independently effective interventions. At the same time, the remaining level of unsafety poses questions for future research about emerging capabilities and compositionality.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 57 of its 65 references that are in the map. First posted on arXiv 27 May 2026.
Builds on
57 of 65 references.
References · 57
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2018Datasheets for Datasetscited by 1,371
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,010
38 more
- 2023Training Diffusion Models with Reinforcement Learningcited by 939
- 2023Diffusion Model Alignment Using Direct Preference Optimizationcited by 767
- 2023Extracting Training Data from Diffusion Modelscited by 723
- 2023DataComp: In search of the next generation of multimodal datasetscited by 635
- 2023Erasing Concepts from Diffusion Modelscited by 530
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
- 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 418
- 2023Aligning Text-to-Image Models using Human Feedbackcited by 418
- 2023Unified Concept Editing in Diffusion Modelscited by 377
- 2021Multimodal datasets: misogyny, pornography, and malignant stereotypescited by 326
- 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 312
- 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 298
- 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Modelscited by 297
- 2022Red-Teaming the Stable Diffusion Safety Filtercited by 257
- 2020Large image datasets: A pyrrhic win for computer vision?cited by 237
- 2023Stable Bias: Analyzing Societal Representations in Diffusion Modelscited by 225
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
- 2023LEDITS++: Limitless Image Editing using Text-to-Image Modelscited by 147
- 2020Image Representations Learned With Unsupervised Pre-Training Contain Human-like Biasescited by 107
- 2024ALERT: A Comprehensive Benchmark for Assessing Large Language Models' Safety through Red Teamingcited by 96
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Societycited by 91
- 2023The Bias Amplification Paradox in Text-to-Image Generationcited by 69
- 2022A Systematic Study of Bias Amplificationcited by 65
- 2023Into the LAIONs Den: Investigating Hate in Multimodal Datasetscited by 54
- 2024LlavaGuard: An Open VLM-based Framework for Safeguarding Vision Datasets and Modelscited by 49
- 2024AI Risk Categorization Decoded (AIR 2024): From Government Regulations to Corporate Policiescited by 34
- 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Userscited by 32
- 2022Exploiting Cultural Biases via Homoglyphs in Text-to-Image Synthesiscited by 29
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderationcited by 27
- 2024Adversarial Nibbler: An Open Red-Teaming Method for Identifying Diverse Harms in Text-to-Image Generationcited by 20
- 2022Does CLIP Know My Face?cited by 19
- 2024Aurora-M: Open Source Continual Pre-training for Multilingual Language and Codecited by 10
- 2025Measuring and Guiding Monosemanticitycited by 10
- 2025MSTS: A Multimodal Safety Test Suite for Vision-Language Modelscited by 9
- 2022Revision Transformers: Instructing Language Models to Change their Valuescited by 8
50 most cited of 57 All 57 (JSON)
Built on by
Not cited yet.