arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.00610cs.IRcs.AIcs.MA
收藏

MemGraphRAG:基于记忆的多智能体系统用于图检索增强生成

MemGraphRAG: Memory-based Multi-Agent System for Graph Retrieval-Augmented Generation

Xiamen University(厦门大学);Jilin University(吉林大学)

Chuanjie Wu, Zhishang Xiang, Yunbo Tang, Zerui Chen, Qinggang Zhang, Jinsong Su

AI总结:

提出MemGraphRAG框架,通过基于记忆的多智能体系统构建高质量知识图谱,并设计记忆感知的分层检索算法,在多个基准上超越现有模型。

摘要:

检索增强生成(RAG)已成为通过利用外部知识来减轻大型语言模型(LLMs)幻觉的重要方法。虽然对简单查询有效,但传统RAG在处理信息高度碎片化的大规模非结构化语料库时存在困难。基于图的RAG(GraphRAG)引入知识图谱来捕获结构关系,从而实现对复杂推理的更全面检索。然而,现有的GraphRAG方法依赖孤立的、片段级别的提取来构建图,缺乏对整个语料库的全局视角。因此,这些方法经常导致主题不一致、逻辑冲突和结构碎片化的图,从而降低检索性能。在本文中,我们提出MemGraphRAG,一种新颖的框架,引入基于记忆的多智能体系统以确保高质量的图构建。具体来说,MemGraphRAG采用由共享记忆支持的智能体协作社会,在整个提取过程中提供统一的全局上下文。这种机制允许智能体动态解决逻辑冲突并保持整个语料库的结构连通性。此外,我们提出了一种针对所构建图的记忆感知分层检索算法。在多个基准上的大量实验表明,MemGraphRAG以相当的效率优于最先进的基线模型。我们的代码可在https://github.com/XMUDeepLIT/MemGraphRAG获取。

英文摘要:

Retrieval-Augmented Generation (RAG) has become an essential method for mitigating hallucinations in Large Language Models (LLMs) by leveraging external knowledge. Although effective for simple queries, traditional RAG struggles with large-scale, unstructured corpora where information is highly fragmented. Graph-based RAG (GraphRAG) incorporates knowledge graphs to capture structural relationships, enabling more comprehensive retrieval for complex reasoning. However, existing GraphRAG methods rely on isolated, fragment-level extraction for graph construction, lacking a global perspective on the whole corpus. As a result, these methods frequently lead to thematically inconsistent, logically conflicting, and structurally fragmented graphs that degrade retrieval performance. In this paper, we propose MemGraphRAG, a novel framework that introduces a memory-based multi-agent system to ensure high-quality graph construction. Specifically, MemGraphRAG employs a collaborative society of agents supported by shared memory, which provides a unified global context throughout the extraction process. This mechanism allows agents to dynamically resolve logical conflicts and maintain structural connectivity throughout the corpus. Furthermore, we propose a memory-aware hierarchical retrieval algorithm tailored for the constructed graph. Extensive experiments on multiple benchmarks demonstrate that MemGraphRAG outperforms the state-of-the-art baseline models with comparable efficiency. Our code is available at https://github.com/XMUDeepLIT/MemGraphRAG.

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

↑