scimeatlas

Research map / Large language models / Language, safety and interpretability

A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily

NAACL 2024Large language models › Language, safety and interpretabilityapproach: Jailbreak attacks and defensesopen problems in this approach428 citations (OpenAlex)

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
9improved
3no clear effect
1hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add scenario nesting (code completion) to the raw prompt (ablation)initial harmful prompt · GPT-3.5GPT-ASR: 1.92 -> 95.4Improved
add scenario nesting (code completion) to the raw prompt (ablation)initial harmful prompt · Llama2-7bGPT-ASR: 0.00 -> 0.58No clear effect
add Misspell Sensitive Words rewriting to code-completion nesting (ablation)Prompt + Code Completion · Llama2-7bGPT-ASR: 0.58 -> 22.7Improved
add Paraphrase with Fewer Words to code-completion nesting (ablation)Prompt + Code Completion · GPT-3.5GPT-ASR: 95.4 -> 92.7Hurt
let LLM search over rewriting combinations and scenarios (full ReNeLLM) (ablation)Prompt + Code Completion + MSW · Llama2-70bGPT-ASR: 19.6 -> 62.8Improved
rewrite prompts without nesting (ablation)initial harmful prompt · all modelsGPT-ASR: e.g. 1.92 -> 0.96 (GPT-3.5, PFW)No clear effect
ensemble of six generated promptsReNeLLM · five LLMsGPT-ASR: 86.9 -> 99.8 (GPT-3.5)Improved
ReNeLLM vs GCG/AutoDAN time costReNeLLM · Llama2TCPS: 564.53s / 955.80s -> 132.03sImproved
add RA-LLM defense (Llama2)ReNeLLM prompts · 368 promptsGPT-ASR: 100.0 -> 72.0Improved
add OpenAI Moderation or PPL filter defenseReNeLLM prompts · 368 promptsGPT-ASR: 100.0 -> 100.0 (OpenAI); 95.9 (PPL)No clear effect
prepend Prioritize Safety defense prompttarget LLMs · GPT-4attack success rate: 74.7 -> 4.9Improved
prepend Prioritize Safety defense prompttarget LLMs · GPT-3.5attack success rate: 95.9 -> 82.1Improved

Open problems this paper states

Open problems in jailbreak attacks and defenses

How can jailbreak attacks and defenses be tested on real deployed models, in more languages, with judges that can be trusted?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy