arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.11501cs.LGcs.AIcs.CR
收藏

KEPo:基于图的检索增强生成中的知识演化毒化

KEPo: Knowledge Evolution Poison on Graph-based Retrieval-Augmented Generation

Qizhi Chen, Chao Qi, Yihong Huang, Muquan Li, Rongzheng Wang, Dongyang Zhang, Ke Qin, Shuang Liang

AI总结:

本文提出KEPo攻击方法,针对图检索增强生成系统,通过演化知识路径注入毒化信息,提升攻击效果,实验显示其在单目标和多目标攻击中均表现优异。

摘要:

基于图的检索增强生成(GraphRAG)通过从外部数据库构建知识图(KG)来提升大型语言模型(LLM)生成的时效性和准确性。然而,这种对外部数据的依赖引入了新的攻击面。攻击者可以将毒化文本注入数据库,使LLM在攻击者选择的查询中生成有害响应。现有研究主要针对传统RAG系统进行攻击,但此类方法对GraphRAG无效。这种鲁棒性源于GraphRAG的KG抽象,即在检索前将注入的文本重新组织为图结构,使LLM基于重构的上下文进行推理,而非原始毒化段落。为暴露GraphRAG的潜在安全漏洞,我们提出知识演化毒化(KEPo),一种专门针对GraphRAG的新型毒化攻击方法。对于每个目标查询,KEPo首先根据目标答案生成包含毒化知识的有毒事件。通过伪造事件背景并从原始事实到有毒事件伪造知识演化路径,然后毒化KG,使LLM将毒化知识视为最终结果。在多目标攻击场景中,KEPo进一步连接多个攻击语料库,使它们的毒化知识相互增强,同时扩大毒化社区的规模,从而放大攻击效果。实验结果表明,在多个数据集上,KEPo在单目标和多目标攻击中均实现了最先进的攻击成功率,显著优于先前方法。

英文摘要:

Graph-based Retrieval-Augmented Generation (GraphRAG) constructs the Knowledge Graph (KG) from external databases to enhance the timeliness and accuracy of Large Language Model (LLM) generations. However, this reliance on external data introduces new attack surfaces. Attackers can inject poisoned texts into databases to manipulate LLMs into producing harmful target responses for attacker-chosen queries. Existing research primarily focuses on attacking conventional RAG systems. However, such methods are ineffective against GraphRAG. This robustness derives from the KG abstraction of GraphRAG, which reorganizes injected text into a graph before retrieval, thereby enabling the LLM to reason based on the restructured context instead of raw poisoned passages. To expose latent security vulnerabilities in GraphRAG, we propose Knowledge Evolution Poison (KEPo), a novel poisoning attack method specifically designed for GraphRAG. For each target query, KEPo first generates a toxic event containing poisoned knowledge based on the target answer. By fabricating event backgrounds and forging knowledge evolution paths from original facts to the toxic event, it then poisons the KG and misleads the LLM into treating the poisoned knowledge as the final result. In multi-target attack scenarios, KEPo further connects multiple attack corpora, enabling their poisoned knowledge to mutually reinforce while expanding the scale of poisoned communities, thereby amplifying attack effectiveness. Experimental results across multiple datasets demonstrate that KEPo achieves state-of-the-art attack success rates for both single-target and multi-target attacks, significantly outperforming previous methods.

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

↑