ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users

Guanlin Li, Kangjie Chen, Shudong Zhang, Jie Zhang, Tianwei Zhang
2/3/2026

No official code found. Best implementation: GuanlinLee/ART (25 stars, MIT, last commit 2024-10-23).

Abstract

Large-scale pre-trained generative models are taking the world by storm, due to their abilities in generating creative content. Meanwhile, safeguards for these generative models are developed, to protect users' rights and safety, most of which are designed for large language models. Existing methods primarily focus on jailbreak and adversarial attacks, which mainly evaluate the model's safety under malicious prompts. Recent work found that manually crafted safe prompts can unintentionally trigger unsafe generations. To further systematically evaluate the safety risks of text-to-image models, we propose a novel Automatic Red-Teaming framework, ART. Our method leverages both vision language model and large language model to establish a connection between unsafe generations and their prompts, thereby more efficiently identifying the model's vulnerabilities. With our comprehensive experiments, we reveal the toxicity of the popular open-source text-to-image models. The experiments also validate the effectiveness, adaptability, and great diversity of ART. Additionally, we introduce three large-scale red-teaming datasets for studying the safety risks associated with text-to-image models. Datasets and models can be found in https://github.com/GuanlinLee/ART.

View on arXivView PDF

Code Implementations(1)

GuanlinLee/ARTCommunity100%
MIT

Official Code for ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users (NeurIPS 2024)

254Shell, PythonMay 24, 20241 years agoMIT

Similar Papers

Cite this paper

@article{li2026art,
  title  = {ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users},
  author = {Guanlin Li and Kangjie Chen and Shudong Zhang and Jie Zhang and Tianwei Zhang},
  year   = {2026},
  eprint = {2405.19360},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.19360},
  url    = {https://arxiv.org/abs/2405.19360},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.19360.svg)](https://codeofpaper.com/paper/2405.19360)

Discussion