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
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 changed | Where | Measured | Effect |
|---|---|---|---|
| apply DeTAM attention modification | LLaMA-2-7b-chat · JBB-Behaviors average | ASR_k: 46.0% -> 1.2% | Improved |
| apply DeTAM attention modification | Vicuna-13b-v1.5 · JBB-Behaviors average | ASR_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 attack | ASR: 22% -> 4% | Improved |
| lower threshold alpha from 0.25 to 0.15 (more heads modified) (ablation) | DeTAM on LLaMA-2-7b-chat · DSN attack | ASR: 40% -> 25% | Improved |
| modify too many attention heads (further lower alpha) (ablation) | DeTAM on LLaMA-2-7b-chat · JBB-Behaviors | ASR | Hurt |
| increase beta from 1 to 5 (ablation) | DeTAM on LLaMA-2-7b-chat · JBB-Behaviors | ASR | Improved |
| increase beta beyond 5 (ablation) | DeTAM on LLaMA-2-7b-chat · JBB-Behaviors | ASR | No clear effect |
| apply DeTAM instead of no defense | LLaMA-2-7b-chat · XSTest | FRR: 32.00% -> 66.40% | Hurt |
| apply DeTAM instead of no defense | LLaMA-2-7b-chat · InstructionFollowing prompt-level strict | accuracy: 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?
- Adaptive attacks are not ruled out. · 8 papers state it
- Attack success does not carry over between target models. · 7 papers state it
- Strong attacks still need white-box access. · 6 papers state it
Closest papers by meaning
- Token Highlighter: Inspecting and Mitigating Jailbreak Prompts for Large Language Models (AAAI 2025 · similarity 0.91)
- Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment (CVPR 2025 · similarity 0.91)
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs (NeurIPS 2024 · similarity 0.91)
- JailPO: A Novel Black-Box Jailbreak Framework via Preference Optimization Against Aligned LLMs (AAAI 2025 · similarity 0.91)
- Attack via Overfitting: 10-shot Benign Fine-tuning to Jailbreak LLMs (NeurIPS 2025 · similarity 0.90)
- An Interpretable N-gram Perplexity Threat Model for Large Language Model Jailbreaks (ICML 2025 · similarity 0.90)
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.