arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.08424cs.CRcs.AIcs.CL
收藏

分散大语言模型注意力以实现自动越狱攻击

Distract Large Language Models for Automatic Jailbreak Attack

Shanghai University of Finance and Economics(上海财经大学);Southern University of Science and Technology(南方科技大学)

Zeguan Xiao, Yan Yang, Guanhua Chen, Yun Chen

AI总结:

本文提出一种利用大语言模型注意力分散与过度自信现象的黑盒越狱框架,通过恶意内容隐藏、记忆重构和迭代优化实现自动化红队攻击,并在开源与专有模型上验证其有效性、可扩展性和可迁移性。

摘要:

在大语言模型(LLMs)公开发布之前,人们已经做出了大量努力,使其行为与人类价值观保持一致。然而,即使是经过精心对齐的大语言模型,仍然容易受到越狱等恶意操纵的影响,从而导致非预期行为。在本工作中,我们提出了一种新颖的黑盒越狱框架,用于对大语言模型进行自动化红队测试。受关于大语言模型注意力分散性和过度自信现象的研究启发,我们设计了恶意内容隐藏和记忆重构机制,并结合迭代优化算法来实施越狱。针对开源和专有大语言模型的大规模越狱实验表明,我们的框架在有效性、可扩展性和可迁移性方面具有优越性。我们还评估了现有越狱防御方法针对我们攻击的有效性,并强调迫切需要开发更有效、更实用的防御策略。

英文摘要:

Extensive efforts have been made before the public release of Large language models (LLMs) to align their behaviors with human values. However, even meticulously aligned LLMs remain vulnerable to malicious manipulations such as jailbreaking, leading to unintended behaviors. In this work, we propose a novel black-box jailbreak framework for automated red teaming of LLMs. We designed malicious content concealing and memory reframing with an iterative optimization algorithm to jailbreak LLMs, motivated by the research about the distractibility and over-confidence phenomenon of LLMs. Extensive experiments of jailbreaking both open-source and proprietary LLMs demonstrate the superiority of our framework in terms of effectiveness, scalability and transferability. We also evaluate the effectiveness of existing jailbreak defense methods against our attack and highlight the crucial need to develop more effective and practical defense strategies.

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

↑