mlsanityData to 14 Oct 2026

DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling

arXiv 2507.16329 ↗First posted 22 Jul 2025cs.CR cs.AI cs.CVcited by 5

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

Despite the integration of safety alignment and external filters, text-to-image (T2I) generative systems are still susceptible to producing harmful content, such as sexual or violent imagery. This raises serious concerns about unintended exposure and potential misuse. Red teaming, which aims to proactively identify diverse prompts that can elicit unsafe outputs from the T2I system, is increasingly recognized as an essential method for assessing and improving safety before real-world deployment. However, existing automated red teaming approaches often treat prompt discovery as an isolated, prompt-level optimization task, which limits their scalability, diversity, and overall effectiveness. To bridge this gap, in this paper, we propose DREAM, a scalable red teaming framework to automatically uncover diverse problematic prompts from a given T2I system. Unlike prior work that optimizes prompts individually, DREAM directly models the probabilistic distribution of the target system's problematic prompts, which enables explicit optimization over both effectiveness and diversity, and allows efficient large-scale sampling after training. To achieve this without direct access to representative training samples, we draw inspiration from energy-based models and reformulate the objective into a simple and tractable form. We further introduce GC-SPSA, an efficient optimization algorithm that provides stable gradient estimates through the long and potentially non-differentiable T2I pipeline. During inference, we also propose a diversity-aware sampling strategy to enhance prompt variety. The effectiveness of DREAM is validated through extensive experiments, demonstrating state-of-the-art performance across a wide range of T2I models and safety filters in terms of both prompt success rate and diversity. Our code is available at https://github.com/AntigoneRandy/DREAM

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 60 of its 101 references that are in the map. First posted on arXiv 22 Jul 2025.

Builds on

60 of 101 references.

References · 60

  1. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  4. 2022Scalable Diffusion Models with Transformerscited by 6,054
  5. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  6. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  7. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  8. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  9. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  10. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  11. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
  12. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
38 more
  1. 2022Red Teaming Language Models with Language Modelscited by 1,026
  2. 2022Diffusion Models in Vision: A Surveycited by 1,015
  3. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
  4. 2023Erasing Concepts from Diffusion Modelscited by 539
  5. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
  6. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  7. 2023BLIP-Diffusion: Pre-trained Subject Representation for Controllable Text-to-Image Generation and Editingcited by 442
  8. 2023Unified Concept Editing in Diffusion Modelscited by 388
  9. 2023Fine-Tuning Language Models with Just Forward Passescited by 345
  10. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
  11. 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 317
  12. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 311
  13. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 250
  14. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 210
  15. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 194
  16. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 189
  17. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 175
  18. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Promptscited by 171
  19. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
  20. 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
  21. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Modelscited by 133
  22. 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 115
  23. 2024Curiosity-driven Red-teaming for Large Language Modelscited by 88
  24. 2023FLIRT: Feedback Loop In-context Red Teamingcited by 83
  25. 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?cited by 83
  26. 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 76
  27. 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Modelscited by 66
  28. 2024UnsafeBench: Benchmarking Image Safety Classifiers on Real-World and AI-Generated Imagescited by 53
  29. 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 50
  30. 2024Provably Robust Multi-bit Watermarking for AI-generated Textcited by 47
  31. 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 46
  32. 2024Perception-guided Jailbreak against Text-to-Image Modelscited by 40
  33. 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Userscited by 35
  34. 2023SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitutioncited by 34
  35. 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Modelscited by 27
  36. 2024Kandinsky 3: Text-to-Image Synthesis for Multifunctional Generative Frameworkcited by 25
  37. 2024Adversarial Nibbler: An Open Red-Teaming Method for Identifying Diverse Harms in Text-to-Image Generationcited by 20
  38. 2024AlignGuard: Scalable Safety Alignment for Text-to-Image Generationcited by 20

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

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

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025GenBreak: Red Teaming Text-to-Image Generators Using Large Language Models
  2. 2024Red-Teaming Text-to-Image Models via In-Context Experience Replay and Semantic-Preserving Prompt Rewriting
  3. 2024DiffZOO: A Purely Query-Based Black-Box Attack for Red-teaming Text-to-Image Generative Model via Zeroth Order Optimization
  4. 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling
  5. 2026Automatic Red Teaming for Implicit Vulnerabilities of Text-to-Image Models
  6. 2025From Seed to Harvest: Augmenting Human Creativity with AI for Red-teaming Text-to-Image Models
  7. 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
  8. 2025Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints