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

RAG与GraphRAG:系统评估与关键洞察

RAG vs. GraphRAG: A Systematic Evaluation and Key Insights

Michigan State University(密歇根州立大学);University of Oregon(俄勒冈大学);University of Texas at Arlington(德克萨斯大学阿灵顿分校);Meta Platforms, Inc.(Meta平台公司);IBM T.J. Watson Research Center(IBM托马斯·J·沃森研究中心)

Haoyu Han, Li Ma, Yu Wang, Harry Shomer, Yongjia Lei, Zhisheng Qi, Kai Guo, Zhigang Hua, Bo Long, Hui Liu, Charu C. Aggarwal, Jiliang Tang

AI总结:

本文系统评估RAG与GraphRAG在文本任务中的表现,提出统一评估协议,揭示两者优势与权衡,并探索整合策略以提升性能。

摘要:

检索增强生成(RAG)通过从外部源检索相关信息来改进大型语言模型(LLMs),已广泛应用于文本任务。对于结构化数据,如知识图谱,图检索增强生成(GraphRAG)沿图结构检索和聚合信息。最近,GraphRAG通过将无结构文本组织成图表示扩展到通用文本设置,显示出在推理和 grounding 方面的潜力。尽管有这些进展,现有的针对文本数据的GraphRAG系统往往针对特定任务、数据集和系统设计,导致评估协议异质化。因此,对RAG和GraphRAG在广泛使用的文本基准上相对优势、局限性和权衡的系统理解仍然有限。在本文中,我们提出了一个全面的基准研究,比较RAG和GraphRAG在已建立的文本任务上的表现,包括问答和基于查询的摘要。我们引入了一个统一的评估协议,标准化数据预处理、检索配置和生成设置,从而实现公平且可重复的比较。我们的结果突显了RAG和GraphRAG在不同任务和评估视角上的不同优势。基于这些发现,我们探讨了选择和整合策略,结合两种范式的优点,从而实现一致的性能提升。我们进一步分析了失败模式、效率权衡和评估偏差,并突显了设计和评估检索增强生成系统的关键考虑因素。

英文摘要:

Retrieval-Augmented Generation (RAG) improves large language models (LLMs) by retrieving relevant information from external sources and has been widely adopted for text-based tasks. For structured data, such as knowledge graphs, Graph Retrieval-Augmented Generation (GraphRAG) retrieves and aggregates information along graph structures. More recently, GraphRAG has been extended to general text settings by organizing unstructured text into graph representations, showing promise for reasoning and grounding. Despite these advances, existing GraphRAG systems for text data are often tailored to specific tasks, datasets, and system designs, resulting in heterogeneous evaluation protocols. Consequently, a systematic understanding of the relative strengths, limitations, and trade-offs between RAG and GraphRAG on widely used text benchmarks remains limited. In this paper, we present a comprehensive benchmark study comparing RAG and GraphRAG on established text-based tasks, including question answering and query-based summarization. We introduce a unified evaluation protocol that standardizes data preprocessing, retrieval configurations, and generation settings, enabling fair and reproducible comparisons. Our results highlight the distinct strengths of RAG and GraphRAG across different tasks and evaluation perspectives. Building on these findings, we explore selection and integration strategies that combine the strengths of both paradigms, leading to consistent performance improvements. We further analyze failure modes, efficiency trade-offs, and evaluation biases, and highlight key considerations for designing and evaluating retrieval-augmented generation systems.

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

↑