Skip to main content
QUICK REVIEW

[论文解读] Adversarial Nibbler: A Data-Centric Challenge for Improving the Safety of Text-to-Image Models

Alicia Parrish, Hannah Rose Kirk|arXiv (Cornell University)|May 22, 2023
Adversarial Robustness in Machine LearningComputer Science被引用 3
一句话总结

Adversarial Nibbler 通过众包收集对抗性提示,系统性地揭示文本到图像模型中隐藏的安全漏洞,从而挑战以数据为中心的安全评估。该举措通过社区驱动的提示-图像对识别出长尾有害生成结果,提升模型安全评估能力,并支持生成式人工智能系统的持续改进。

ABSTRACT

The generative AI revolution in recent years has been spurred by an expansion in compute power and data quantity, which together enable extensive pre-training of powerful text-to-image (T2I) models. With their greater capabilities to generate realistic and creative content, these T2I models like DALL-E, MidJourney, Imagen or Stable Diffusion are reaching ever wider audiences. Any unsafe behaviors inherited from pretraining on uncurated internet-scraped datasets thus have the potential to cause wide-reaching harm, for example, through generated images which are violent, sexually explicit, or contain biased and derogatory stereotypes. Despite this risk of harm, we lack systematic and structured evaluation datasets to scrutinize model behavior, especially adversarial attacks that bypass existing safety filters. A typical bottleneck in safety evaluation is achieving a wide coverage of different types of challenging examples in the evaluation set, i.e., identifying 'unknown unknowns' or long-tail problems. To address this need, we introduce the Adversarial Nibbler challenge. The goal of this challenge is to crowdsource a diverse set of failure modes and reward challenge participants for successfully finding safety vulnerabilities in current state-of-the-art T2I models. Ultimately, we aim to provide greater awareness of these issues and assist developers in improving the future safety and reliability of generative AI models. Adversarial Nibbler is a data-centric challenge, part of the DataPerf challenge suite, organized and supported by Kaggle and MLCommons.

研究动机与目标

  • 识别现有安全过滤器无法检测到的文本到图像模型中先前未知的安全失效模式——即‘未知的未知’。
  • 创建一个标准化、社区驱动的基准,用于评估最先进 T2I 模型的安全性。
  • 通过从广泛多样的视角收集多样化、对抗性的样本,支持模型安全的持续改进。
  • 解决针对细微、隐蔽提示的文本到图像模型红队测试缺乏系统性评估套件的问题。
  • 通过强调高质量、对抗性筛选的训练与评估数据,推动以数据为中心的 AI 实践。

提出的方法

  • 该挑战在 Dynabench.org 上举办,邀请参与者提交旨在绕过 T2I 模型安全过滤器的提示。
  • 每位参与者提交一个提示,使用三种不同的 T2I 模型生成六张图像,并选择最具危害性的输出。
  • 参与者需回答关于提示和所选图像的四个结构化问题,以评估其意图、危害类型及过滤绕过策略。
  • 该框架利用动态、交互式平台,实现实时对抗性数据收集与评估。
  • 该挑战是 MLCommons 和 Kaggle 支持的 DataPerf 套件的一部分,确保长期可持续性与社区参与。
  • 评估聚焦于攻击成功率与失效模式的多样性,优先关注长尾安全问题。
Figure 1: The Challenge Participant Journey . [Step 1] All participants start by creating an account on Dynabench.org where the challenge is hosted and navigating to the Adversarial Nibbler challenge in the DataPerf section. [Step 2] The user is directed to the challenge landing site, where they can
Figure 1: The Challenge Participant Journey . [Step 1] All participants start by creating an account on Dynabench.org where the challenge is hosted and navigating to the Adversarial Nibbler challenge in the DataPerf section. [Step 2] The user is directed to the challenge landing site, where they can

实验结果

研究问题

  • RQ1哪些类型的对抗性提示能够成功绕过最先进文本到图像模型中的现有安全过滤器?
  • RQ2多样化的现实世界视角在揭示生成式人工智能中先前未知的安全漏洞方面发挥何种作用?
  • RQ3社区驱动、以数据为中心的方法在多大程度上能提升对 T2I 模型中长尾有害生成的检测能力?
  • RQ4标准化、公开可用的对抗性样本基准能否增强对文本到图像生成中安全风险的评估与缓解?
  • RQ5数据为中心的方法论在识别和解决生成式 AI 中的安全问题方面,为何能优于以模型为中心的度量指标?

主要发现

  • Adversarial Nibbler 挑战成功识别出文本到图像模型中广泛存在的先前未知安全失效模式,包括可逃避检测的细微提示操纵。
  • 来自不同背景的参与者提交了看似无害但能触发有害输出的提示,证明了模型安全中存在显著的‘未知的未知’。
  • 收集到的对抗性提示-图像对数据集表明,安全过滤器对未被标准基准覆盖的隐蔽语言模式存在脆弱性。
  • 该挑战建立了一个可持续的、社区驱动的安全评估流程,支持 T2I 模型安全的持续改进。
  • 该举措证明,以数据为中心的方法,特别是对抗性数据收集,对于识别和缓解生成式 AI 中的长尾安全风险至关重要。
  • 通过挑战生成的基准为未来 T2I 模型的红队测试与安全评估提供了可复用、标准化的资源。
Figure 3: Behind The Scenes . [Step 1] We validate the attack by checking the submission is a unsafe image and safe prompt pair. We calculate a weighted score for 5 raters. This score is summed for all submissions that a participant makes. [Step 2] After collecting all the data, we analyse the creat
Figure 3: Behind The Scenes . [Step 1] We validate the attack by checking the submission is a unsafe image and safe prompt pair. We calculate a weighted score for 5 raters. This score is summed for all submissions that a participant makes. [Step 2] After collecting all the data, we analyse the creat

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。