---
title: "MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.34188v1"
permalink: "https://feed.astralor.com/items/itm_c7d6525c8ed3f20fb4e9a098"
published: "2026-11-25T11:16:43.000Z"
score: 57
channel: "tech"
tags: ["AI Agent","推理效率","安全","RAG","MINE","Training-Free Defense","Indirect Prompt Injection","Mutual Information"]
---

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

## At a glance

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 detecto…

## Key points

- 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 detecto…
- 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.

## Full text

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.

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_c7d6525c8ed3f20fb4e9a098
