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

通过裁剪输入实现连续嵌入攻击:大语言模型越狱研究

Continuous Embedding Attacks via Clipped Inputs in Jailbreaking Large Language Models

University of New South Wales(新南威尔士大学);Delft University of Technology(代尔夫特理工大学);Nanyang Technological University(南洋理工大学);Huazhong University of Science and Technology(华中科技大学);Radboud University(拉德堡德大学)

Zihao Xu, Yi Liu, Gelei Deng, Kailong Wang, Yuekang Li, Ling Shi, Stjepan Picek

AI总结:

本文提出一种无需后缀或特定问题的直接攻击LLM输入的方法,并针对迭代过拟合问题提出CLIP策略,在输入长度40、迭代1000次时,将攻击成功率从62%提升至83%。

摘要:

近期,针对大型语言模型(LLM)的安全问题日益突出,研究重点在于阻止离散提示中的越狱尝试。然而,由连续嵌入引发的越狱漏洞的探索仍然有限,因为先前的方法主要是在输入上附加离散或连续的后缀。我们的研究提出了一种新的渠道,可直接对LLM输入进行攻击,无需添加后缀或特定问题,只要预定义期望的输出即可。此外,我们观察到大量的迭代往往会导致过拟合,其特征是输出中的重复。为应对这一问题,我们提出了一种简单而有效的策略,名为CLIP。我们的实验表明,对于长度为40的输入,在迭代1000次时,应用CLIP可将攻击成功率(ASR)从62%提升至83%。

英文摘要:

Security concerns for large language models (LLMs) have recently escalated, focusing on thwarting jailbreaking attempts in discrete prompts. However, the exploration of jailbreak vulnerabilities arising from continuous embeddings has been limited, as prior approaches primarily involved appending discrete or continuous suffixes to inputs. Our study presents a novel channel for conducting direct attacks on LLM inputs, eliminating the need for suffix addition or specific questions provided that the desired output is predefined. We additionally observe that extensive iterations often lead to overfitting, characterized by repetition in the output. To counteract this, we propose a simple yet effective strategy named CLIP. Our experiments show that for an input length of 40 at iteration 1000, applying CLIP improves the ASR from 62% to 83%

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

↑