scimeatlas

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

Defending Jailbreak Prompts via In-Context Adversarial Game

Yujun Zhou, Yufei Han, Haomin Zhuang, Kehan Guo, Zhenwen Liang, Hongyan Bao, Xiangliang Zhang

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

University of Notre Dame · Inria · King Abdullah University of Science and Technology

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

12measured effects
5improved
3no clear effect
2hurt
2mixed

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 ICAG-5 system promptGPT-3.5 · average JSR over 10 attacksJSR (%): 40.68 (No Defense) -> 0.73Improved
add ICAG-5 system promptMistral · average JSR over 10 attacksJSR (%): 75.55 -> 55.96Improved
add ICAG-10 system promptVicuna · average JSR over 10 attacksJSR (%): 64.48 -> 50.64Improved
add ICAG defenseMistral/Vicuna · Combination 2 on SRDJSR (%): 89.87 -> 89.07 (Mistral)No clear effect
more game iterations (ICAG-0 to ICAG-10)ICAG · average JSRJSR (%): GPT-3.5 0.86 -> 0.48; Mistral 57.32 -> 58.45Mixed
add any defense including ICAGLLMs · Xstestover-defense rate (%): GPT-3.5 32.5 -> 55.0 (ICAG-5)Hurt
add ICAG-5 system promptLLMs · MMLUaccuracy: GPT-3.5 70.04 -> 70.71No clear effect
apply ICAG-5 prompt generated on another LLMGPT-3.5, Mistral, Vicuna · average JSRJSR (%): GPT-3.5 0.73 -> 6.75 (from Mistral); average +2.86Mixed
use Self Reminder template instead of reflection and insight extraction (ablation)ICAG-5 · GPT-3.5 average JSRJSR (%): 0.73 -> 20.21Hurt
add reflection with less-harmful prompt comparison (F/S) (ablation)ICAG-5 · GPT-3.5 average JSRJSR (%): 0.46 (w/o F/S) vs 0.73No clear effect
add insight extraction module (vs summarization) (ablation)ICAG-5 · Mistral average JSRJSR (%): 61.98 -> 55.96Improved
use GPT-3.5 instead of Llama3 as attacker LLM (ablation)ICAG-5 · GPT-3.5 average JSRJSR (%): 2.75 -> 0.73Improved

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