Research map / Large language models / Instruction and fine-tuning
Defenses Against Prompt Attacks Learn Surface Heuristics
Shawn Li, Chenxiao Yu, Zhiyu Ni, Hao Li, Charith Peris, Chaowei Xiao, Yue Zhao
University of Southern California · University of California, Berkeley · Washington University in St. Louis · Amazon · Johns Hopkins University
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| concatenate a second benign question after the first in the prompt | Llama-3 + StrucQ · MMLU | refusal rate (%): 6.0 (1st) -> 90.0 (2nd) | Hurt |
| apply StrucQ defense fine-tuning | Llama-3 · GPQA / MMLU (concatenated, accuracy) | accuracy (%): 30.0 -> 16.0 (GPQA); 65.0 -> 32.5 (MMLU) | Hurt |
| apply SecAlign defense fine-tuning | Mistral · MMLU (concatenated) | accuracy (%): 47.0 -> 17.3 | Hurt |
| apply defense fine-tuning (StrucQ, SecAlign) | Llama-3 and Mistral · average of GPQA, MMLU, AIME | average accuracy (%): Llama-3 31.6 -> 12.8 (StrucQ), 22.4 (SecAlign); Mistral 23.3 -> 12.1, 10.1 | Hurt |
| defense fine-tuning on AIME 2024 | Llama-3 and Mistral · AIME 2024 accuracy | accuracy (%): 0.0 -> 0.0 | No clear effect |
| insert attack-associated trigger tokens into benign prompts | Llama-3 + SecAlign · NotInject-style trigger set | refusal rate (%): 0.00 -> 15.93 | Hurt |
| insert attack-associated trigger tokens into benign prompts | Mistral + SecAlign · trigger stress set | refusal rate (%): 0.10 -> 0.00 | No clear effect |
| insert attack-associated trigger tokens into benign prompts | Mistral + StrucQ · trigger stress set | refusal rate (%): 11.03 -> 15.04 | Hurt |
| insert attack-associated trigger tokens into benign prompts | ProtectAIv2 prompt guard · trigger stress set | refusal rate (%): 13.8 -> 53.9 | Hurt |
| remove trigger tokens from the prompts (ablation) | ProtectAIv2 prompt guard · trigger stress set | refusal rate (%): 53.9 -> 23.8 | Improved |
| remove trigger tokens from the prompts (ablation) | Deepset prompt guard · trigger stress set | refusal rate (%): 87.6 -> 86.7 | No clear effect |
| remove trigger tokens from the prompts (ablation) | FMOPS prompt guard · trigger stress set | refusal rate (%): 86.7 -> 78.7 | Improved |
Open problems in safety alignment after fine-tuning
Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?
- Larger models were not tested, mostly for lack of compute. · 27 papers state it
- Defenses are tested against few attacks and not against adaptive ones. · 15 papers state it
- Safety is scored by one LLM judge or classifier that may be biased. · 15 papers state it
Closest papers by meaning
- Defense Against Prompt Injection Attack by Leveraging Attack Techniques (ACL 2025 · similarity 0.92)
- Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instruction (ACL 2026 · similarity 0.90)
- Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models (ACL 2026 · similarity 0.90)
- Backdoor-Powered Prompt Injection Attacks Nullify Defense Methods (EMNLP 2025 · similarity 0.90)
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · similarity 0.88)
- Fundamental Limitations in Pointwise Defences of LLM Finetuning APIs (NeurIPS 2025 · similarity 0.88)
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.