Skip to content
NewA calmer, faster ZeroHour

DeBERTa-v3 prompt-injection detector scores 75.5% with types held out

Original title: Prompt Injection Detection using DeBERTa-v3: A Position-Neutral Dataset for AI Security

arXiv cs.CRby Mirza Akhi ()1 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

The same setup scores 100% on a random split, and both it and ProtectAI miss most deepset injections.

The paper proposes a synthetic prompt-injection dataset across 16 categories, labeling by instruction intent rather than position or attack vocabulary, including hard negatives. Obfuscation, payload splitting, and multilingual attacks are held out of training. A fine-tuned DeBERTa-v3-base classifier reaches 75.5% under that strategy and 100% on a random 90:10 split. On deepset/prompt-injections, the fine-tuned model and ProtectAI each detect fewer than half the injections.

Key facts
  • Benign and malicious instructions appear inside and outside the quoted content block.
  • An ablation attributes the accuracy gap more to attack-type exposure than to size or capacity.
  • Held-out types are obfuscation, payload splitting, and multilingual attacks.
  • The authors conclude classifier defenses depend on attack types covered in training.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

Prompt injection attacks attempt to override application-provided instructions and redirect Large Language Models (LLMs) towards attacker-specified behaviour, posing an Artificial Intelligence (AI) security threat. Defending against these attacks commonly involves classifiers that distinguish malicious from benign prompts.

arXiv cs.CR

By Mirza Akhi · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.