atlas

Research map / Large language models / Language, safety and interpretability

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

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RPG-RT, a black-box red-teaming framework that iteratively fine-tunes a Vicuna-7B prompt-modifier with DPO using rule-based preferences scored by a learned CLIP-decoupling scoring model, reaching higher ASR than baselines across 19 T2I systems and commercial APIs.

Problem

Red-teaming closed-source text-to-image systems with unknown and diverse defense mechanisms, where white-box methods need internal access and existing black-box methods assume knowledge of specific defenses; feedback from T2I systems is coarse and labeled, hard to use directly.

Approach

An LLM agent iteratively rewrites prompts, and its DPO fine-tuning uses preference pairs derived from rules over three feedback types (filter rejection, SFW, NSFW) plus a learned scoring model that decouples CLIP embeddings into a harmfulness score and a benign-semantics similarity score.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use iterative rule-based preference modeling and DPO fine-tuningVicuna-7B red-team agent · text-matchASR: 34.56 -> 80.98Helped
Use iterative rule-based preference modeling and DPO fine-tuningVicuna-7B red-team agent · DALL-E 3ASR: 4.67 -> 31.33Helped
Use iterative rule-based preference modeling and DPO fine-tuningVicuna-7B red-team agent · SD v3, unseen promptsASR: 57.27 -> 96.77Helped
Remove the L_harm loss term (ablation)RPG-RT scoring model · nudity red-teamingASRHurt
Remove the L_sim loss term (ablation)RPG-RT scoring model · nudity red-teamingASRHurt
Remove the L_rec loss term (ablation)RPG-RT scoring model · nudity red-teamingASRHurt
Remove the L_inno loss term (ablation)RPG-RT scoring model · nudity red-teamingsemantic similarityHurt

Surprising findings

Limitations

Experimental setup

Datasets: I2P GPT-4o-generated prompts for violence, discrimination, politicians, trademarks

Benchmarks: I2P nudity prompts violence, discrimination, politician, trademark prompts unseen I2P prompts (30-50% nudity) DALL-E 3, Leonardo.ai, SDXL online APIs Open-Sora text-to-video

Metrics: ASR FID CLIP similarity PPL

Baselines: MMA-Diffusion P4D-K P4D-N SneakyPrompt Ring-A-Bell FLIRT

Builds on: direct preference optimization CLIP Bradley-Terry model LoRA Ring-A-Bell SneakyPrompt FLIRT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy