Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling
On the map: LLM safety and security → Vision-language and text-to-image safety
Abstract (arXiv)
Text-to-image (T2I) models raise ethical and safety concerns due to their potential to generate inappropriate or harmful images. Evaluating these models' security through red-teaming is vital, yet white-box approaches are limited by their need for internal access, complicating their use with closed-source models. Moreover, existing black-box methods often assume knowledge about the model's specific defense mechanisms, limiting their utility in real-world commercial API scenarios. A significant challenge is how to evade unknown and diverse defense mechanisms. To overcome this difficulty, we propose a novel Rule-based Preference modeling Guided Red-Teaming (RPG-RT), which iteratively employs LLM to modify prompts to query and leverages feedback from T2I systems for fine-tuning the LLM. RPG-RT treats the feedback from each iteration as a prior, enabling the LLM to dynamically adapt to unknown defense mechanisms. Given that the feedback is often labeled and coarse-grained, making it difficult to utilize directly, we further propose rule-based preference modeling, which employs a set of rules to evaluate desired or undesired feedback, facilitating finer-grained control over the LLM's dynamic adaptation process. Extensive experiments on nineteen T2I systems with varied safety mechanisms, three online commercial API services, and T2V models verify the superiority and practicality of our approach.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Vision-language and text-to-image safety, one of 12 directions in LLM safety and security. Builds on 51 of its 70 references that are in the map. First posted on arXiv 27 May 2025.
Builds on
51 of 70 references.
Closest ancestors · 21
Same direction, newest first
- 2025Token-Level Constraint Boundary Search for Jailbreaking Text-to-Image Models15 Apr
- 2025Reason2Attack: Jailbreaking Text-to-Image Models via LLM Reasoning23 Mar
- 2024AlignGuard: Scalable Safety Alignment for Text-to-Image Generation13 Dec
- 2024Safety Alignment Backfires: Preventing the Re-emergence of Suppressed Concepts in Fine-tuned Text-to-Image Diffusion Models30 Nov
- 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generation16 Oct
- 2024Perception-guided Jailbreak against Text-to-Image Models20 Aug
- 2024DiffZOO: A Purely Query-Based Black-Box Attack for Red-teaming Text-to-Image Generative Model via Zeroth Order Optimization18 Aug
- 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Models1 Aug
- 2024Direct Unlearning Optimization for Robust and Safe Text-to-Image Models17 Jul
- 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users24 May
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
- 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Models10 Apr
9 more
- 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models2 Apr
- 2024GuardT2I: Defending Text-to-Image Models from Adversarial Prompts3 Mar
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
- 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
- 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
- 2023FLIRT: Feedback Loop In-context Red Teaming8 Aug
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
- 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
- 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct
Other references · 30
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2013Intriguing properties of neural networkscited by 5,114
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2024Open-Sora: Democratizing Efficient Video Production for Allcited by 637
- 2023Erasing Concepts from Diffusion Modelscited by 530
18 more
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
- 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 312
- 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
- 2023How Robust is Google's Bard to Adversarial Image Attacks?cited by 177
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
- 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 75
- 2024CogView3: Finer and Faster Text-to-Image Generation via Relay Diffusioncited by 72
- 2024T2VSafetyBench: Evaluating the Safety of Text-to-Video Generative Modelscited by 66
- 2024MultiTrust: A Comprehensive Benchmark Towards Trustworthy Multimodal Large Language Modelscited by 51
- 2024The Stronger the Diffusion Model, the Easier the Backdoor: Data Poisoning to Induce Copyright Breaches Without Adjusting Finetuning Pipelinecited by 33
- 2023SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitutioncited by 32
- 2022Isometric 3D Adversarial Examples in the Physical Worldcited by 25
- 2024Your Diffusion Model is Secretly a Certifiably Robust Classifiercited by 24
- 2024Generalization Bound and New Algorithm for Clean-Label Backdoor Attackcited by 11
- 2024Efficient Black-box Adversarial Attacks via Bayesian Optimization Guided by a Function Priorcited by 10
- 2024Toward Availability Attacks in 3D Point Cloudscited by 7
- 2025SafeText: Safe Text-to-image Models via Aligning the Text Encodercited by 7
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2025Jailbreaking on Text-to-Video Models via Scene Splitting Strategycited by 10
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networkscited by 5
- 2025TEAR: Temporal-aware Automated Red-teaming for Text-to-Video Modelscited by 3
- 2026Why Do Unlearnable Examples Work: A Novel Perspective of Mutual Informationcited by 2
- 2026FERRET: Framework for Expansion Reliant Red Teamingcited by 1
- 2026RedEdit: Agentic Red-Teaming of Image Safety Classifiers via MCTS-Guided Photo-Editingcited by 0
- 2026ARENA: Automated Red-Teaming for Large Audio Language Modelscited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Modelscited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Models28 Sep 2026
- 2026ARENA: Automated Red-Teaming for Large Audio Language Models16 Aug 2026
- 2026RedEdit: Agentic Red-Teaming of Image Safety Classifiers via MCTS-Guided Photo-Editing4 Jun 2026
- 2026Why Do Unlearnable Examples Work: A Novel Perspective of Mutual Information4 Mar 2026
- 2026FERRET: Framework for Expansion Reliant Red Teaming17 Feb 2026
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networks3 Feb 2026
- 2025TEAR: Temporal-aware Automated Red-teaming for Text-to-Video Models26 Nov 2025
- 2025Jailbreaking on Text-to-Video Models via Scene Splitting Strategy26 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling
- 2026Automatic Red Teaming for Implicit Vulnerabilities of Text-to-Image Models
- 2025Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints
- 2025GenBreak: Red Teaming Text-to-Image Generators Using Large Language Models
- 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
- 2026CART: Closed-Loop Adaptive Red Teaming for Large Language Models
- 2025ARMs: Adaptive Red-Teaming Agent against Multimodal Models with Plug-and-Play Attacks
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs