analiza aiqbench
MINE introduces a training-free, attack-agnostic defense for indirect prompt injection in RAG systems by maximizing relevance through mutual information and embedding variance rather than relying on reactive detection. The authors also present LC-Inj-SQuAD, a new long-context benchmark averaging over 4,000 words, which demonstrates that this approach maintains high accuracy-security trade-offs against adaptive attackers while reducing inference latency.
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
De la arXiv
Text integralarXiv:2611.34188v1 Announce Type: new 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.
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.
| Comments: | To appear in Proceedings of EACL 2027 (Main conference paper) |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.34188 [cs.CL] |
| (or arXiv:2611.34188v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.34188 arXiv-issued DOI via DataCite (pending registration) |
Text integral sub licența deschisă a publicației · 175 cuvinte