Knowledge Graph-Guided Retrieval Augmented Generation

Xiangrong Zhu, Yuexiang Xie, Yi Liu, Yaliang Li, Wei Hu
2/8/2025
cs.CLcs.AI

No official code found. Best implementation: nju-websoft/KG2RAG (136 stars, GPL-3.0, last commit 2025-02-26). 1 more below.

Abstract

Retrieval-augmented generation (RAG) has emerged as a promising technology for addressing hallucination issues in the responses generated by large language models (LLMs). Existing studies on RAG primarily focus on applying semantic-based approaches to retrieve isolated relevant chunks, which ignore their intrinsic relationships. In this paper, we propose a novel Knowledge Graph-Guided Retrieval Augmented Generation (KG$^2$RAG) framework that utilizes knowledge graphs (KGs) to provide fact-level relationships between chunks, improving the diversity and coherence of the retrieved results. Specifically, after performing a semantic-based retrieval to provide seed chunks, KG$^2$RAG employs a KG-guided chunk expansion process and a KG-based chunk organization process to deliver relevant and important knowledge in well-organized paragraphs. Extensive experiments conducted on the HotpotQA dataset and its variants demonstrate the advantages of KG$^2$RAG compared to existing RAG-based approaches, in terms of both response quality and retrieval quality.

View on arXivView PDF

Code Implementations(2)

nju-websoft/KG2RAGCommunity100%
GPL-3.0

Knowledge Graph-Guided Retrieval Augmented Generation, NAACL 2025

13620PythonFeb 6, 20251 years agoGPL-3.0

This repository contains my implementation and experimental analysis of the KG2RAG framework, based on the paper "Knowledge Graph-Guided Retrieval Augmented Generation" (Zhu et al., 2025).

01Jupyter NotebookJul 20, 20259 months ago

Similar Papers

Cite this paper

@article{zhu2025knowledge,
  title  = {Knowledge Graph-Guided Retrieval Augmented Generation},
  author = {Xiangrong Zhu and Yuexiang Xie and Yi Liu and Yaliang Li and Wei Hu},
  year   = {2025},
  eprint = {2502.06864},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.06864v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.06864.svg)](https://codeofpaper.com/paper/2502.06864)

Discussion