数据源与状态仍在导航菜单中
arxiv.org·2026/10/23
论文针对多模态扩散模型中生成后安全检查器仍可能被绕过的问题,提出 Mirage 定向越狱攻击:在文本提示不变时,把恶意文本或参考图像目标藏入良性输入图像的微小扰动。该方法用公开 CLIP 作替代编码器,在共享嵌入空间以对比损失使扰动图像靠近目标、远离常见 NSFW 概念,并借助语义关系跨空间迁移,再用少量黑盒查询微调未知安全边界。实验覆盖 Stable Diffusion 系列、Kandinsky 及 CLIP、ViT、NudeNet 检查器,使用文本与图像目标,并验证图像生成、修补与视频生成任务。在文本目标测试中,作者报告对 CLIP 检查器攻击成功率达 0.840,高于 SneakyPrompt 的 0.390,所需查询最多少 16.4 倍;更小扰动预算下仍有效。消融显示目标对齐、概念排斥和查询微调共同提升绕过率。结论是仅靠生成后检查不足,需多层防御;局限是专有模型仍需合适替代模型,扩展到文本输出或音频仍困难。
为什么重要 后置检查器是多模态扩散模型的最后防线;Mirage 只靠黑盒输出就能做针对性越狱,做生成安全需纵深防御。适合 多模态扩散模型的工程与安全团队、内容审核策略制定者。
后生成安全检查器被广泛用于 diffusion-model pipelines,以防止不安全生成内容到达用户。在本文中,我们展示这些安全检查器仍可被我们提出的多模态越狱攻击 Mirage 绕过。
给定一个对抗目标,它可以是参考 NSFW 图像或恶意文本描述,Mirage 将该目标隐藏在施加于良性输入图像的不可感知扰动中。Mirage 利用多模态编码器的共享表示空间,使扰动图像与跨模态对抗目标联合对齐,同时使其表示远离常见被过滤的 NSFW 概念。
这种语义分离可以跨表示空间迁移,使 Mirage 能够在不访问其内部细节的情况下规避异构安全检查器。我们进一步采用轻量级黑盒查询优化,以改善接近未知安全边界时的规避效果。
我们在 Stable Diffusion 1.5、Stable Diffusion XL 和 Kandinsky 2.2 上实现了 Mirage,并在 2 个跨模态 NSFW 数据集上进行了评估,覆盖 text-to-image 和 image-to-image 生成场景。实验结果表明,Mirage 在有限黑盒查询下跨多种后生成安全检查器实现了强定向越狱性能,同时保持与对抗目标的高语义对齐。
Post-generation safety checkers are widely employed in diffusion-model pipelines to prevent unsafe generated content from reaching users.
In this paper, we show that these safety checkers can still be bypassed by our proposed multimodal jailbreak attack, Mirage.
Given an adversarial target, which can be either a reference NSFW image or a malicious text description, Mirage conceals the target within an imperceptible perturbation applied to a benign input image.
Mirage exploits the shared representation space of multimodal encoders to jointly align the perturbed image with the cross-modal adversarial target while repelling its representation from commonly filtered NSFW concepts.
Such semantic separation can transfer across representation spaces, enabling Mirage to evade heterogeneous safety checkers without accessing their internal details.
We further employ lightweight black-box query refinement to improve evasion near the unknown safety boundary.
We implemented Mirage on Stable Diffusion 1.5, Stable Diffusion XL, and Kandinsky 2.2, and evaluated it on two cross-modal NSFW datasets, covering both text-to-image and image-to-image generation scenarios.
The experimental results demonstrate that Mirage achieves strong targeted jailbreak performance across diverse post-generation safety checkers with limited black-box queries while preserving high semantic alignment with the adversarial targets.
SDXL+NudeNet A
SDXL+CLIP ASR
SD1.5+ViT bypa
KD2.2+CLIP 查询数
注释 · 表中为 NSFW 图像目标,攻击预算 8/255,bypass 统计 20 次查询内成功。出自 表 II(b)



EVIDENCE / METHODS
参数清单
攻击者只掌握 Hugging Face 开源 CLIP 代理,不需扩散模型与检查器内部。
注释 · 成功阈值对应无防御成功样本的 CLIP 相似度下界;基线对比中查询上限为 50。出自 §III、§V-A
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。