首页 / AGI 进程 · 本周 AI 论文 / arXiv:2611.34188
← 返回论文列表
ARXIV PAPER · 论文详情

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

语言模型 arXiv:2611.34188 cs.CL 2026-11-25
arXiv ID2611.34188
提交日期2026-11-25
原始分类cs.CL
作者数量3

作者

Truong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen

摘要(英文原文)

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.
查看原文(arXiv) ↗ PDF ↗ 本站仅展示 arXiv 公开元数据,不托管论文原文;点击上方入口离开本站前往 arXiv。

相关论文

数据来源:arXiv 官方 API · 本站每日自动同步 · 页面生成于 2026-11-26