JANUS:通过分布优化轻量级框架实现文本到图像模型的 jailbreak 攻击
JANUS: A Lightweight Framework for Jailbreaking Text-to-Image Models via Distribution Optimization
AI总结:
JANUS 通过分布优化实现文本到图像模型的 jailbreak 攻击,提升 ASR-8 评分并保持语义,适用于开源和商业模型。
摘要:
文本到图像(T2I)模型如 Stable Diffusion 和 DALLE 在 jailbreak 攻击下仍易生成有害或 Not-Safe-For-Work(NSFW)内容,尽管已部署安全过滤器。现有 jailbreak 攻击要么依赖于代理损失优化而非真正的端到端目标,要么依赖大规模且成本高的 RL 训练生成器。受这些限制的启发,我们提出了 JANUS,一个轻量级框架,将 jailbreak 形式化为在黑盒端到端奖励下优化结构化提示分布。JANUS 用低维混合策略替代高容量生成器,在两个语义锚定的提示分布上进行高效探索,同时保持目标语义。在现代 T2I 模型上,我们优于最先进的 jailbreak 方法,使 Stable Diffusion 3.5 Large Turbo 的 ASR-8 从 25.30% 提高到 43.15%,同时保持一致的 CLIP 和 NSFW 分数。JANUS 在开源和商业模型上均成功。这些发现揭示了当前 T2I 安全管道的结构弱点,并激励更强的分布感知防御。警告:本文包含可能具有冒犯性的模型输出。
英文摘要:
Text-to-image (T2I) models such as Stable Diffusion and DALLE remain susceptible to generating harmful or Not-Safe-For-Work (NSFW) content under jailbreak attacks despite deployed safety filters. Existing jailbreak attacks either rely on proxy-loss optimization instead of the true end-to-end objective, or depend on large-scale and costly RL-trained generators. Motivated by these limitations, we propose JANUS , a lightweight framework that formulates jailbreak as optimizing a structured prompt distribution under a black-box, end-to-end reward from the T2I system and its safety filters. JANUS replaces a high-capacity generator with a low-dimensional mixing policy over two semantically anchored prompt distributions, enabling efficient exploration while preserving the target semantics. On modern T2I models, we outperform state-of-the-art jailbreak methods, improving ASR-8 from 25.30% to 43.15% on Stable Diffusion 3.5 Large Turbo with consistently higher CLIP and NSFW scores. JANUS succeeds across both open-source and commercial models. These findings expose structural weaknesses in current T2I safety pipelines and motivate stronger, distribution-aware defenses. Warning: This paper contains model outputs that may be offensive.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。