arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.15531cs.LGcs.CR
收藏

贪婪坐标扩散:通过扩散引导实现有效且语义一致的对抗攻击

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

University of Maryland(马里兰大学);University of California, Berkeley(加州大学伯克利分校)

Bohdan Turbal, Blossom Metevier, Max Springer, Aleksandra Korolova

AI总结:

提出贪婪坐标扩散方法,利用扩散模型引导生成语义连贯的对抗样本,在保持自然性的同时实现高攻击成功率。

摘要:

在良性任务(如数学辅导)上微调对齐的语言模型会系统性破坏安全护栏,即使训练数据不包含有害内容。虽然机械论方法已揭示对齐在模型权重中的位置,但它们并未提供通用形式框架来推导关于微调何时降低对齐的保证——这使得该领域缺乏预测或防止对齐崩溃的原则性工具。我们通过参数空间轨迹的几何分析开发了一个局部几何框架,并将其应用于理解微调中对齐的脆弱性。虽然一阶分析表明正交更新是安全的,但我们证明这是虚幻的:微调损失的曲率诱导二阶加速,可能导致二阶漂移进入对齐敏感区域。我们将框架的一个构造形式化为对齐不稳定性条件(AIC),即三个几何性质,当它们存在时足以保证退化。我们的主要结果证明了沿梯度流轨迹的对齐退化四次方起始,这由对齐对特定参数的依赖程度以及任务与这些参数的耦合强度决定。这些发现给出了静态一阶保护在梯度下降下失效的正式充分条件。我们进一步实证验证了框架的基础,表明Fisher信息矩阵可以代理不同微调中安全退化的程度。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑