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

Jigsaw Puzzles:拆分有害问题以越狱大型语言模型

Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Models

Monash University(莫纳什大学)

Hao Yang, Lizhen Qu, Ehsan Shareghi, Gholamreza Haffari

AI总结:

本文提出多轮越狱策略JSP,通过将有害问题拆分为无害片段并诱导模型重构回答,成功绕过安全防护,在5个高级LLMs上平均攻击成功率达93.76%,对GPT-4达92%且具强抗防御能力。

摘要:

大型语言模型(LLMs)通过利用其庞大的隐式知识和强大的推理能力,在与人类交互及解答复杂问题方面展现出卓越的性能。然而,此类模型容易受到越狱攻击,从而生成有害响应。尽管近期关于单轮越狱策略的研究促进了防御机制的发展,但在多轮设置下揭示其脆弱性的挑战仍相对缺乏探索。在这项工作中,我们提出了Jigsaw Puzzles(JSP),一种直接且有效的针对高级LLMs的多轮越狱策略。JSP将问题拆分为无害的片段作为每一轮的输入,并要求LLMs在多轮交互中重构并回答问题。我们的实验结果表明,所提出的JSP越狱方法绕过了针对显式有害内容的原始安全防护,在5个高级LLMs(Gemini-1.5-Pro、Llama-3.1-70B、GPT-4、GPT-4o、GPT-4o-mini)上的189个有害查询中,实现了93.76%的平均攻击成功率。此外,JSP在有害查询基准上对GPT-4实现了92%的最先进攻击成功率,并对防御策略表现出很强的抵抗力。警告:本文包含具有冒犯性的示例。

英文摘要:

Large language models (LLMs) have exhibited outstanding performance in engaging with humans and addressing complex questions by leveraging their vast implicit knowledge and robust reasoning capabilities. However, such models are vulnerable to jailbreak attacks, leading to the generation of harmful responses. Despite recent research on single-turn jailbreak strategies to facilitate the development of defence mechanisms, the challenge of revealing vulnerabilities under multi-turn setting remains relatively under-explored. In this work, we propose Jigsaw Puzzles (JSP), a straightforward yet effective multi-turn jailbreak strategy against the advanced LLMs. JSP splits questions into harmless fractions as the input of each turn, and requests LLMs to reconstruct and respond to questions under multi-turn interaction. Our experimental results demonstrate that the proposed JSP jailbreak bypasses original safeguards against explicitly harmful content, achieving an average attack success rate of 93.76% on 189 harmful queries across 5 advanced LLMs (Gemini-1.5-Pro, Llama-3.1-70B, GPT-4, GPT-4o, GPT-4o-mini). Moreover, JSP achieves a state-of-the-art attack success rate of 92% on GPT-4 on the harmful query benchmark, and exhibits strong resistant to defence strategies. Warning: this paper contains offensive examples.

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

↑