Skip to content

DREAM: Scalable red teaming of text-to-image generation systems via distribution modelingDREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling

arXiv· arXiv:2507.16329· IEEE S&P 2026· Boheng Li, Junjie Wang, Yiming Li, Zhiyang Hu, Leyi Qi, Jianshuo Dong, Run Wang, Han Qiu, Zhan Qin, Tianwei Zhang·Indexed by this site · 24 days ago· Originally publishedTools
AI summary

The researchers propose DREAM, a scalable red teaming framework for text-to-image generation systems, which discovers diverse prompts by directly modeling the probability distribution of prompts that induce unsafe outputs. Existing automated red teaming methods often treat prompt discovery as isolated prompt-level optimization, limiting scale, diversity and effectiveness; DREAM can sample at scale after training and simultaneously optimizes effectiveness and diversity. To achieve this goal without representative training samples, the authors draw on energy models to rewrite the objective into a tractable form, and propose the GC-SPSA optimization algorithm, which provides stable gradient estimation in long and potentially non-differentiable T2I pipelines; at inference, diversity-aware sampling is also used. The authors claim that experiments on multiple T2I models and safety filters achieve current best levels in prompt success rate and diversity, with code at https://github.com/AntigoneRandy/DREAM。

Read originalIEEE S&P 2026