Skip to content

InjecGuard: A Benchmark and Mitigation for Over-Defense in Prompt Injection Guardrail ModelsInjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Models

arXiv· arXiv:2410.22770· Hao Li, Xiaogeng Liu·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The researchers propose the NotInject evaluation set and the InjecGuard prompt injection guardrail model to address the over-defense problem in which prompt guardrail models misclassify benign inputs as malicious due to trigger-word bias. NotInject contains 339 benign samples augmented with common prompt injection trigger words, and state-of-the-art guardrail models' accuracy on this evaluation set drops to near random-guessing level (60%). InjecGuard adopts the MOF (Mitigating Over-defense for Free) training strategy, significantly reducing bias toward trigger words, and outperforms the previous best model by 30.8% on multiple benchmarks including NotInject. Code and datasets are open-sourced at https://github.com/leolee99/InjecGuard。

Related events and news

1 events · 1 news mentions

News that mentions this paper

Adversa AI:编码智能体安全需自建与采购分层

Read originalarxiv.org