FLIRT: Feedback Loop In-context Red Teaming
Ninareh Mehrabi, Palash Goyal, Christophe Dupuy, Qian Hu, Shalini Ghosh, Richard S. Zemel, Kai-Wei Chang, Aram Galstyan, Rahul Gupta
Abstract
Warning: this paper contains content that may be inappropriate or offensive. As generative models become available for public use in various applications, testing and analyzing vulnerabilities of these models has become a priority. In this work, we propose an automatic red teaming framework that evaluates a given black-box model and exposes its vulnerabilities against unsafe and inappropriate content generation. Our framework uses incontext learning in a feedback loop to red team models and trigger them into unsafe content generation. In particular, taking text-to-image models as target models, we explore different feedback mechanisms to automatically learn effective and diverse adversarial prompts. Our experiments demonstrate that even with enhanced safety features, Stable Diffusion (SD) models are vulnerable to our adversarial prompts, raising concerns on their robustness in practical uses. Furthermore, we demonstrate that the proposed framework is effective for red teaming text-to-text models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
14 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Query-Efficient Black-Box Red Teaming via Bayesian Optimization cites High-Resolution Image Synthesis with Latent Diffusion Models
- Query-Efficient Black-Box Red Teaming via Bayesian Optimization cites Red Teaming Language Models with Language Models
- ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users cites High-Resolution Image Synthesis with Latent Diffusion Models
- Unveiling the Basin-Like Loss Landscape in Large Language Models cites Red Teaming Language Models with Language Models
- DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling cites High-Resolution Image Synthesis with Latent Diffusion Models
- DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling cites ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Users
- DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling cites Red Teaming Language Models with Language Models
- MoGU: A Framework for Enhancing Safety of LLMs While Preserving Their Usability cites Red Teaming Language Models with Language Models
- AdversaFlow: Visual Red Teaming for Large Language Models with Multi-Level Adversarial Flow cites Red Teaming Language Models with Language Models
Cited by top-tier papers14
- ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign UsersGuanlin Li, Kangjie Chen, Shudong Zhang, Jie Zhang et al.NeurIPS 2024 · 39 citations
- Unveiling the Basin-Like Loss Landscape in Large Language ModelsHuanran Chen, Zeming Wei, Yao Huang, Yichi Zhang et al.ICLR 2026 · 14 citations
- AdversaFlow: Visual Red Teaming for Large Language Models with Multi-Level Adversarial FlowDazhen Deng, Chuhan Zhang, Huawei Zheng, Yuwen Pu et al.IEEE VIS 2024 · 14 citations
- MoGU: A Framework for Enhancing Safety of LLMs While Preserving Their UsabilityYanrui Du, Sendong Zhao, Danyang Zhao, Ming Ma et al.NeurIPS 2024 · 13 citations
- DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution ModelingBoheng Li, Junjie Wang, Yiming Li, Zhiyang Hu et al.S&P 2026 · 9 citations
Builds on6
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu et al.ACL 2023 · 540 citations
- Red Teaming Language Models with Language ModelsEthan Perez, Saffron Huang, H. Francis Song, Trevor Cai et al.EMNLP 2022 · 239 citations
- Neural Path Hunter: Reducing Hallucination in Dialogue Systems via Path GroundingNouha Dziri, Andrea Madotto, Osmar Zaïane, Avishek Joey BoseEMNLP 2021 · 74 citations
- Query-Efficient Black-Box Red Teaming via Bayesian OptimizationDeokjae Lee, JunYeong Lee, Jung-Woo Ha, Jin-Hwa Kim et al.ACL 2023 · 5 citations
Related papers
- GenBreak: Red Teaming Text-to-Image Generation Using Large Language ModelsZilong Wang, Xiang Zheng, Xiaosen Wang, Bo Wang et al.CVPR 2026
- Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic PromptsZhi-Yi Chin, Chieh-Ming Jiang, Ching-Chun Huang, Pin-Yu Chen et al.ICML 2024 · 155 citations
- Be a Multitude to Itself: A Prompt Evolution Framework for Red TeamingRui Li, Peiyi Wang, Jingyuan Ma, Di Zhang et al.EMNLP Findings 2024
- Ring-A-Bell! How Reliable are Concept Removal Methods For Diffusion Models?Yu-Lin Tsai, Chia-Yi Hsu, Chulin Xie, Chih-Hsun Lin et al.ICLR 2024 · 207 citations
- Attack Prompt Generation for Red Teaming and Defending Large Language ModelsBoyi Deng, Wenjie Wang, Fuli Feng, Yang Deng et al.EMNLP Findings 2023 · 35 citations
