mlsanityData to 7 Oct 2026

AutoPrompt: Automated Red-Teaming of Text-to-Image Models via LLM-Driven Adversarial Prompts

arXiv 2510.24034 ↗First posted 28 Oct 2025cs.CVcited by 6

On the map: LLM safety and security → Vision-language and text-to-image safety

Abstract (arXiv)

Despite rapid advancements in text-to-image (T2I) models, their safety mechanisms are vulnerable to adversarial prompts, which maliciously generate unsafe images. Current red-teaming methods for proactively assessing such vulnerabilities usually require white-box access to T2I models, and rely on inefficient per-prompt optimization, as well as inevitably generate semantically meaningless prompts easily blocked by filters. In this paper, we propose APT (AutoPrompT), a black-box framework that leverages large language models (LLMs) to automatically generate human-readable adversarial suffixes for benign prompts. We first introduce an alternating optimization-finetuning pipeline between adversarial suffix optimization and fine-tuning the LLM utilizing the optimized suffix. Furthermore, we integrates a dual-evasion strategy in optimization phase, enabling the bypass of both perplexity-based filter and blacklist word filter: (1) we constrain the LLM generating human-readable prompts through an auxiliary LLM perplexity scoring, which starkly contrasts with prior token-level gibberish, and (2) we also introduce banned-token penalties to suppress the explicit generation of banned-tokens in blacklist. Extensive experiments demonstrate the excellent red-teaming performance of our human-readable, filter-resistant adversarial prompts, as well as superior zero-shot transferability which enables instant adaptation to unseen prompts and exposes critical vulnerabilities even in commercial APIs (e.g., Leonardo.Ai.).

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Vision-language and text-to-image safety, one of 12 directions in LLM safety and security. Builds on 37 of its 45 references that are in the map. First posted on arXiv 28 Oct 2025.

Builds on

37 of 45 references.

Closest ancestors · 9

Same direction, newest first

  1. 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Models7 Jan
  2. 2024Perception-guided Jailbreak against Text-to-Image Models20 Aug
  3. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
  4. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
  5. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
  6. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
  7. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
  8. 2023Black Box Adversarial Prompting for Foundation Models8 Feb
  9. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct

Other references · 28

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  3. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  5. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  6. 2023Erasing Concepts from Diffusion Modelscited by 530
  7. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
  8. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
  9. 2023Unified Concept Editing in Diffusion Modelscited by 377
  10. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
  11. 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 312
  12. 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 298
16 more
  1. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  2. 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 205
  3. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
  4. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 175
  5. 2023One-Dimensional Adapter to Rule Them All: Concepts, Diffusion Models and Erasing Applicationscited by 164
  6. 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
  7. 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 146
  8. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Modelscited by 123
  9. 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Eraserscited by 118
  10. 2024Weak-to-Strong Jailbreaking on Large Language Modelscited by 100
  11. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Modelscited by 98
  12. 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 75
  13. 2024Disrupting Diffusion: Token-Level Attention Erasure Attack against Diffusion-based Customizationcited by 15
  14. 2024RealEra: Semantic-level Concept Erasure via Neighbor-Concept Miningcited by 15
  15. 2024On the Multi-modal Vulnerability of Diffusion Modelscited by 14
  16. 2021Conditional Poisson Stochastic Beam Searchcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.