arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.12075cs.CYcs.AIcs.CRcs.CVcs.LG
收藏

Adversarial Nibbler:一种用于识别文本到图像生成中多样危害的开放式红队测试方法

Adversarial Nibbler: An Open Red-Teaming Method for Identifying Diverse Harms in Text-to-Image Generation

Harvard University(哈佛大学);Google Research(谷歌研究院);University of Zurich(苏黎世大学);Carnegie Mellon University(卡内基梅隆大学);University of Oxford(牛津大学);University College London(伦敦大学学院);Cohere(科here公司);MLCommons(MLCommons组织)
Jessica Quaye, Alicia Parrish, Oana Inel, Charvi Rastogi, Hannah Rose Kirk, Minsuk Kahng, Erin van Liemt, Max Bartolo, Jess Tsang, Justin White, Nathan Clement,… 展开作者

Jessica Quaye, Alicia Parrish, Oana Inel, Charvi Rastogi, Hannah Rose Kirk, Minsuk Kahng, Erin van Liemt, Max Bartolo, Jess Tsang, Justin White, Nathan Clement, Rafael Mosquera, Juan Ciro, Vijay Janapa Reddi, Lora Aroyo

AI总结:

针对文本到图像生成模型的隐式对抗攻击安全问题,研究提出Adversarial Nibbler开放式红队众包方法,发现新型攻击策略及机器标注漏判问题,助力模型安全迭代评估与负责任开发。

摘要:

随着文本到图像(T2I)生成式AI模型的兴起并触达广泛用户群体,评估模型对非明显攻击的鲁棒性以缓解冒犯性图像的生成至关重要。通过聚焦“隐式对抗性”提示(即因非明显原因触发T2I模型生成不安全图像的提示),我们分离出一类人类创造力十分适合发掘的疑难安全问题。为此,我们构建了Adversarial Nibbler挑战赛,这是一种用于众包多样化隐式对抗性提示的红队测试方法。我们组装了一套最先进的T2I模型,采用简单的用户界面来识别和标注危害,并吸引多样化人群参与,以捕捉标准测试中可能被忽略的长尾安全问题。挑战赛以连续轮次的形式开展,以实现对T2I模型安全缺陷的持续发现和分析。\n在本文中,我们深入介绍了我们的方法,系统研究了新型攻击策略,并讨论了挑战赛参与者揭示的安全失效问题。我们还发布了配套的可视化工具,便于对数据集进行探索和见解推导。首轮挑战赛产生了超过1万组带机器安全标注的提示-图像对。其中1500个样本的子集包含丰富的危害类型和攻击风格的人工标注。我们发现,在人类认为有害的图像中,有14%被机器错误标注为“安全”。我们识别出了新的攻击策略,凸显了确保T2I模型鲁棒性的复杂性。我们的研究结果强调,随着新漏洞的出现,持续审计和调整十分必要。我们相信,这项工作将支持主动、迭代的安全评估,并推动T2I模型的负责任开发。

英文摘要:

With the rise of text-to-image (T2I) generative AI models reaching wide audiences, it is critical to evaluate model robustness against non-obvious attacks to mitigate the generation of offensive images. By focusing on ``implicitly adversarial'' prompts (those that trigger T2I models to generate unsafe images for non-obvious reasons), we isolate a set of difficult safety issues that human creativity is well-suited to uncover. To this end, we built the Adversarial Nibbler Challenge, a red-teaming methodology for crowdsourcing a diverse set of implicitly adversarial prompts. We have assembled a suite of state-of-the-art T2I models, employed a simple user interface to identify and annotate harms, and engaged diverse populations to capture long-tail safety issues that may be overlooked in standard testing. The challenge is run in consecutive rounds to enable a sustained discovery and analysis of safety pitfalls in T2I models. In this paper, we present an in-depth account of our methodology, a systematic study of novel attack strategies and discussion of safety failures revealed by challenge participants. We also release a companion visualization tool for easy exploration and derivation of insights from the dataset. The first challenge round resulted in over 10k prompt-image pairs with machine annotations for safety. A subset of 1.5k samples contains rich human annotations of harm types and attack styles. We find that 14% of images that humans consider harmful are mislabeled as ``safe'' by machines. We have identified new attack strategies that highlight the complexity of ensuring T2I model robustness. Our findings emphasize the necessity of continual auditing and adaptation as new vulnerabilities emerge. We are confident that this work will enable proactive, iterative safety assessments and promote responsible development of T2I models.

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

↑