Skip to content
InfoResearchPreprintLLM-specific

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

Published
Record updated
View JSON

Summary

MINE is a training-free defense against indirect prompt injection in retrieval-augmented generation that works by maximizing query relevance rather than detecting attacks, and it also serves as a query-conditioned reranker. The authors introduce LC-Inj-SQuAD, a long-context benchmark averaging 4,032 words per context, and evaluate on Inj-SQuAD, Inj-TriviaQA, LC-Inj-SQuAD and InjecAgent. Across these datasets, MINE achieves the best accuracy-security trade-off among training-free defenses.