Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.16329

帮助 | 高级搜索

计算机科学 > 密码学与安全

arXiv:2507.16329 (cs)
[提交于 2025年7月22日 ]

标题: DREAM:通过分布建模实现文本到图像生成系统的可扩展红队测试

标题: DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling

Authors:Boheng Li, Junjie Wang, Yiming Li, Zhiyang Hu, Leyi Qi, Jianshuo Dong, Run Wang, Han Qiu, Zhan Qin, Tianwei Zhang
摘要: 尽管整合了安全对齐和外部过滤器,文本到图像(T2I)生成模型仍然容易产生有害内容,例如色情或暴力图像。 这引发了关于无意暴露和潜在滥用的严重担忧。 红队测试旨在主动识别能够引发T2I系统不安全输出的各种提示(包括核心生成模型以及可能的外部安全过滤器和其他处理组件),目前被广泛认为是在实际部署前评估和提高安全性的必要方法。 然而,现有的自动化红队测试方法通常将提示发现视为一个孤立的、基于提示的优化任务,这限制了它们的可扩展性、多样性以及整体效果。 为了弥补这一差距,本文提出DREAM,一个可扩展的红队测试框架,用于从给定的T2I系统中自动发现多样化的有问题的提示。 与大多数之前的工作不同,DREAM直接建模目标系统有问题提示的概率分布,这使得可以对有效性和多样性进行显式优化,并在训练后实现高效的大规模采样。 为了在没有直接访问代表性训练样本的情况下实现这一点,我们受到基于能量模型的启发,并将目标重新表述为简单且易于处理的目标。 我们进一步引入GC-SPSA,一种高效的优化算法,通过长且可能不可微的T2I流水线提供稳定的梯度估计。 通过广泛的实验验证了DREAM的有效性,结果表明,在提示成功率和多样性方面,DREAM在各种T2I模型和安全过滤器上显著超越了9个最先进的基线方法。
摘要: Despite the integration of safety alignment and external filters, text-to-image (T2I) generative models are still susceptible to producing harmful content, such as sexual or violent imagery. This raises serious concerns about unintended exposure and potential misuse. Red teaming, which aims to proactively identify diverse prompts that can elicit unsafe outputs from the T2I system (including the core generative model as well as potential external safety filters and other processing components), is increasingly recognized as an essential method for assessing and improving safety before real-world deployment. Yet, existing automated red teaming approaches often treat prompt discovery as an isolated, prompt-level optimization task, which limits their scalability, diversity, and overall effectiveness. To bridge this gap, in this paper, we propose DREAM, a scalable red teaming framework to automatically uncover diverse problematic prompts from a given T2I system. Unlike most prior works that optimize prompts individually, DREAM directly models the probabilistic distribution of the target system's problematic prompts, which enables explicit optimization over both effectiveness and diversity, and allows efficient large-scale sampling after training. To achieve this without direct access to representative training samples, we draw inspiration from energy-based models and reformulate the objective into simple and tractable objectives. We further introduce GC-SPSA, an efficient optimization algorithm that provide stable gradient estimates through the long and potentially non-differentiable T2I pipeline. The effectiveness of DREAM is validated through extensive experiments, demonstrating that it surpasses 9 state-of-the-art baselines by a notable margin across a broad range of T2I models and safety filters in terms of prompt success rate and diversity.
评论: 预印本版本。正在审稿中
主题: 密码学与安全 (cs.CR) ; 人工智能 (cs.AI); 计算机视觉与模式识别 (cs.CV)
引用方式: arXiv:2507.16329 [cs.CR]
  (或者 arXiv:2507.16329v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.16329
通过 DataCite 发表的 arXiv DOI(待注册)

提交历史

来自: Boheng Li [查看电子邮件]
[v1] 星期二, 2025 年 7 月 22 日 08:10:22 UTC (2,090 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.CR
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs
cs.AI
cs.CV

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号