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

RAKG:文档级检索增强知识图谱构建

RAKG:Document-level Retrieval Augmented Knowledge Graph Construction

Hairong Zhang, Jiaheng Si, Guohang Yan, Boyuan Qi, Pinlong Cai, Song Mao, Ding Wang, Botian Shi

AI总结:

本文提出文档级检索增强知识图谱构建框架 RAKG,通过预实体检索缓解长上下文遗忘并降低共指消解复杂度,在 MINE 数据集上准确率达 95.91%,超越 GraphRAG 基线 6.2 个百分点。

摘要:

随着基于知识图谱的检索增强生成(RAG)技术(如 GraphRAG 和 Pike-RAG)的兴起,知识图谱在增强大语言模型(LLMs)推理能力方面的作用日益突出。然而,传统知识图谱构建(KGC)方法面临实体消歧复杂、模式定义僵化以及跨文档知识整合不足等挑战。本文聚焦于自动文档级知识图谱构建任务,提出了文档级检索增强知识图谱构建(RAKG)框架。RAKG 从文本块中提取预实体,并将这些预实体作为 RAG 的查询,有效解决了 LLMs 中的长上下文遗忘问题,并降低了共指消解的复杂度。与传统 KGC 方法相比,RAKG 能更有效地捕获全局信息以及不同节点之间的相互联系,从而提升模型的整体性能。此外,我们将 RAG 评估框架迁移到 KGC 领域,对生成的知识图谱进行过滤和评估,从而避免因 LLMs 幻觉而产生的错误实体和关系。我们进一步通过为每篇文章构建标准知识图谱来开发 MINE 数据集,并通过实验验证了 RAKG 的性能。结果表明,RAKG 在 MINE 数据集上达到了 95.91% 的准确率,比当前最佳基线 GraphRAG(89.71%)提高了 6.2 个百分点。代码可在 https://github.com/LMMApplication/RAKG 获取。

英文摘要:

With the rise of knowledge graph based retrieval-augmented generation (RAG) techniques such as GraphRAG and Pike-RAG, the role of knowledge graphs in enhancing the reasoning capabilities of large language models (LLMs) has become increasingly prominent. However, traditional Knowledge Graph Construction (KGC) methods face challenges like complex entity disambiguation, rigid schema definition, and insufficient cross-document knowledge integration. This paper focuses on the task of automatic document-level knowledge graph construction. It proposes the Document-level Retrieval Augmented Knowledge Graph Construction (RAKG) framework. RAKG extracts pre-entities from text chunks and utilizes these pre-entities as queries for RAG, effectively addressing the issue of long-context forgetting in LLMs and reducing the complexity of Coreference Resolution. In contrast to conventional KGC methods, RAKG more effectively captures global information and the interconnections among disparate nodes, thereby enhancing the overall performance of the model. Additionally, we transfer the RAG evaluation framework to the KGC field and filter and evaluate the generated knowledge graphs, thereby avoiding incorrectly generated entities and relationships caused by hallucinations in LLMs. We further developed the MINE dataset by constructing standard knowledge graphs for each article and experimentally validated the performance of RAKG. The results show that RAKG achieves an accuracy of 95.91 % on the MINE dataset, a 6.2 % point improvement over the current best baseline, GraphRAG (89.71 %). The code is available at https://github.com/LMMApplication/RAKG.

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

↑