mlsanityData to 7 Oct 2026

Backdooring Bias (B2) into Stable Diffusion Models

arXiv 2406.15213 ↗First posted 21 Jun 2024cs.LG cs.AI cs.CRcited by 12

On the map: Diffusion models → Robustness, privacy and adversarial aspects

also in 1 more
Abstract (arXiv)

Recent advances in large text-conditional diffusion models have revolutionized image generation by enabling users to create realistic, high-quality images from textual prompts, significantly enhancing artistic creation and visual communication. However, these advancements also introduce an underexplored attack opportunity: the possibility of inducing biases by an adversary into the generated images for malicious intentions, e.g., to influence public opinion and spread propaganda. In this paper, we study an attack vector that allows an adversary to inject arbitrary bias into a target model. The attack leverages low-cost backdooring techniques using a targeted set of natural textual triggers embedded within a small number of malicious data samples produced with public generative models. An adversary could pick common sequences of words that can then be inadvertently activated by benign users during inference. We investigate the feasibility and challenges of such attacks, demonstrating how modern generative models have made this adversarial process both easier and more adaptable. On the other hand, we explore various aspects of the detectability of such attacks and demonstrate that the model's utility remains intact in the absence of the triggers. Our extensive experiments using over 200,000 generated images and against hundreds of fine-tuned models demonstrate the feasibility of the presented backdoor attack. We illustrate how these biases maintain strong text-image alignment, highlighting the challenges in detecting biased images without knowing that bias in advance. Our cost analysis confirms the low financial barrier (10-15) to executing such attacks, underscoring the need for robust defensive strategies against such vulnerabilities in diffusion models.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 33 of its 40 references that are in the map. First posted on arXiv 21 Jun 2024.

Builds on

33 of 40 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024R.A.C.E.: Robust Adversarial Concept Erasure for Secure Text-to-Image Diffusion Model25 May
  2. 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
  3. 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
  4. 2023Erasing Concepts from Diffusion Models13 Mar
  5. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov

Other references · 28

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2023Visual Instruction Tuningcited by 7,792
  4. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  5. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  7. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  8. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  9. 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Modelscited by 376
  10. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 276
  11. 2022Easily Accessible Text-to-Image Generation Amplifies Demographic Stereotypes at Large Scalecited by 262
  12. 2021Enhancing the Transferability of Adversarial Attacks through Variance Tuningcited by 242
16 more
  1. 2022DALL-Eval: Probing the Reasoning Skills and Social Biases of Text-to-Image Generation Modelscited by 230
  2. 2023Stable Bias: Analyzing Societal Representations in Diffusion Modelscited by 225
  3. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 175
  4. 2019LAMOL: LAnguage MOdeling for Lifelong Language Learningcited by 156
  5. 2020Continual Lifelong Learning in Natural Language Processing: A Surveycited by 152
  6. 2023Fair Diffusion: Instructing Text-to-Image Generation Models on Fairnesscited by 149
  7. 2023Editing Implicit Assumptions in Text-to-Image Diffusion Modelscited by 128
  8. 2023Social Biases through the Text-to-Image Generation Lenscited by 126
  9. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
  10. 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasurescited by 69
  11. 2024Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Modelscited by 62
  12. 2024OpenBias: Open-set Bias Detection in Text-to-Image Generative Modelscited by 61
  13. 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
  14. 2022Exploiting Cultural Biases via Homoglyphs in Text-to-Image Synthesiscited by 29
  15. 2023ORES: Open-vocabulary Responsible Visual Synthesiscited by 14
  16. 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Imagescited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 7; 2026: 3.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Practical, Generalizable and Robust Backdoor Attacks on Text-to-Image Diffusion Models
  2. 2025Gungnir: Exploiting Stylistic Features in Images for Backdoor Attacks on Diffusion Models
  3. 2024Invisible Backdoor Attacks on Diffusion Models
  4. 2024Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
  5. 2025Backdoors in Conditional Diffusion: Threats to Responsible Synthetic Data Pipelines
  6. 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey
  7. 2025Implicit Bias Injection Attacks against Text-to-Image Diffusion Models
  8. 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shift