arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22143cs.CL
收藏

AmpleGCG-Plus:一种强大的对抗后缀生成模型,可通过更少尝试以更高成功率越狱大语言模型

AmpleGCG-Plus: A Strong Generative Model of Adversarial Suffixes to Jailbreak LLMs with Higher Success Rates in Fewer Attempts

The Ohio State University(俄亥俄州立大学)

Vishal Kumar, Zeyi Liao, Jaylen Jones, Huan Sun

AI总结:

本研究针对大语言模型易受乱码对抗后缀越狱攻击的问题,提出增强版生成模型AmpleGCG-Plus,通过优化训练策略以更少尝试提升攻击成功率,并验证了其对多款主流模型及防御机制的越狱效果,同时公开发布模型与数据集。

摘要:

尽管大语言模型(LLM)通常经过对齐处理,但它们仍容易受到越狱攻击,攻击方式既可以是精心设计的自然语言提示,也可以是看似无意义的乱码对抗后缀——这一点颇有意思。然而,尽管乱码token在攻击对齐后的LLM方面成效显著,却受到的关注相对较少。近期的AmpleGCG(可生成大量定制化乱码对抗后缀的生成模型)研究表明,生成模型能够快速为任意有害查询生成大量可定制的乱码对抗后缀,揭示了分布外(OOD)语言空间中存在的一系列对齐漏洞。为了让该领域获得更多关注,我们推出了增强版本AmpleGCG-Plus,它能用更少的尝试次数实现更优性能。通过一系列探索性实验,我们确定了若干可提升乱码后缀学习效果的训练策略。经严格评估设置验证的结果显示,该模型在开源权重模型和闭源模型上的表现均优于AmpleGCG:在针对Llama-2-7B-chat的白盒设置中,攻击成功率(ASR)最高提升17%;在针对GPT-4的黑盒设置中,攻击成功率提升至原来的三倍以上。值得注意的是,AmpleGCG-Plus对较新的GPT-4o系列模型的越狱成功率与GPT-4相近,并且还发现了其对近期提出的circuit breakers防御机制存在的漏洞。我们公开发布了AmpleGCG-Plus以及我们收集的训练数据集。

英文摘要:

Although large language models (LLMs) are typically aligned, they remain vulnerable to jailbreaking through either carefully crafted prompts in natural language or, interestingly, gibberish adversarial suffixes. However, gibberish tokens have received relatively less attention despite their success in attacking aligned LLMs. Recent work, AmpleGCG~\citep{liao2024amplegcg}, demonstrates that a generative model can quickly produce numerous customizable gibberish adversarial suffixes for any harmful query, exposing a range of alignment gaps in out-of-distribution (OOD) language spaces. To bring more attention to this area, we introduce AmpleGCG-Plus, an enhanced version that achieves better performance in fewer attempts. Through a series of exploratory experiments, we identify several training strategies to improve the learning of gibberish suffixes. Our results, verified under a strict evaluation setting, show that it outperforms AmpleGCG on both open-weight and closed-source models, achieving increases in attack success rate (ASR) of up to 17\% in the white-box setting against Llama-2-7B-chat, and more than tripling ASR in the black-box setting against GPT-4. Notably, AmpleGCG-Plus jailbreaks the newer GPT-4o series of models at similar rates to GPT-4, and, uncovers vulnerabilities against the recently proposed circuit breakers defense. We publicly release AmpleGCG-Plus along with our collected training datasets.

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

↑