Lune

ICML2024Top-tier venue

UPAM: Unified Prompt Attack in Text-to-Image Generation Models Against Both Textual Filters and Visual Checkers

Duo Peng, Qiuhong Ke, Jun Liu

Abstract

Text-to-Image (T2I) models have raised security concerns due to their potential to generate inappropriate or harmful images. In this paper, we propose UPAM, a novel framework that investigates the robustness of T2I models from the attack perspective. Unlike most existing attack methods that focus on deceiving textual defenses, UPAM aims to deceive both textual and visual defenses in T2I models. UPAM enables gradient-based optimization, offering greater effectiveness and efficiency than previous methods. Given that T2I models might not return results due to defense mechanisms, we introduce a Sphere-Probing Learning (SPL) scheme to support gradient optimization even when no results are returned. Additionally, we devise a Semantic-Enhancing Learning (SEL) scheme to finetune UPAM for generating target-aligned images. Our framework also ensures attack stealthiness. Extensive experiments demonstrate UPAM's effectiveness and efficiency.

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.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • JailbreakDiffBench: A Comprehensive Benchmark for Jailbreaking Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • JailbreakDiffBench: A Comprehensive Benchmark for Jailbreaking Diffusion Models cites Perception-Guided Jailbreak Against Text-to-Image Models
  • Hidden Dangers of Compositional Generation: Diagnosing Semantic Safety Failures in Text-to-Image Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Hidden Dangers of Compositional Generation: Diagnosing Semantic Safety Failures in Text-to-Image Models cites Perception-Guided Jailbreak Against Text-to-Image Models
  • Hidden Dangers of Compositional Generation: Diagnosing Semantic Safety Failures in Text-to-Image Models cites Learning Transferable Visual Models From Natural Language Supervision
  • ViLT: Vision-and-Language Transformer Without Convolution or Region Supervision cites Learning Transferable Visual Models From Natural Language Supervision
  • Perception-Guided Jailbreak Against Text-to-Image Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • 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
  • DiffGraph: An Automated Agent-driven Model Merging Framework for In-the-Wild Text-to-Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Perception-Guided Jailbreak Against Text-to-Image ModelsYihao Huang, Le Liang, Tianlin Li, Xiaojun Jia et al.AAAI 2025 · 34 citations
  2. JailbreakDiffBench: A Comprehensive Benchmark for Jailbreaking Diffusion ModelsXiaolong Jin, Zixuan Weng, Hanxi Guo, Chenlong Yin et al.ICCV 2025 · 13 citations
  3. DiffGraph: An Automated Agent-driven Model Merging Framework for In-the-Wild Text-to-Image GenerationZhuoling Li, Hossein Rahmani, Jiarui Zhang, Yu Xue et al.CVPR 2026 · 5 citations
  4. Boundary Probing for Input Privacy Protection when Using LMM ServicesXiaofei Hui, Haoxuan Qu, Ping Hu, Hossein Rahmani et al.ICCV 2025
  5. 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

Builds on13

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  3. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
  4. ViLT: Vision-and-Language Transformer Without Convolution or Region SupervisionWonjae Kim, Bokyung Son, Ildoo KimICML 2021 · 2,258 citations
  5. Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 citations

Related papers

  1. Distraction is All You Need: Memory-Efficient Image Immunization against Diffusion-Based Image EditingLing Lo, Cheng Yu Yeo, Hong-Han Shuai, Wen-Huang ChengCVPR 2024 · 5 citations
  2. PLA: Prompt Learning Attack Against Text-To-Image Generative ModelsXinqi Lyu, Yihao Liu, Yanjie Li, Bin XiaoICCV 2025 · 10 citations
  3. 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
  4. RIATIG: Reliable and Imperceptible Adversarial Text-to-Image Generation with Natural PromptsHan Liu, Yuhao Wu, Shixuan Zhai, Bo Yuan et al.CVPR 2023
  5. Improving the Transferability of Adversarial Samples by Path-Augmented MethodJianping Zhang, Jen-tse Huang, Wenxuan Wang, Yichen Li et al.CVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines