mlsanityData to 7 Oct 2026

Finding a Wolf in Sheep's Clothing: Combating Adversarial Text-To-Image Prompts with Text Summarization

arXiv 2412.12212 ↗First posted 15 Dec 2024cs.CR cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Text-to-image models are vulnerable to the stepwise "Divide-and-Conquer Attack" (DACA) that utilize a large language model to obfuscate inappropriate content in prompts by wrapping sensitive text in a benign narrative. To mitigate stepwise DACA attacks, we propose a two-layer method involving text summarization followed by binary classification. We assembled the Adversarial Text-to-Image Prompt (ATTIP) dataset (N=940), which contained DACA-obfuscated and non-obfuscated prompts. From the ATTIP dataset, we created two summarized versions: one generated by a small encoder model and the other by a large language model. Then, we used an encoder classifier and a GPT-4o classifier to perform content moderation on the summarized and unsummarized prompts. When compared with a classifier that operated over the unsummarized data, our method improved F1 score performance by 31%. Further, the highest recorded F1 score achieved (98%) was produced by the encoder classifier on a summarized ATTIP variant. This study indicates that pre-classification text summarization can inoculate content detection models against stepwise DACA obfuscations.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 19 references that are in the map. First posted on arXiv 15 Dec 2024.

Builds on

8 of 19 references.

References · 8

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  3. 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Modelscited by 376
  4. 2022Red-Teaming the Stable Diffusion Safety Filtercited by 257
  5. 2024GuardT2I: Defending Text-to-Image Models from Adversarial Promptscited by 61
  6. 2024Universal Prompt Optimizer for Safe Text-to-Image Generationcited by 27
  7. 2024Groot: Adversarial Testing for Generative Text-to-Image Models with Tree-based Semantic Transformationcited by 12
  8. 2023Harnessing LLM to Attack LLM-Guarded Text-to-Image Modelscited by 10

Built on by

Not cited yet.