arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04265cs.AI
收藏

FLIRT:反馈循环上下文红队测试

FLIRT: Feedback Loop In-context Red Teaming

Amazon AGI Foundations(亚马逊AGI基础研究部)

Ninareh Mehrabi, Palash Goyal, Christophe Dupuy, Qian Hu, Shalini Ghosh, Richard Zemel, Kai-Wei Chang, Aram Galstyan, Rahul Gupta

AI总结:

本文提出FLIRT自动红队框架,利用反馈循环中的上下文学习生成对抗性提示,揭示文本到图像及文本到文本模型在生成不安全内容方面的漏洞,实验表明Stable Diffusion等模型即使有安全增强仍易受攻击。

摘要:

警告:本文包含可能不当或冒犯的内容。随着生成模型在各类应用中面向公众开放使用,测试和分析这些模型的漏洞已成为优先事项。在本工作中,我们提出了一种自动红队测试框架,用于评估给定的黑盒模型并揭示其在生成不安全和不适当内容方面的漏洞。我们的框架在反馈循环中使用上下文学习来对模型进行红队测试,并触发其生成不安全内容。具体而言,以文本到图像模型作为目标模型,我们探索了不同的反馈机制,以自动学习有效且多样化的对抗性提示。我们的实验表明,即使具有增强的安全功能,Stable Diffusion(SD)模型也易受我们的对抗性提示攻击,这引发了对其在实际应用中鲁棒性的担忧。此外,我们证明了所提出的框架对于文本到文本模型的红队测试同样有效。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑