scimeatlas

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

DeTAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modification

Yu Li, Han Jiang, Zhihua Wei

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

Tongji University

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

9measured effects
5improved
1no clear effect
3hurt

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
apply DeTAM attention modificationLLaMA-2-7b-chat · JBB-Behaviors averageASR_k: 46.0% -> 1.2%Improved
apply DeTAM attention modificationVicuna-13b-v1.5 · JBB-Behaviors averageASR_k: 81.8% -> 4.0%Improved
use heads selected on LLaMA-2 instead of random heads (ablation)DeTAM on Meta-Llama-3-8B-Instruct · RS attackASR: 22% -> 4%Improved
lower threshold alpha from 0.25 to 0.15 (more heads modified) (ablation)DeTAM on LLaMA-2-7b-chat · DSN attackASR: 40% -> 25%Improved
modify too many attention heads (further lower alpha) (ablation)DeTAM on LLaMA-2-7b-chat · JBB-BehaviorsASRHurt
increase beta from 1 to 5 (ablation)DeTAM on LLaMA-2-7b-chat · JBB-BehaviorsASRImproved
increase beta beyond 5 (ablation)DeTAM on LLaMA-2-7b-chat · JBB-BehaviorsASRNo clear effect
apply DeTAM instead of no defenseLLaMA-2-7b-chat · XSTestFRR: 32.00% -> 66.40%Hurt
apply DeTAM instead of no defenseLLaMA-2-7b-chat · InstructionFollowing prompt-level strictaccuracy: 29.39% -> 26.62%Hurt

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