LLM Memory & RAG 相关度: 9/10

Use Graph When It Needs: Efficiently and Adaptively Integrating Retrieval-Augmented Generation with Graphs

Su Dong, Qinggang Zhang, Yilin Xiao, Shengyuan Chen, Chuang Zhou, Xiao Huang
arXiv: 2602.03578v1 发布: 2026-02-03 更新: 2026-02-03

AI 摘要

EA-GraphRAG通过语法分析自适应地结合RAG和GraphRAG,提升了知识密集型任务的准确性和效率。

主要贡献

  • 提出了语法感知的复杂度分析方法
  • 设计了轻量级的复杂度评分器
  • 实现了基于分数的自适应路由策略

方法论

通过语法特征提取和复杂度评分,动态选择RAG或GraphRAG,并用复杂性感知的倒数排名融合处理边界情况。

原文摘要

Large language models (LLMs) often struggle with knowledge-intensive tasks due to hallucinations and outdated parametric knowledge. While Retrieval-Augmented Generation (RAG) addresses this by integrating external corpora, its effectiveness is limited by fragmented information in unstructured domain documents. Graph-augmented RAG (GraphRAG) emerged to enhance contextual reasoning through structured knowledge graphs, yet paradoxically underperforms vanilla RAG in real-world scenarios, exhibiting significant accuracy drops and prohibitive latency despite gains on complex queries. We identify the rigid application of GraphRAG to all queries, regardless of complexity, as the root cause. To resolve this, we propose an efficient and adaptive GraphRAG framework called EA-GraphRAG that dynamically integrates RAG and GraphRAG paradigms through syntax-aware complexity analysis. Our approach introduces: (i) a syntactic feature constructor that parses each query and extracts a set of structural features; (ii) a lightweight complexity scorer that maps these features to a continuous complexity score; and (iii) a score-driven routing policy that selects dense RAG for low-score queries, invokes graph-based retrieval for high-score queries, and applies complexity-aware reciprocal rank fusion to handle borderline cases. Extensive experiments on a comprehensive benchmark, consisting of two single-hop and two multi-hop QA benchmarks, demonstrate that our EA-GraphRAG significantly improves accuracy, reduces latency, and achieves state-of-the-art performance in handling mixed scenarios involving both simple and complex queries.

标签

RAG 知识图谱 检索增强生成 复杂度分析

arXiv 分类

cs.CL cs.AI