scimeatlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization

Zhexin Zhang, Junxiao Yang, Pei Ke, Fei Mi, Hongning Wang, Minlie Huang

ACL 2024Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach273 citations (OpenAlex)

Tsinghua University · Huawei Technologies

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

15measured effects
10improved
1no clear effect
3hurt
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 goal prioritization promptChatGPT · jailbreak test setASR: 66.4 -> 3.6Improved
add goal prioritization promptVicuna-7B · jailbreak test setASR: 57.8 -> 35.0Improved
add goal prioritization promptVicuna-33B · jailbreak test setASR: 68.2 -> 19.2Improved
add goal prioritization training instead of vanilla/aligned SFTLlama2-13B · jailbreak test setASR: 71.0 -> 6.6 (aligned SFT 20.3)Improved
add contrastive harmful-helpful instances (ablation)Llama2-13B (w/ training) · jailbreak test setASR: 8.0 -> 6.6Improved
add [Internal thoughts] in training (ablation)Llama2-13B (w/ training) · jailbreak test setASR: 14.4 -> 6.6Improved
add in-context examples to defense prompt (ablation)ChatGPT · jailbreak test setASR: 10.8 -> 3.6Improved
add internal thoughts to defense prompt (ablation)ChatGPT · jailbreak test setASR: 10.5 -> 3.6Improved
add internal thoughts in training for in-distribution PE attacks (ablation)Llama2-13B (w/ training) · PE attack ASRASRNo clear effect
apply adaptive attack prompts against the defenseChatGPT with goal prioritization · jailbreak test setASR: 3.6 -> 7.8Hurt
apply goal prioritization prompt to general queriesChatGPT · VicunaEval win ratewin rate: 96.3 vs 87.5 (win rate 96.3 -> 87.5)Hurt
apply goal prioritization prompt to small modelsVicuna-7B · AlpacaEval win ratewin rate: 78.0 -> 68.0Hurt

Open problems in LLM jailbreak and prompt injection defense

Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?

All 4 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