arXiv:2602.03578cs.CLcs.AI2026-02被引 2

根据查询复杂度动态选择检索方式,提升大模型问答准确率与效率

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

  • 通过语法分析识别查询复杂度,智能分配是否用知识图谱
  • 在多跳问答任务上准确率提升12.3%,响应速度降低40%
  • 适合需要兼顾简单与复杂查询的实用问答系统

大语言模型在知识密集型任务中常因幻觉和过时参数化知识而表现不佳。尽管检索增强生成(RAG)通过引入外部文档缓解该问题,但其效果受限于非结构化文档中的信息碎片化。图增强的RAG(GraphRAG)虽能提升上下文推理能力,却在真实场景中出现显著准确率下降和延迟激增,尤其在复杂查询上表现不如基础RAG。我们发现根源在于对所有查询一概使用GraphRAG。为此,提出高效自适应的EA-GraphRAG框架:通过语法特征提取器解析查询并生成结构特征,轻量级复杂度评分器输出连续得分,再基于得分实施路由策略——低分查询用密集检索,高分查询调用图检索,并对边界情况采用复杂度感知的倒数排名融合。在包含两个单跳和两个多跳问答基准的综合评测中,EA-GraphRAG显著提升准确率、降低延迟,在混合查询场景中达到当前最优性能。

原文摘要 · Abstract (English)

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.

检索增强知识图谱自适应推理大模型优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。