Skip to content
InfoResearchPreprintLLM-specific

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

Published
Record updated
View JSON

Summary

Researchers propose a synthetic prompt injection dataset covering 16 categories, where each prompt's class depends on instruction intent rather than position or attack vocabulary, and include hard negatives that contain attack terms. A DeBERTa-v3-base classifier reaches 75.5% accuracy under an attack-type-held-out strategy, versus 100% on a random 90:10 split. The authors conclude that classifier-based defences for LLM-integrated applications depend on the attack types covered in training.