Back to AI News
arxiv

MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance

MINE is a training-free, attack-agnostic defense against indirect prompt injection in retrieval-augmented generation (RAG) systems. It uses mutual information and embedding variance to maximize relevance rather than detect attacks, and also functions as a query-conditioned reranker. The paper introduces LC-Inj-SQuAD, a long-context benchmark, and shows that MINE achieves the best accuracy-security trade-off among training-free defenses across multiple datasets.

AI Brief

This paper presents a novel, training-free defense against prompt injection that is attack-agnostic and achieves strong results, offering a practical solution for securing RAG systems.

arXiv:2611.34188v1 Announce Type: cross Abstract: Existing defenses against indirect prompt injection in retrieval-augmented generation (RAG) are inherently reactive: prompt-engineering methods are often overridden by the injected instructions, while supervised detectors must be retrained for each new attack style. We propose a different paradigm: defend by maximizing relevance, not by detecting attacks. Our method, MINE, is training-free and attack-agnostic, and it also serves as a query-conditioned reranker. To evaluate defenses under realistic conditions, we introduce LC-Inj-SQuAD, a long-context benchmark with an average of 4,032 words per context. We evaluate on four datasets spanning short-context QA (Inj-SQuAD, Inj-TriviaQA), long-context QA (LC-Inj-SQuAD), and agent tool-call injection (InjecAgent). Across all four, MINE achieves the best accuracy--security trade-off among training-free defenses. It is also the only defense that stays usable against a fully adaptive attacker, generalizes to agent tool-call injection, and achieves the lowest inference latency on long contexts.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!