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

TruthfulRAG:利用知识图谱解决检索增强生成中的事实级冲突

TruthfulRAG: Resolving Factual-level Conflicts in Retrieval-Augmented Generation with Knowledge Graphs

Shuyi Liu, Yuming Shang, Xi Zhang(作者)

Shuyi Liu, Yuming Shang, Xi Zhang

AI总结:

针对现有RAG系统难以解决外部检索信息与LLM内部知识事实级冲突的问题,提出基于知识图谱的TruthfulRAG框架,可精准定位并缓解事实冲突,提升RAG生成内容的准确性、鲁棒性与可信度。

摘要:

检索增强生成(RAG)是通过将检索方法与生成模型相结合来提升大语言模型(LLM)能力的强大框架。随着外部知识库持续扩张、模型内部参数知识逐渐过时,RAG系统面临的一项关键挑战是解决检索到的外部信息与LLM内部知识之间的冲突,这类冲突会严重降低生成内容的准确性与可靠性。然而现有冲突解决方法通常在token或语义层面运作,往往只能碎片化、片面地理解LLM知识与上下文之间的事实差异,在知识密集型任务中这一问题尤为突出。为解决该局限,我们提出TruthfulRAG,这是首个利用知识图谱(KG)解决RAG系统中事实级知识冲突的框架。具体而言,TruthfulRAG通过系统性地从检索内容中抽取三元组构建知识图谱,利用基于查询的图检索识别相关知识,并采用基于熵的过滤机制精准定位冲突元素、缓解事实不一致问题,从而使LLM能够生成忠实、准确的回复。大量实验表明,TruthfulRAG性能优于现有方法,可有效缓解知识冲突,提升RAG系统的鲁棒性与可信度。

英文摘要:

Retrieval-Augmented Generation (RAG) has emerged as a powerful framework for enhancing the capabilities of Large Language Models (LLMs) by integrating retrieval-based methods with generative models. As external knowledge repositories continue to expand and the parametric knowledge within models becomes outdated, a critical challenge for RAG systems is resolving conflicts between retrieved external information and LLMs' internal knowledge, which can significantly compromise the accuracy and reliability of generated content. However, existing approaches to conflict resolution typically operate at the token or semantic level, often leading to fragmented and partial understanding of factual discrepancies between LLMs' knowledge and context, particularly in knowledge-intensive tasks. To address this limitation, we propose TruthfulRAG, the first framework that leverages Knowledge Graphs (KGs) to resolve factual-level knowledge conflicts in RAG systems. Specifically, TruthfulRAG constructs KGs by systematically extracting triples from retrieved content, utilizes query-based graph retrieval to identify relevant knowledge, and employs entropy-based filtering mechanisms to precisely locate conflicting elements and mitigate factual inconsistencies, thereby enabling LLMs to generate faithful and accurate responses. Extensive experiments reveal that TruthfulRAG outperforms existing methods, effectively alleviating knowledge conflicts and improving the robustness and trustworthiness of RAG systems.

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

↑