arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.05467cs.AIcs.CLcs.CR
收藏

通过潜意识利用和模仿行为快速优化大语言模型越狱

Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxia

Purdue University(普渡大学);University of Massachusetts at Amherst(马萨诸塞大学阿默斯特分校)

Guangyu Shen, Siyuan Cheng, Kaiyuan Zhang, Guanhong Tao, Shengwei An, Lu Yan, Zhuo Zhang, Shiqing Ma, Xiangyu Zhang

AI总结:

本文提出基于潜意识与模仿行为的优化方法RIPPLE,自动生成高效越狱提示,在6个开源和4个商业LLM上平均攻击成功率91.5%,比现有方法高47%,开销降低8倍,且具迁移性和隐蔽性。

摘要:

大语言模型(LLMs)已在各行各业广泛应用,凭借其非凡的推理和理解能力改变了人类生活。随着它们在敏感任务中的使用增加,安全问题引起了广泛关注。大量工作致力于使LLM与人类道德原则对齐,以确保其安全部署。尽管有这些努力,最近的研究表明,对齐的LLM容易受到专门设计的越狱提示的攻击,这些提示绕过安全措施以引发暴力和有害内容。当代LLM固有的离散特性和巨大规模,使得自动生成多样化、高效且强力的越狱提示面临重大挑战,这构成了持续的障碍。在本文中,我们引入了RIPPLE(通过潜意识利用和模仿行为的快速优化),一种受两种心理学概念启发的新型基于优化的方法:潜意识(描述无意识发生的心智过程)和模仿行为(描述对动作的不自主模仿)。在6个开源LLM和4个商业LLM API上的评估显示,RIPPLE实现了平均91.5%的攻击成功率,比五种现有方法高出最多47.0%,同时开销减少了8倍。此外,它表现出显著的迁移性和隐蔽性,成功规避了已建立的检测机制。我们工作的代码可在\url{https://github.com/SolidShen/RIPPLE_official/tree/official}获取。

英文摘要:

Large Language Models (LLMs) have become prevalent across diverse sectors, transforming human life with their extraordinary reasoning and comprehension abilities. As they find increased use in sensitive tasks, safety concerns have gained widespread attention. Extensive efforts have been dedicated to aligning LLMs with human moral principles to ensure their safe deployment. Despite their potential, recent research indicates aligned LLMs are prone to specialized jailbreaking prompts that bypass safety measures to elicit violent and harmful content. The intrinsic discrete nature and substantial scale of contemporary LLMs pose significant challenges in automatically generating diverse, efficient, and potent jailbreaking prompts, representing a continuous obstacle. In this paper, we introduce RIPPLE (Rapid Optimization via Subconscious Exploitation and Echopraxia), a novel optimization-based method inspired by two psychological concepts: subconsciousness and echopraxia, which describe the processes of the mind that occur without conscious awareness and the involuntary mimicry of actions, respectively. Evaluations across 6 open-source LLMs and 4 commercial LLM APIs show RIPPLE achieves an average Attack Success Rate of 91.5\%, outperforming five current methods by up to 47.0\% with an 8x reduction in overhead. Furthermore, it displays significant transferability and stealth, successfully evading established detection mechanisms. The code of our work is available at \url{https://github.com/SolidShen/RIPPLE_official/tree/official}

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

↑