English

Groot: Adversarial Testing for Generative Text-to-Image Models with Tree-based Semantic Transformation

Computation and Language 2024-02-20 v1 Artificial Intelligence Cryptography and Security Software Engineering

Abstract

With the prevalence of text-to-image generative models, their safety becomes a critical concern. adversarial testing techniques have been developed to probe whether such models can be prompted to produce Not-Safe-For-Work (NSFW) content. However, existing solutions face several challenges, including low success rate and inefficiency. We introduce Groot, the first automated framework leveraging tree-based semantic transformation for adversarial testing of text-to-image models. Groot employs semantic decomposition and sensitive element drowning strategies in conjunction with LLMs to systematically refine adversarial prompts. Our comprehensive evaluation confirms the efficacy of Groot, which not only exceeds the performance of current state-of-the-art approaches but also achieves a remarkable success rate (93.66%) on leading text-to-image models such as DALL-E 3 and Midjourney.

Keywords

Cite

@article{arxiv.2402.12100,
  title  = {Groot: Adversarial Testing for Generative Text-to-Image Models with Tree-based Semantic Transformation},
  author = {Yi Liu and Guowei Yang and Gelei Deng and Feiyue Chen and Yuqi Chen and Ling Shi and Tianwei Zhang and Yang Liu},
  journal= {arXiv preprint arXiv:2402.12100},
  year   = {2024}
}
R2 v1 2026-06-28T14:53:04.929Z