arXiv:2606.15531cs.LGcs.CR2026-06

用扩散模型生成语义一致的对抗后缀,提升攻击成功率且更难被检测。

Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks via Diffusion Guidance

论文配图:Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks via Diffusion Guidance
图 1 · 摘自论文原文
  • 基于离散扩散模型生成对抗后缀,无需梯度即可搜索。
  • 攻击成功率最高,响应质量高,困惑度低。
  • 适合研究安全对齐模型漏洞或防御机制的学者。

尽管已有大量研究,大型语言模型的对抗攻击仍缺乏实际影响。基于优化的攻击如贪婪坐标梯度(GCG)会产生高困惑度、不连贯的后缀,易被现有防御机制检测(Bengio等,2024)。尝试在优化中加入连贯性约束常导致攻击无法触发目标响应,使针对强健模型的成功率降低。相反,保持连贯性的攻击常改变查询的语义意图;当模型回应这些修改后的查询时,无法满足攻击者原始目标。本文提出贪婪坐标扩散(GCD),一种新框架,通过离散扩散语言模型的生成先验,高效生成语义连贯、忠实于原始意图的对抗后缀,实现对安全对齐模型的有效攻击。与GCG不同,GCD无需直接访问梯度,可在灰盒环境下运行。实验表明,GCD在攻击成功率(ASR)上表现最佳,同时保持优异的响应质量评分,并显著降低被困惑度和守卫模型过滤器检测的概率。

原文摘要 · Abstract (English)

Adversarial attacks on large language models have limited practical impact despite extensive research. Optimization-based attacks such as Greedy Coordinate Gradient (GCG) (Zou et al., 2023) produce high-perplexity, incoherent suffixes that existing defenses easily detect (Bengio et al., 2024). Moreover, attempting to enforce coherence constraints during optimization often prevents the attack from successfully eliciting the specific targeted response, resulting in low success rates against robust models. Conversely, attacks that maintain coherence often alter the semantic intent of queries; when the model complies with these altered queries, responses fail to address the adversary's original goal. In this work, we introduce Greedy Coordinate Diffusion (GCD), a novel framework that efficiently generates adversarial attacks against safety-aligned models while maintaining low perplexity and high semantic adherence to the adversary's original intent. GCD leverages the generative priors of discrete diffusion language models to guide the search for adversarial suffixes that achieve semantic coherence and adherence. Unlike GCG, GCD does not require direct gradient access, allowing it to operate in a gray-box setting. We show GCD achieves highest ASR while remaining competitive on response-quality scores, and that the constructed adversarial prompts are detected at lower rates than other methods by perplexity-based and guard-model filters.

对抗攻击扩散模型大模型安全

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。