RIATIG: Reliable and Imperceptible Adversarial Text-to-Image Generation with Natural Prompts
Abstract
The field of text-to-image generation has made remarkable strides in creating high-fidelity and photorealistic images. As this technology gains popularity, there is a growing concern about its potential security risks. However, there has been limited exploration into the robustness of these models from an adversarial perspective. Existing research has primarily focused on untargeted settings, and lacks holistic consideration for reliability (attack success rate) and stealthiness (imperceptibility).
In this paper, we propose RIATIG, a reliable and imperceptible adversarial attack against text-to-image models via inconspicuous examples. By formulating the example crafting as an optimization process and solving it using a genetic-based method, our proposed attack can generate imperceptible prompts for text-to-image generation models in a reliable way. Evaluation of six popular text-to-image generation models demonstrates the efficiency and stealthiness of our attack in both white-box and black-box settings. To allow the community to build on top of our findings, we've made the artifacts available 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
19 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Zero-Shot Text-to-Image Generation
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- MMA-Diffusion: MultiModal Attack on Diffusion Models cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- MMA-Diffusion: MultiModal Attack on Diffusion Models cites Zero-Shot Text-to-Image Generation
- ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation cites Zero-Shot Text-to-Image Generation
- ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation cites Learning Transferable Visual Models From Natural Language Supervision
- ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Diffusion Models Beat GANs on Image Synthesis cites Zero-Shot Text-to-Image Generation
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Zero-Shot Text-to-Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
- Perception-Guided Jailbreak Against Text-to-Image Models cites MMA-Diffusion: MultiModal Attack on Diffusion Models
- Perception-Guided Jailbreak Against Text-to-Image Models cites ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation
- Perception-Guided Jailbreak Against Text-to-Image Models cites Learning Transferable Visual Models From Natural Language Supervision
- Perception-Guided Jailbreak Against Text-to-Image Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- GuardT2I: Defending Text-to-Image Models from Adversarial Prompts cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- GuardT2I: Defending Text-to-Image Models from Adversarial Prompts cites MMA-Diffusion: MultiModal Attack on Diffusion Models
- GuardT2I: Defending Text-to-Image Models from Adversarial Prompts cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Diffusion Models Beat GANs on Image Synthesis
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Zero-Shot Text-to-Image Generation
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers19
- GuardT2I: Defending Text-to-Image Models from Adversarial PromptsYijun Yang, Ruiyuan Gao, Xiao Yang, Jianyuan Zhong et al.NeurIPS 2024 · 74 citations
- Please Tell Me More: Privacy Impact of Explainability through the Lens of Membership Inference AttackHan Liu, Yuhao Wu, Zhiyuan Yu, Ning ZhangS&P 2024 · 52 citations
- Perception-Guided Jailbreak Against Text-to-Image ModelsYihao Huang, Le Liang, Tianlin Li, Xiaojun Jia et al.AAAI 2025 · 34 citations
- MMA-Diffusion: MultiModal Attack on Diffusion ModelsYijun Yang, Ruiyuan Gao, Xiaosen Wang, Tsung-Yi Ho et al.CVPR 2024 · 31 citations
- ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep GenerationYizhuo Ma, Shanmin Pang, Qi Guo, Tianyu Wei et al.NeurIPS 2024 · 22 citations
Builds on12
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
Related papers
- On the Proactive Generation of Unsafe Images From Text-To-Image Models Using Benign PromptsYixin Wu, Ning Yu, Michael Backes, Yun Shen et al.USENIX Security 2025
- Natural Language Induced Adversarial ImagesXiaopei Zhu, Peiyang Xu, Guanning Zeng, Yinpeng Dong et al.ACM MM 2024 · 1 citation
- PLA: Prompt Learning Attack Against Text-To-Image Generative ModelsXinqi Lyu, Yihao Liu, Yanjie Li, Bin XiaoICCV 2025 · 10 citations
- Hidden Dangers of Compositional Generation: Diagnosing Semantic Safety Failures in Text-to-Image ModelsHaoming Yang, Ke Ma, Ligong Zhang, Xiaojun Jia et al.CVPR 2026
- RAt: Injecting Implicit Bias for Text-To-Image Prompt Refinement ModelsZiyi Kou, Shichao Pei, Meng Jiang, Xiangliang ZhangEMNLP 2024 · 1 citation
