Research map / Adversarial robustness and security / Attacks on text and graphs
Efficient but Vulnerable: Benchmarking and Defending LLM Batch Prompting Attack
Murong Yue, Ziyu Yao
George Mason 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.
This paper tried a common change: Larger batch size
increase batch size from 5 to 10 · BatchSafeBench · Avg. ASR: GPT-4o 92.6 -> 91.9; Qwen2.5-7b 62.8 -> 58.7 No clear effect
What 943 accepted papers report for this change
- 539 improved
- 126 no clear effect
- 61 mixed
- 217 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add a prompting-based defense instruction (ablation) | Claude-3.5-Sonnet · BatchSafeBench | Avg. ASR: 69.8 -> 0.7 | Improved |
| add a prompting-based defense instruction (ablation) | GPT-4o · BatchSafeBench | Avg. ASR: 92.5 -> 46.2 | Improved |
| add a prompting-based defense instruction (ablation) | Qwen2.5-7B-Instruct · BatchSafeBench | Avg. ASR: 62.8 -> 57.6 (small) | Improved |
| add a prompting-based defense instruction (ablation) | DeepSeek-R1 (subset) · BatchSafeBench | Avg. ASR: 96.8 -> 85.7 (small) | Improved |
| prepend an adversarial instruction to ignore the defense (ablation) | GPT-4o with defense · BatchSafeBench | Avg. ASR: 46.2 -> 80.9 | Hurt |
| add a linear probe on last-layer last-token representation | Llama3.2-3B-Instruct · BatchSafeBench | detection accuracy: 98.1 in-dist; 93.2 out-of-dist | Improved |
| increase batch size from 5 to 10 (ablation) | LLMs under attack · BatchSafeBench | Avg. ASR: GPT-4o 92.6 -> 91.9; Qwen2.5-7b 62.8 -> 58.7 | No clear effect |
| use explicit hate-speech attack instructions (ablation) | LLMs under content attack · BatchSafeBench | Avg. ASR: GPT-4o 30.9; Claude 10.1; R1 95.1 | Improved |
| place attack at first position in the batch (ablation) | LLMs under attack · BatchSafeBench | ASR: up to 27% difference for Claude-3.5-Sonnet vs middle | Hurt |
| use stronger models (higher accuracy) | GPT-4o vs Llama3.2-3B · BatchSafeBench | Avg. ASR: 92.5 vs 64.0 | 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
- LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge (EMNLP 2026 · similarity 0.89)
- Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instruction (ACL 2026 · similarity 0.89)
- PromptKeeper: Safeguarding System Prompts for LLMs (EMNLP 2025 · similarity 0.88)
- Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game (ICLR 2024 · similarity 0.87)
- ChatBug: A Common Vulnerability of Aligned LLMs Induced by Chat Templates (AAAI 2025 · similarity 0.86)
- Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space (NeurIPS 2024 · similarity 0.86)
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.