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

非文本目标攻击

NonTextual Target Attack

State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);Hangzhou High-Tech Zone, Binjiang Institute of Blockchain and Data Security, Hangzhou(杭州高新技术区,滨江区块链与数据安全研究院);School of Cyberspace Security, Nanjing University of Science and Technology(网络安全学院,南京理工大学);School of Computer Science, Shanghai Jiao Tong University(计算机科学学院,上海交通大学);College of Computing and Data Science, Nanyang Technological University(计算与数据科学学院,新加坡国立大学);King Abdullah University of Science and Technology (KAUST)(卡布斯科学与技术大学)

Xinzhe Huang, Wenjing Hu, Kedong Xiu, Hongsheng Hu, Xiaojun Jia, Zhan Qin, Tianhang Zheng

AI总结:

针对现有大语言模型越狱攻击的局限,提出非文本目标攻击NTA,通过非文本约束目标最大化不安全概率,分解目标便于优化,扩展攻击空间,在AdvBench上对安全对齐的大语言模型仅100次迭代,平均成功率达96.8%,性能远超现有攻击。

摘要:

现有的基于梯度的大语言模型越狱攻击通常优化对抗后缀,使大语言模型输出与预定义目标响应对齐。然而,将目标限制为诱导固定目标会限制对抗搜索空间,降低攻击效果。而且现有方法通常需要大量优化迭代来弥合固定目标与原始大语言模型输出之间的差距,导致攻击效率低下。为克服这些限制,我们提出非文本目标攻击(NTA),这是首个基于梯度的攻击,依赖非文本约束目标来最大化大语言模型输出的不安全概率,且不强制任何响应模式。为便于优化,我们将此目标分解为两个约束子目标,可由两个可微无约束损失近似,以在原始提示附近迭代优化响应和对抗提示,并通过理论分析验证分解。与现有攻击相比,NTA首次在非文本目标上实现基于梯度的提示优化,显著扩展攻击空间,能更灵活高效地探索大语言模型漏洞。广泛评估表明,NTA在AdvBench上对近期安全对齐的大语言模型仅进行100次优化迭代,平均攻击成功率达96.8%,比基于梯度的现有攻击性能高出40%以上。

英文摘要:

Existing gradient-based jailbreak attacks on Large Language Models (LLMs) typically optimize adversarial suffixes to align the LLM output with predefined target responses. However, restricting the objective as inducing fixed targets inherently constrains the adversarial search space, limiting the overall attack efficacy. Furthermore, existing methods typically require numerous optimization iterations to fulfill the large gap between the fixed target and the original LLM output, resulting in low attack efficiency. To overcome these limitations, we propose NonTextual Target Attack (NTA),the first gradient-based attack that relies on a non-textual constrained objective to maximize the unsafety probability of the LLM output, without enforcing any response patterns. For tractable optimization, we further decompose this objective into two constrained sub-objectives, which can be approximated by two differentiable unconstrained losses, to iteratively optimize the response and the adversarial prompt in the neighborhood of the original prompt, with a theoretical analysis to validate the decomposition. In contrast to existing attacks, NTA first realizes gradient-based prompt optimization on a non-textual target and significantly expands the attack space, enabling more flexible and efficient exploration of LLM vulnerabilities. Extensive evaluations show that NTA achieves an average attack success rate of 96.8% against recent safety-aligned LLMs with only 100 optimization iterations on AdvBench, outperforming state-of-the-art gradient-based attacks by over 40%.

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

↑