cd /news/ai-safety/mine-a-training-free-defense-against… · home › topics › ai-safety › article
[ARTICLE · art-177133] src=machinebrief.com ↗ pub= topic=ai-safety verified=true sentiment=↑ positive

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

A training-free, attack-agnostic defense called MINE achieves the best accuracy-security trade-off among training-free defenses against indirect prompt injection across four datasets, according to an arXiv paper (arXiv:2611.34188v1). MINE defends by maximizing relevance rather than detecting attacks and doubles as a query-conditioned reranker; the authors also introduce LC-Inj-SQuAD, a long-context benchmark averaging 4,032 words per context. The paper reports MINE is the only defense that stays usable against a fully adaptive attacker, generalizes to agent tool-call injection on InjecAgent, and has the lowest inference latency on long contexts.

recommendation

Rerank retrieved context by query relevance before generation to blunt indirect prompt injection; the authors report this training-free approach stayed usable against a fully adaptive attacker and had the lowest long-context latency.

more in playbook: Retrieval and RAG
by read1 min views1 publishedNov 27, 2026

arXiv: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.

── more in #ai-safety 4 stories · sorted by recency
── more on @mine 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/mine-a-training-free…] indexed:0 read:1min 2026-11-27 · —