mlsanityData to 7 Oct 2026

DiffZOO: A Purely Query-Based Black-Box Attack for Red-teaming Text-to-Image Generative Model via Zeroth Order Optimization

arXiv 2408.11071 ↗First posted 18 Aug 2024cs.CR cs.AI cs.CVcited by 19

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

also in 1 more
Abstract (arXiv)

Current text-to-image (T2I) synthesis diffusion models raise misuse concerns, particularly in creating prohibited or not-safe-for-work (NSFW) images. To address this, various safety mechanisms and red teaming attack methods are proposed to enhance or expose the T2I model's capability to generate unsuitable content. However, many red teaming attack methods assume knowledge of the text encoders, limiting their practical usage. In this work, we rethink the case of textitpurely black-box attacks without prior knowledge of the T2l model. To overcome the unavailability of gradients and the inability to optimize attacks within a discrete prompt space, we propose DiffZOO which applies Zeroth Order Optimization to procure gradient approximations and harnesses both C-PRV and D-PRV to enhance attack prompts within the discrete prompt domain. We evaluated our method across multiple safety mechanisms of the T2I diffusion model and online servers. Experiments on multiple state-of-the-art safety mechanisms show that DiffZOO attains an 8.5% higher average attack success rate than previous works, hence its promise as a practical red teaming tool for T2l models.

Key facts. Cited by 19 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 24 of its 35 references that are in the map. First posted on arXiv 18 Aug 2024.

Builds on

24 of 35 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models2 Apr
  2. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
  3. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
  4. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
  5. 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusion29 Mar
  6. 2023Are Diffusion Models Vulnerable to Membership Inference Attacks?2 Feb
  7. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
  8. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct

Other references · 16

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  4. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  5. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  6. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  7. 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
  8. 2022Pretrained Language Models for Text Generation: A Surveycited by 121
  9. 2020QEBA: Query-Efficient Boundary-Based Blackbox Attackcited by 103
  10. 2020MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimationcited by 99
  11. 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
  12. 2019ZO-AdaMM: Zeroth-Order Adaptive Momentum Method for Black-Box Optimizationcited by 75
4 more
  1. 2022Forget Unlearning: Towards True Data-Deletion in Machine Learningcited by 58
  2. 2021Data-Free Knowledge Transfer: A Surveycited by 31
  3. 2021QAIR: Practical Query-efficient Black-Box Attacks for Image Retrievalcited by 22
  4. 2022TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven Optimizationcited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 9; 2026: 8.

19 papers.

Sort:

By area:

  1. 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 31
  2. 2025T2V-OptJail: Discrete Prompt Optimization for Text-to-Video Jailbreak Attackscited by 18
  3. 2025T2VShield: Model-Agnostic Jailbreak Defense for Text-to-Video Modelscited by 17
  4. 2025Token-Level Constraint Boundary Search for Jailbreaking Text-to-Image Modelscited by 9
  5. 2025Image Can Bring Your Memory Back: A Novel Multi-Modal Guided Attack against Image Generation Model Unlearningcited by 9
  6. 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modelingcited by 8
  7. 2025RunawayEvil: Jailbreaking the Image-to-Video Generative Modelscited by 7
  8. 2026Multimodal Unlearning Across Vision, Language, Video, and Audio: Survey of Methods, Datasets, and Benchmarkscited by 6
  9. 2025When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systemscited by 4
  10. 2025Seeing It Before It Happens: In-Generation NSFW Detection for Diffusion-Based Text-to-Image Modelscited by 3
  11. 2024Red-Teaming Text-to-Image Models via In-Context Experience Replay and Semantic-Preserving Prompt Rewritingcited by 1
  12. 2025ZIUM: Zero-Shot Intent-Aware Adversarial Attack on Unlearned Modelscited by 1
7 more
  1. 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion modelscited by 0
  2. 2026REFORGE: Multi-modal Attacks Reveal Vulnerable Concept Unlearning in Image Generation Modelscited by 0
  3. 2026PixJail: Self-Evolving Paper-to-Pipeline Reproduction for Text-to-Image Jailbreak Evaluationcited by 0
  4. 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Modelscited by 0
  5. 2026Multi2AV-Safety: Benchmarking Safety in Multimodal-to-Audio-Video Generationcited by 0
  6. 2026The Temporal Moderation Gap: Text-to-Video Safety Filters Are Blind to Harm in Motioncited by 0
  7. 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasurecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling
  2. 2025GenBreak: Red Teaming Text-to-Image Generators Using Large Language Models
  3. 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Models
  4. 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users
  5. 2026RAPID: A Real-Time Defense Against Unauthorized Model Distillation for Text-to-Image Services
  6. 2023FLIRT: Feedback Loop In-context Red Teaming
  7. 2023Evaluating the Robustness of Text-to-image Diffusion Models against Real-world Attacks
  8. 2026Automatic Red Teaming for Implicit Vulnerabilities of Text-to-Image Models