arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.22934cs.AI
收藏

ProGRank: 探针梯度重排序以防御密集检索器RAG免受语料投毒攻击

ProGRank: Probe-Gradient Reranking to Defend Dense-Retriever RAG from Corpus Poisoning

Chalmers University of Technology, Sweden(瑞典查尔姆斯理工大学);University of Leeds, United Kingdom(英国利兹大学);Carl von Ossietzky University of Oldenburg, Germany(德国奥尔登堡卡尔·冯·奥西特齐大学)

Xiangyu Yin, Yi Qi, Chih-Hong Cheng

AI总结:

提出ProGRank,一种无需训练的后处理检索器端防御方法,通过随机扰动下探针梯度提取不稳定信号并重排序,有效防御密集检索器RAG的语料投毒攻击。

摘要:

检索增强生成(RAG)通过将生成基于检索到的证据来改进大语言模型应用,但也引入了语料投毒这一新的攻击面。在此场景中,攻击者注入或编辑段落,使其进入目标查询的Top-K结果并影响下游生成。现有防御通常依赖内容过滤、辅助模型或生成器端推理,这使部署复杂化。我们提出ProGRank,一种针对密集检索器RAG的事后、无需训练的检索器端防御。ProGRank在轻度随机扰动下对每个查询-段落对进行压力测试,从固定小参数子集中提取探针梯度,并推导出两个不稳定信号:表示一致性和分散风险。然后,它将这些信号与分数门控结合进行重排序。ProGRank保留原始段落内容,无需重新训练,并在部署的检索器不可用时支持基于代理的变体。跨数据集、检索器、攻击以及检索阶段和端到端设置的实验表明,ProGRank提高了鲁棒性,并保持了良好的鲁棒性-效用权衡,包括在自适应规避攻击下。

英文摘要:

Retrieval-Augmented Generation (RAG) improves large language model applications by grounding generation in retrieved evidence, but also introduces corpus poisoning as a new attack surface. In this setting, an adversary injects or edits passages so that they enter the Top-$K$ results for target queries and influence downstream generation. Existing defences often rely on content filtering, auxiliary models, or generator-side reasoning, which complicates deployment. We propose ProGRank, a post hoc, training-free retriever-side defence for dense-retriever RAG. ProGRank stress-tests each query--passage pair under mild randomized perturbations, extracts probe gradients from a small fixed parameter subset, and derives two instability signals: representational consistency and dispersion risk. It then combines these signals with a score gate for reranking. ProGRank preserves the original passage content, requires no retraining, and supports a surrogate-based variant when the deployed retriever is unavailable. Experiments across datasets, retrievers, attacks, and retrieval-stage and end-to-end settings show that ProGRank improves robustness and maintains a favorable robustness--utility trade-off, including under adaptive evasive attacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑