CAHS-Attack:面向稳定扩散的CLIP感知启发式搜索攻击方法 CAHS-Attack: CLIP-Aware Heuristic Search Attack Method for Stable Diffusion 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-11-26
👁️ 预览文献
💡 AI 中文简介
本研究针对稳定扩散模型面对对抗提示词时脆弱的问题,提出CAHS-Attack攻击方法。该方法结合蒙特卡洛树搜索进行后缀优化,并用约束遗传算法预选高潜力对抗提示词作为根节点,在每次模拟中保留语义破坏性最强的结果。实验表明,该方法在短提示和长提示上均达到最优攻击性能,并揭示SD模型的脆弱性源于其CLIP文本编码器的固有缺陷,为文本到图像生成系统的安全风险提供了新见解。
领域计算机视觉/生成模型安全
适合谁读需要一定专业背景(了解扩散模型和对抗攻击基础)
核心贡献1. 提出CAHS-Attack,一种无需白盒梯度、结合MCTS和约束遗传算法的黑盒攻击方法,实现细粒度后缀优化。2. 揭示稳定扩散模型的脆弱性根源在于CLIP文本编码器的固有漏洞,指出当前文本到图像管线的根本安全风险。
关键数据在短提示和长提示上均达到最先进的攻击性能;具体指标未在摘要中给出。
推荐理由如果你关心AI生成模型的安全漏洞,这篇工作不仅提出了高效攻击方法,还挖出了扩散模型脆弱性的根源,值得一读。
关键词["稳定扩散", "对抗攻击", "蒙特卡洛树搜索", "CLIP文本编码器", "提示词优化", "生成模型安全"]

原文摘要

查看英文原文摘要

Diffusion models exhibit notable fragility when faced with adversarial prompts, and strengthening attack capabilities is crucial for uncovering such vulnerabilities and building more robust generative systems. Existing works often rely on white-box access to model gradients or hand-crafted prompt engineering, which is infeasible in real-world deployments due to restricted access or poor attack effect. In this paper, we propose CAHS-Attack , a CLIP-Aware Heuristic Search attack method. CAHS-Attack integrates Monte Carlo Tree Search (MCTS) to perform fine-grained suffix optimization, leveraging a constrained genetic algorithm to preselect high-potential adversarial prompts as root nodes, and retaining the most semantically disruptive outcome at each simulation rollout for efficient local search. Extensive experiments demonstrate that our method achieves state-of-the-art attack performance across both short and long prompts of varying semantics. Furthermore, we find that the fragility of SD models can be attributed to the inherent vulnerability of their CLIP-based text encoders, suggesting a fundamental security risk in current text-to-image pipelines.