PLA: Prompt Learning Attack against Text-to-Image Generative Models
On the map: LLM safety and security → Vision-language and text-to-image safety
Abstract (arXiv)
Text-to-Image (T2I) models have gained widespread adoption across various applications. Despite the success, the potential misuse of T2I models poses significant risks of generating Not-Safe-For-Work (NSFW) content. To investigate the vulnerability of T2I models, this paper delves into adversarial attacks to bypass the safety mechanisms under black-box settings. Most previous methods rely on word substitution to search adversarial prompts. Due to limited search space, this leads to suboptimal performance compared to gradient-based training. However, black-box settings present unique challenges to training gradient-driven attack methods, since there is no access to the internal architecture and parameters of T2I models. To facilitate the learning of adversarial prompts in black-box settings, we propose a novel prompt learning attack framework (PLA), where insightful gradient-based training tailored to black-box T2I models is designed by utilizing multimodal similarities. Experiments show that our new method can effectively attack the safety mechanisms of black-box T2I models including prompt filters and post-hoc safety checkers with a high success rate compared to state-of-the-art methods. Warning: This paper may contain offensive model-generated content.
Key facts. Cited by 9 papers in the map (data through 14 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 47 references that are in the map. First posted on arXiv 14 Jul 2025.
Builds on
37 of 47 references.
Closest ancestors · 8
Same direction, newest first
- 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Models10 Apr
- 2024GuardT2I: Defending Text-to-Image Models from Adversarial Prompts3 Mar
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
- 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
- 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
- 2023Black Box Adversarial Prompting for Foundation Models8 Feb
- 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct
Other references · 29
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
- 2023Erasing Concepts from Diffusion Modelscited by 539
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
- 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 317
17 more
- 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 307
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 300
- 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 194
- 2023Recommender Systems in the Era of Large Language Models (LLMs)cited by 189
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 175
- 2023Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examplescited by 167
- 2023Raising the Cost of Malicious AI-Powered Image Editingcited by 163
- 2023Holistic Evaluation of Text-To-Image Modelscited by 160
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
- 2019ZO-AdaMM: Zeroth-Order Adaptive Momentum Method for Black-Box Optimizationcited by 76
- 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 76
- 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
- 2024Latent Guard: a Safety Framework for Text-to-image Generationcited by 71
- 2023AdvDiff: Generating Unrestricted Adversarial Examples using Diffusion Modelscited by 46
- 2023On the Robustness of Latent Diffusion Modelscited by 21
- 2025UV-Attack: Physical-World Adversarial Attacks for Person Detection via Dynamic-NeRF-based UV Mappingcited by 9
- 2024Improving Transferable Targeted Attacks with Feature Tuning Mixupcited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 8.
9 papers.
- 2026Low-Effort Jailbreak Attacks Against Text-to-Image Safety Filterscited by 5
- 2026Cert-LAS: Toward Certified Model Ownership Verification for Text-to-Image Diffusion Models via Layer-Adaptive Smoothingcited by 3
- 2026Your Unlearning Gives You Away: Identifying Erased Concepts in Diffusion Modelscited by 1
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Mapcited by 0
- 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion modelscited by 0
- 2026When Safe Concepts Become Unsafe: Multi-Concept Compositional Vulnerabilities in Text-to-Image Modelscited by 0
- 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Modelscited by 0
- 2026The Temporal Moderation Gap: Text-to-Video Safety Filters Are Blind to Harm in Motioncited by 0
- 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasurecited by 0
- 2026Your Unlearning Gives You Away: Identifying Erased Concepts in Diffusion Models4 Oct 2026
- 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasure27 Sep 2026
- 2026The Temporal Moderation Gap: Text-to-Video Safety Filters Are Blind to Harm in Motion19 Aug 2026
- 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Models20 Jul 2026
- 2026Cert-LAS: Toward Certified Model Ownership Verification for Text-to-Image Diffusion Models via Layer-Adaptive Smoothing28 May 2026
- 2026When Safe Concepts Become Unsafe: Multi-Concept Compositional Vulnerabilities in Text-to-Image Models17 Apr 2026
- 2026Low-Effort Jailbreak Attacks Against Text-to-Image Safety Filters2 Apr 2026
- 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion models30 Jan 2026
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Map21 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Models
- 2025TokenProber: Jailbreaking Text-to-image Models via Fine-grained Word Impact Analysis
- 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Models
- 2024AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion models
- 2026DiSCO: Defending text-to-image generation through distribution-guided contrastive prompt optimization
- 2024Safeguarding Text-to-Image Generation via Inference-Time Prompt-Noise Optimization
- 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models
- 2025AutoPrompt: Automated Red-Teaming of Text-to-Image Models via LLM-Driven Adversarial Prompts