GraphRAG 是否必要?从基础 RAG 到图/智能体解决方案与上下文优化 Is GraphRAG Needed? From Basic RAG to Graph-/Agentic Solutions with Context Optimization 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-24
👁️ 预览文献
💡 AI 中文简介
这篇论文系统比较了基础 RAG、GraphRAG、模块化 RAG 和智能体 RAG 在半结构化知识库上的表现,实现了 9 种标准化场景并做了大量实验。研究还提出一种新的上下文工程方法,能减少 19%-53% 的 token 消耗。关键发现是:检索范围扩大并不总能提升生成质量,说明检索指标可能高估了高级检索的价值。
领域自然语言处理 / 信息检索与生成
适合谁读需要一定专业背景(了解 RAG、知识图谱和智能体基本概念)
核心贡献1. 构建了覆盖 9 种标准化场景的 RAG 评估框架,系统比较了基础 RAG、GraphRAG、模块化 RAG 和智能体 RAG 在半结构化知识库上的表现。2. 提出一种新的上下文工程方法,通过新表示和智能体循环设计高效管理文本与图检索,减少 token 使用 19%-53%,并揭示了检索-生成差距现象。
关键数据token 使用减少 19%-53%;实现 9 种标准化 RAG 场景;发现扩展检索不按比例提升生成质量,检索导向指标可能高估高级检索收益。
推荐理由如果你正在纠结要不要上 GraphRAG 或智能体 RAG,这篇论文用数据告诉你什么时候值得用、怎么用更省 token,非常实用。
关键词["检索增强生成", "GraphRAG", "智能体RAG", "上下文优化", "知识图谱", "RAG评估"]

原文摘要

查看英文原文摘要

As advanced RAG variants like GraphRAG and Agentic RAG emerge, one leading question is when and how to use them. Here, we introduce a framework for different RAG scenarios evaluation and comparison on semi-structured knowledge bases, including regular RAG, GraphRAG, Modular RAG and Agentic RAG. We provide implementation for 9 standardized RAG scenarios, and conduct experiments for a comprehensive comparison. These scenarios are designed for real use cases regarding data and domain restrictions, spanning from simple document-based retrieval to advanced features such as hybrid text-graph retrieval, integration with computed or pre-defined domain knowledge graphs, agentic multi-step planning, and agent-graph integration. Besides, we present a novel context engineering method for GraphRAG and Agentic RAG, addressing the context/memory overflow issues, efficiently managing text and graph retrievals with new representations and agentic loop design, leading to 19%-53% reduction on token usage. Moreover, further analysis identifies a retrieval-generation gap where expanded retrieval does not proportionally improve generation quality, suggesting retrieval-oriented metrics overstate advanced retrieval benefits. This work provides data-driven insights on when and how to use them for building production-ready intelligent RAG systems.