Research map / Adversarial robustness and security / Attacks on text and graphs
LongPIBench: A Long-Context Benchmark for Prompt Injection
Yupei Liu, Yuqi Jia, Neil Zhenqiang Gong, Jinyuan Jia
Pennsylvania State University · Duke 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 |
|---|---|---|---|
| lengthen benign context from abstract to full paper (ablation) | MetaSecAlign 8B · paper review, Authority spoof | ASR: 0.00 -> 0.78 | Hurt |
| lengthen benign context from abstract to full paper (ablation) | PromptLocate · paper review, Authority spoof | ASR: 0.13 -> 0.45 | Hurt |
| lengthen benign context from abstract to full paper (ablation) | No defense / Instructional / Delimiters / Sandwich / SecInfer · paper review | ASR: No defense 0.92 -> 0.98 | No clear effect |
| use Authority spoof instead of Combined attack | Llama-3.1-8B-Instruct · email summary | ASR: 0.25 -> 0.70 | Improved |
| apply prevention defenses (Instructional, Delimiters, Sandwich, SecInfer) | Llama-3.1-8B-Instruct · synthetic paper review, Authority spoof | ASR: 1.00 -> 1.00 | No clear effect |
| apply PromptLocate | Llama-3.1-8B-Instruct · synthetic paper review, Authority spoof | ASR: 1.00 -> 0.56; ASR still 0.45-0.56 on paper/email | Mixed |
| apply MetaSecAlign 8B | Llama-3.1-8B-Instruct · synthetic paper review, Authority spoof | ASR: 1.00 -> 1.00 | No clear effect |
| move injection from front to end (ablation) | Authority spoof · code review | ASR: 0.53 -> 0.87 | Improved |
| change document template (ablation) | heuristic attacks · paper review and resume screen | ASR: 1.00 under all templates | No clear effect |
| use GCG optimization instead of heuristics | prompt injection attack · email summary | ASR: Authority spoof 0.70 -> GCG 0.81 | Improved |
| segment inputs before detection (ablation) | detection-based defenses · long-context inputs | FPR/FNR: FNR rises with segment size, FPR falls | Mixed |
| evaluate on short-context benchmarks (OPI) instead of LongPIBench | MetaSecAlign 8B · Combined attack | ASR: 0.00 (OPI) -> 0.78 (Ours) | 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.90)
- Many-shot Jailbreaking (NeurIPS 2024 · similarity 0.89)
- What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMs (ACL 2025 · similarity 0.89)
- RedVisor: Reasoning-Aware Prompt Injection Defense via Zero-Copy KV Cache Reuse (ICML 2026 · similarity 0.87)
- Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models (NeurIPS 2026 · similarity 0.87)
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models (NeurIPS 2024 · similarity 0.87)
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.