Research map / Adversarial robustness and security / Attacks on text and graphs
RAP-ID: Mechanistic Prompt Injection Detection via Impostor Behavior Analysis
Yuchen Yang, Lei Peng, Yujie He, Yang Yu, Zhongxin Wu, Yanlei Shi
Lenovo (Chengdu) Co
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
8improved
1no clear effect
2hurt
1mixed
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 |
|---|---|---|---|
| add Directive Likeness signal (ablation) | RAP-ID (Qwen3-8B) · Qualifier (mixed) | F1: 0.1770 -> 0.8382 | Improved |
| add Directive Likeness signal (ablation) | RAP-ID (Qwen3-8B) · PromptInj (attack) | TPR: 25.00% -> 73.15% | Improved |
| add Counterfactual Gain signal (ablation) | RAP-ID (Qwen3-8B) · Qualifier (mixed) | F1: 0.6661 -> 0.8382 | Improved |
| add Counterfactual Gain signal (ablation) | RAP-ID (Qwen3-8B) · Alpaca (benign) | FPR: 98.45% -> 1.35% | Improved |
| add Policy Conflict signal (ablation) | RAP-ID (Qwen3-8B) · Qualifier (mixed) | F1: 0.7650 -> 0.8382 | Improved |
| add Policy Conflict signal (ablation) | RAP-ID (Qwen3-8B) · PromptInj (attack) | TPR: 67.50% -> 73.15% | Improved |
| raise detection threshold from 0.70x to 1.30x (ablation) | RAP-ID (Qwen3-8B) · PromptInj subset | F1: 0.7959 -> 0.8211 | No clear effect |
| use RAP-ID instead of Attention Tracker (Qwen3-8B) | RAP-ID (Qwen3-8B) · Alpaca (benign) | FPR: 0.6245 -> 0.0135 | Improved |
| use RAP-ID instead of Attention Tracker (Qwen3-8B) | RAP-ID (Qwen3-8B) · BIPIA (attack) | TPR: 0.9998 -> 0.9862 | Mixed |
| use RAP-ID instead of Llama Guard 4 | RAP-ID (Qwen3-8B) · BIPIA (attack) | TPR: 0.1085 -> 0.9862 | Improved |
| use RAP-ID instead of ProtectAI | RAP-ID (Qwen3-8B) · PromptInj (attack) | TPR: 0.9842 -> 0.7315 | Hurt |
| apply RAP-ID to non-Qwen architectures with Qwen3-8B fusion weights | RAP-ID · deepset benchmark | AUROC: 0.876 -> 0.709-0.757 | 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
- RedVisor: Reasoning-Aware Prompt Injection Defense via Zero-Copy KV Cache Reuse (ICML 2026 · similarity 0.88)
- Beyond Over-Refusal: Defending Indirect Prompt Injection via Latent Instruction Manifolds (EMNLP 2026 · similarity 0.88)
- Learning to Inject: Automated Prompt Injection via Reinforcement Learning (NeurIPS 2026 · similarity 0.88)
- Reactivating Alignment: Defending LLMs from Jailbreaks via Intention-Aware Input–Output Matching (EMNLP 2026 · similarity 0.88)
- RLShield: Dynamic Jailbreak Detection for LLMs via Reinforced Adaptive Learning (ACL 2026 · similarity 0.87)
- Defenses Against Prompt Attacks Learn Surface Heuristics (ACL 2026 · 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.