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

利用任务过载实现针对大语言模型的可扩展越狱攻击

Harnessing Task Overload for Scalable Jailbreak Attacks on Large Language Models

School of Future Technology, University of Chinese Academy of Sciences(中国科学院大学未来技术学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Beijing Institute of AI Safety and Governance(北京人工智能安全与治理研究院);Center for Long-term Artificial Intelligence(长期人工智能中心);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Yiting Dong, Guobin Shen, Dongcheng Zhao, Xiang He, Yi Zeng

AI总结:

该研究提出一种通过字符映射表查找解码的资源密集前置任务占用LLM计算资源的可扩展越狱攻击,无需梯度与人工提示工程即有高成功率,揭示了LLM安全设计的资源相关漏洞。

摘要:

大语言模型(LLM)仍易受绕过其安全机制的越狱攻击。现有攻击方法是固定的或为特定模型定制的,无法灵活调整攻击强度,而这一点在攻击不同规模的模型时对泛化性至关重要。我们提出了一种新颖的可扩展越狱攻击,通过占用LLM的计算资源来预先阻止其安全策略的激活。我们的方法包括在呈现目标指令前,让LLM参与一项资源密集型的前置任务——字符映射表(Character Map)查找与解码过程。通过占满模型的处理容量,我们能阻止模型在处理后续指令时激活安全协议。在前沿LLM上开展的大量实验表明,该方法无需访问梯度、无需人工提示工程,即可实现很高的安全措施绕过成功率。我们验证了该方法是一种可量化攻击强度、并能以最优强度适配不同模型规模的可扩展攻击。我们发现LLM的安全策略可能更易受资源约束的影响。我们的发现揭示了当前LLM安全设计中的一个关键漏洞,凸显了开发考虑资源密集场景的更鲁棒防御策略的必要性。

英文摘要:

Large Language Models (LLMs) remain vulnerable to jailbreak attacks that bypass their safety mechanisms. Existing attack methods are fixed or specifically tailored for certain models and cannot flexibly adjust attack strength, which is critical for generalization when attacking models of various sizes. We introduce a novel scalable jailbreak attack that preempts the activation of an LLM's safety policies by occupying its computational resources. Our method involves engaging the LLM in a resource-intensive preliminary task - a Character Map lookup and decoding process - before presenting the target instruction. By saturating the model's processing capacity, we prevent the activation of safety protocols when processing the subsequent instruction. Extensive experiments on state-of-the-art LLMs demonstrate that our method achieves a high success rate in bypassing safety measures without requiring gradient access, manual prompt engineering. We verified our approach offers a scalable attack that quantifies attack strength and adapts to different model scales at the optimal strength. We shows safety policies of LLMs might be more susceptible to resource constraints. Our findings reveal a critical vulnerability in current LLM safety designs, highlighting the need for more robust defense strategies that account for resource-intense condition.

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

↑