scimeatlas

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

Defending LLMs against Jailbreak Attacks via Template-Based ICL with a Defensive Suffix

Ruiyang Ni, Changlong Li, Shuaibiao Han, Zhiyu Yi, Peipei Xu, Wenjie Ruan

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

University of Science and Technology of China · University of Dundee

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

13measured effects
7improved
2no 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 defensive suffix to ICL template (ablation)template-based ICL (Vicuna-7b) · AdvBench I-GCGASR: 60% -> 2%Improved
add template-based ICL demonstrations to defensive suffix (ablation)defensive suffix (Vicuna-7b) · AdvBench I-GCGASR: 40% -> 2%Improved
add defensive suffix to ICL (ablation)template-based ICL (Vicuna-7b) · AdvBench PAIRASR: 32% -> 8%Improved
add ICL demonstrations to defensive suffix (ablation)defensive suffix (Vicuna-7b) · AdvBench PAIRASR: 42% -> 8%Improved
apply proposed defenseGPT-3.5-turbo · black-box attacks averageASR: 31.6% -> 3.8%Improved
apply proposed defense versus PATVicuna-7b · AdvBench averageASR: 25% -> 9%Improved
proposed defense on Llama-2-7b under adaptive attackLlama-2-7b · adaptive I-GCGASR: 96% -> 52%Improved
apply proposed defense on benign promptsVicuna-13b · MT-benchscore: 6.57 -> 5.87Hurt
apply proposed defense on benign promptsVicuna-7b · MMLUaccuracy (%): 49.8 -> 49.4No clear effect
apply proposed defenseLlama-2-7b · XSTestfull refusal rate: 39.2% -> 41.6%Hurt
increase alpha (utility weight) in training loss (ablation)defensive suffix · AdvBench / MMLUASR and MMLUMixed
increase number of ICL shots (ablation)template-based ICL · defense performanceASRNo clear effect

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