Skip to content

DrAttack: Prompt decomposition and reconstruction make powerful LLM jailbreak attacksDrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers

arXiv· arXiv:2402.16914· Xirui Li, Ruochen Wang, Minhao Cheng, Tianyi Zhou, Cho-Jui Hsieh·Indexed by this site · 23 days ago· Originally publishedAttacks
AI summary

The researchers propose DrAttack, an automatic jailbreak framework against large language models whose idea is to split a malicious prompt into separate sub-prompts, concealing the underlying malicious intent in a fragmented, harder-to-recognize form. The framework has three components: decomposing the original prompt into sub-prompts, implicitly reconstructing the sub-prompts via in-context learning with semantically similar but harmless reassembly examples, and searching for sub-prompt synonyms to achieve jailbreak while preserving the original meaning. Experiments on multiple open-source and closed-source LLMs show that DrAttack achieves a success rate far higher than previous SOTA prompt-level attacks with significantly fewer queries, reaching 78.0% on GPT-4 with only 15 queries, exceeding the previous best of 33.1%. Project code is available at https://github.com/xirui-li/DrAttack。

Related events and news

0 events · 1 news mentions

News that mentions this paper

Read originalarxiv.org