Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

FLIRT: Feedback Loop In-context Red Teaming (2308.04265v2)

Published 8 Aug 2023 in cs.AI

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 in-context 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Ninareh Mehrabi (26 papers)
  2. Palash Goyal (31 papers)
  3. Christophe Dupuy (15 papers)
  4. Qian Hu (37 papers)
  5. Shalini Ghosh (34 papers)
  6. Richard Zemel (82 papers)
  7. Kai-Wei Chang (292 papers)
  8. Aram Galstyan (142 papers)
  9. Rahul Gupta (146 papers)
Citations (47)