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

迈向基于QROA的通用且黑盒仅查询-响应的LLM攻击

Towards Universal and Black-Box Query-Response Only Attack on LLMs with QROA

Capgemini Invent(凯捷创新中心);ENSIIE(法国国立信息与自动化高等学院);University Paris Saclay(巴黎萨克雷大学)

Hussein Jawad, Yassine Chenik, Nicolas J. -B. Brunel

AI总结:

本文提出黑盒越狱方法QROA,仅通过查询-响应接口利用代理模型和令牌级优化寻找对抗性后缀,并扩展QROA-UNV实现单次查询通用越狱,在多个模型上攻击成功率超过80%。

摘要:

大型语言模型(LLMs)的快速普及暴露了关键的安全与伦理漏洞,尤其是它们容易受到对抗性操纵的影响。本文介绍了QROA,一种新颖的黑盒越狱方法,旨在识别当附加到恶意指令上时能够绕过LLM对齐防护的对抗性后缀。与现有的基于后缀的越狱方法不同,QROA不需要访问模型的logit或任何其他内部信息。它还消除了对人工设计模板的依赖,仅通过LLM的标准查询-响应接口运行。通过将该攻击构建为一个优化老虎机问题,QROA采用代理模型和令牌级优化来高效探索后缀变体。此外,我们提出了QROA-UNV,这是一个扩展,能够为单个模型识别通用对抗性后缀,从而在广泛的指令范围内实现单次查询越狱。在多个模型上的测试表明,攻击成功率(ASR)超过80%。这些发现揭示了关键漏洞,强调了先进防御的必要性,并为安全AI部署的更稳健安全评估的发展做出了贡献。代码已在以下链接公开:https://github.com/qroa/QROA

英文摘要:

The rapid adoption of Large Language Models (LLMs) has exposed critical security and ethical vulnerabilities, particularly their susceptibility to adversarial manipulations. This paper introduces QROA, a novel black-box jailbreak method designed to identify adversarial suffixes that can bypass LLM alignment safeguards when appended to a malicious instruction. Unlike existing suffix-based jailbreak approaches, QROA does not require access to the model's logit or any other internal information. It also eliminates reliance on human-crafted templates, operating solely through the standard query-response interface of LLMs. By framing the attack as an optimization bandit problem, QROA employs a surrogate model and token level optimization to efficiently explore suffix variations. Furthermore, we propose QROA-UNV, an extension that identifies universal adversarial suffixes for individual models, enabling one-query jailbreaks across a wide range of instructions. Testing on multiple models demonstrates Attack Success Rate (ASR) greater than 80\%. These findings highlight critical vulnerabilities, emphasize the need for advanced defenses, and contribute to the development of more robust safety evaluations for secure AI deployment. The code is made public on the following link: https://github.com/qroa/QROA

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

↑