scimeatlas

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

ACL 2026Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach4 citations (OpenAlex)

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 changedWhereMeasuredEffect
add Directive Likeness signal (ablation)RAP-ID (Qwen3-8B) · Qualifier (mixed)F1: 0.1770 -> 0.8382Improved
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.8382Improved
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.8382Improved
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 subsetF1: 0.7959 -> 0.8211No clear effect
use RAP-ID instead of Attention Tracker (Qwen3-8B)RAP-ID (Qwen3-8B) · Alpaca (benign)FPR: 0.6245 -> 0.0135Improved
use RAP-ID instead of Attention Tracker (Qwen3-8B)RAP-ID (Qwen3-8B) · BIPIA (attack)TPR: 0.9998 -> 0.9862Mixed
use RAP-ID instead of Llama Guard 4RAP-ID (Qwen3-8B) · BIPIA (attack)TPR: 0.1085 -> 0.9862Improved
use RAP-ID instead of ProtectAIRAP-ID (Qwen3-8B) · PromptInj (attack)TPR: 0.9842 -> 0.7315Hurt
apply RAP-ID to non-Qwen architectures with Qwen3-8B fusion weightsRAP-ID · deepset benchmarkAUROC: 0.876 -> 0.709-0.757Hurt

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?

All 4 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy