Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by grounding them in external knowledge, yet most methods retrieve isolated text chunks, overlooking critical interrelationships. Recent graph-based RAG approaches attempt to model these connections but often produce simple factual chains, missing the dense thematic clusters vital for complex reasoning. In this paper, we introduce KGCRAG, a novel framework that employs community detection to address this limitation, extracting cohesive clusters from the knowledge graph to form a focused, relevant context for the LLM. Featuring a timeout-driven fallback mechanism, our approach ensures efficiency and reliability. Extensive experiments on standard benchmarks (HotpotQA, MuSiQue) and our newly constructed academic QA dataset (ScholatQA) demonstrate that KGCRAG outperforms existing RAG methods in response accuracy and efficiency.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

KGCRAG: An Adaptive Community Detection Framework for Robust Graph-Enhanced RAG

  • Wenli Fang,
  • Guohua Chen,
  • Chengzhe Yuan,
  • Ronghua Lin,
  • Shuangjiao Tang,
  • Yong Tang

摘要

Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by grounding them in external knowledge, yet most methods retrieve isolated text chunks, overlooking critical interrelationships. Recent graph-based RAG approaches attempt to model these connections but often produce simple factual chains, missing the dense thematic clusters vital for complex reasoning. In this paper, we introduce KGCRAG, a novel framework that employs community detection to address this limitation, extracting cohesive clusters from the knowledge graph to form a focused, relevant context for the LLM. Featuring a timeout-driven fallback mechanism, our approach ensures efficiency and reliability. Extensive experiments on standard benchmarks (HotpotQA, MuSiQue) and our newly constructed academic QA dataset (ScholatQA) demonstrate that KGCRAG outperforms existing RAG methods in response accuracy and efficiency.