Lune

AAAI2026Top-tier venue

PathRAG: Pruning Graph-based Retrieval Augmented Generation with Relational Paths

Boyu Chen, Zirui Guo, Zidan Yang, Yuluo Chen, Junze Chen, Zhenghao Liu, Chuan Shi, Cheng Yang

Abstract

Retrieval-augmented generation (RAG) improves the response quality of large language models (LLMs) by retrieving knowledge from external databases. Typical RAG approaches split the text database into chunks, organizing them in a flat structure for efficient searches. To better capture the inherent dependencies and structured relationships across the text database, researchers propose to organize textual information into an indexing graph, known as graph-based RAG. However, we argue that the limitation of current graph-based RAG methods lies in the redundancy of the retrieved information, rather than its insufficiency. Moreover, previous methods use a flat structure to organize retrieved information within the prompts, leading to suboptimal performance. To overcome these limitations, we propose PathRAG, which retrieves key relational paths from the indexing graph, and converts these paths into textual form for prompting LLMs. Specifically, PathRAG effectively reduces redundant information with flow-based pruning, while guiding LLMs to generate more logical and coherent responses with path-based prompting. Experimental results show that PathRAG consistently outperforms state-of-the-art baselines across six datasets and five evaluation dimensions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HyperGraphRAG: Retrieval-Augmented Generation via Hypergraph-Structured Knowledge Representation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Cog-RAG: Cognitive-Inspired Dual-Hypergraph with Theme Alignment Retrieval-Augmented Generation cites HyperGraphRAG: Retrieval-Augmented Generation via Hypergraph-Structured Knowledge Representation
  • Cog-RAG: Cognitive-Inspired Dual-Hypergraph with Theme Alignment Retrieval-Augmented Generation cites HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
  • Cog-RAG: Cognitive-Inspired Dual-Hypergraph with Theme Alignment Retrieval-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Graph-R1: Towards Agentic GraphRAG Framework via End-to-end Reinforcement Learning cites HyperGraphRAG: Retrieval-Augmented Generation via Hypergraph-Structured Knowledge Representation
  • Graph-R1: Towards Agentic GraphRAG Framework via End-to-end Reinforcement Learning cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Query-Aware Flow Diffusion for Graph-Based RAG with Retrieval Guarantees cites G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering
  • Query-Aware Flow Diffusion for Graph-Based RAG with Retrieval Guarantees cites HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
  • Query-Aware Flow Diffusion for Graph-Based RAG with Retrieval Guarantees cites Toolformer: Language Models Can Teach Themselves to Use Tools
  • Query-Aware Flow Diffusion for Graph-Based RAG with Retrieval Guarantees cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
  • When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. HyperGraphRAG: Retrieval-Augmented Generation via Hypergraph-Structured Knowledge RepresentationHaoran Luo, Haihong E, Guanting Chen, Yandan Zheng et al.NeurIPS 2025 · 81 citations
  2. When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented GenerationZhishang Xiang, Chuanjie Wu, Qinggang Zhang, Shengyuan Chen et al.ICLR 2026 · 56 citations
  3. Graph-R1: Towards Agentic GraphRAG Framework via End-to-end Reinforcement LearningHaoran Luo, Haihong E, Guanting Chen, Qika Lin et al.ICML 2026 · 50 citations
  4. Query-Aware Flow Diffusion for Graph-Based RAG with Retrieval GuaranteesZhuoping Zhou, Davoud Ataee Tarzanagh, Sima Didari, Wenjun Hu et al.ICLR 2026 · 6 citations
  5. Cog-RAG: Cognitive-Inspired Dual-Hypergraph with Theme Alignment Retrieval-Augmented GenerationHao Hu, Yifan Feng, Ruoxue Li, Rundong Xue et al.AAAI 2026 · 5 citations

Builds on26

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  2. Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu et al.NeurIPS 2023 · 5,989 citations
  3. ChatEval: Towards Better LLM-based Evaluators through Multi-Agent DebateChi-Min Chan, Weize Chen, Yusheng Su, Jianxuan Yu et al.ICLR 2024 · 871 citations
  4. HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language ModelsBernal Jimenez Gutierrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga et al.NeurIPS 2024 · 395 citations
  5. G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question AnsweringXiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla et al.NeurIPS 2024 · 384 citations

Related papers

  1. You Don't Need Pre-Built Graphs for RAG: Retrieval Augmented Generation with Adaptive Reasoning StructuresShengyuan Chen, Chuang Zhou, Zheng Yuan, Qinggang Zhang et al.AAAI 2026 · 14 citations
  2. LeanRAG: Knowledge-Graph-Based Generation with Semantic Aggregation and Hierarchical RetrievalYaoze Zhang, Rong Wu, Pinlong Cai, Xiaoman Wang et al.AAAI 2026 · 7 citations
  3. ArchRAG: Attributed Community-based Hierarchical Retrieval-Augmented GenerationShu Wang, Yixiang Fang, Yingli Zhou, Xilin Liu et al.AAAI 2026 · 23 citations
  4. LightRAG: Simple and Fast Retrieval-Augmented GenerationZirui Guo, Lianghao Xia, Yanhua Yu, Tu Ao et al.EMNLP Findings 2025 · 209 citations
  5. TH-RAG : Topic-Based Hierarchical Knowledge Graphs for Robust Multi-hop Reasoning in Graph-based RAG SystemsJungHyoun Kim, Soohyeong Kim, Seok Jun Hwang, Jeonghyeon Park et al.ACL 2026
Dusk over the sea between two cliffs drawn in fine vertical lines