mlsanityData to 7 Oct 2026

Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling

arXiv 2505.21074 ↗First posted 27 May 2025cs.LG cs.AI cs.CRcited by 8

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

  1. 2025Token-Level Constraint Boundary Search for Jailbreaking Text-to-Image Models15 Apr
  2. 2025Reason2Attack: Jailbreaking Text-to-Image Models via LLM Reasoning23 Mar
  3. 2024AlignGuard: Scalable Safety Alignment for Text-to-Image Generation13 Dec
  4. 2024Safety Alignment Backfires: Preventing the Re-emergence of Suppressed Concepts in Fine-tuned Text-to-Image Diffusion Models30 Nov
  5. 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generation16 Oct
  6. 2024Perception-guided Jailbreak against Text-to-Image Models20 Aug
  7. 2024DiffZOO: A Purely Query-Based Black-Box Attack for Red-teaming Text-to-Image Generative Model via Zeroth Order Optimization18 Aug
  8. 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Models1 Aug
  9. 2024Direct Unlearning Optimization for Robust and Safe Text-to-Image Models17 Jul
  10. 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users24 May
  11. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
  12. 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Models10 Apr
9 more
  1. 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models2 Apr
  2. 2024GuardT2I: Defending Text-to-Image Models from Adversarial Prompts3 Mar
  3. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
  4. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
  5. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
  6. 2023FLIRT: Feedback Loop In-context Red Teaming8 Aug
  7. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
  8. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
  9. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct

Other references · 30

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2013Intriguing properties of neural networkscited by 5,114
  7. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  8. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  9. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  10. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  11. 2024Open-Sora: Democratizing Efficient Video Production for Allcited by 637
  12. 2023Erasing Concepts from Diffusion Modelscited by 530
18 more
  1. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
  2. 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 312
  3. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
  4. 2023How Robust is Google's Bard to Adversarial Image Attacks?cited by 177
  5. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
  6. 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
  7. 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 75
  8. 2024CogView3: Finer and Faster Text-to-Image Generation via Relay Diffusioncited by 72
  9. 2024T2VSafetyBench: Evaluating the Safety of Text-to-Video Generative Modelscited by 66
  10. 2024MultiTrust: A Comprehensive Benchmark Towards Trustworthy Multimodal Large Language Modelscited by 51
  11. 2024The Stronger the Diffusion Model, the Easier the Backdoor: Data Poisoning to Induce Copyright Breaches Without Adjusting Finetuning Pipelinecited by 33
  12. 2023SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitutioncited by 32
  13. 2022Isometric 3D Adversarial Examples in the Physical Worldcited by 25
  14. 2024Your Diffusion Model is Secretly a Certifiably Robust Classifiercited by 24
  15. 2024Generalization Bound and New Algorithm for Clean-Label Backdoor Attackcited by 11
  16. 2024Efficient Black-box Adversarial Attacks via Bayesian Optimization Guided by a Function Priorcited by 10
  17. 2024Toward Availability Attacks in 3D Point Cloudscited by 7
  18. 2025SafeText: Safe Text-to-image Models via Aligning the Text Encodercited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 6.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling
  2. 2026Automatic Red Teaming for Implicit Vulnerabilities of Text-to-Image Models
  3. 2025Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints
  4. 2025GenBreak: Red Teaming Text-to-Image Generators Using Large Language Models
  5. 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
  6. 2026CART: Closed-Loop Adaptive Red Teaming for Large Language Models
  7. 2025ARMs: Adaptive Red-Teaming Agent against Multimodal Models with Plug-and-Play Attacks
  8. 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs