You Don't Need Pre-Built Graphs for RAG: Retrieval Augmented Generation with Adaptive Reasoning Structures
Shengyuan Chen, Chuang Zhou, Zheng Yuan, Qinggang Zhang, Zeyang Cui, Hao Chen, Yilin Xiao, Jiannong Cao, Xiao Huang
Abstract
Large language models (LLMs) often suffer from hallucination, generating factually incorrect statements when handling questions beyond their knowledge and perception. Retrieval-augmented generation (RAG) addresses this by retrieving query-relevant contexts from knowledge bases to support LLM reasoning. Recent advances leverage pre-constructed graphs to capture the relational connections among distributed documents, showing remarkable performance in complex tasks. However, existing Graph-based RAG (GraphRAG) methods rely on a costly process to transform the corpus into a graph, introducing overwhelming token cost and update latency. Moreover, real-world queries vary in type and complexity, requiring different logic structures for accurate reasoning. The pre-built graph may not align with these required structures, resulting in ineffective knowledge retrieval. To this end, we propose a Logic-aware Retrieval Augmented Generation framework (LogicRAG) that dynamically extracts reasoning structures at inference time to guide adaptive retrieval without any pre-built graph. LogicRAG begins by decomposing the input query into a set of subproblems and constructing a directed acyclic graph (DAG) to model the logical dependencies among them. To support coherent multi-step reasoning, LogicRAG then linearizes the graph using topological sort, so that subproblems can be addressed in a logically consistent order. Besides, LogicRAG applies graph pruning to reduce redundant retrieval and uses context pruning to filter irrelevant context, significantly reducing the overall token cost. Extensive experiments demonstrate that LogicRAG achieves both superior performance and efficiency compared to state-of-the-art baselines.
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.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- In-depth Analysis of Graph-based RAG in a Unified Framework cites RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- In-depth Analysis of Graph-based RAG in a Unified Framework cites LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora
- In-depth Analysis of Graph-based RAG in a Unified Framework cites HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
- In-depth Analysis of Graph-based RAG in a Unified Framework cites When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation
- In-depth Analysis of Graph-based RAG in a Unified Framework cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval cites Improving Language Models by Retrieving from Trillions of Tokens
- RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval cites UnifiedQA: Crossing Format Boundaries With a Single QA System
- RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrieval cites LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora
- LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrieval cites When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites Improving Language Models by Retrieving from Trillions of Tokens
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models cites RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- 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 RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites Improving Language Models by Retrieving from Trillions of Tokens
- 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 UnifiedQA: Crossing Format Boundaries With a Single QA System
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- GraphRAG Under Fire cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Cited by top-tier papers16
- 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
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale CorporaLuyao Zhuang, Shengyuan Chen, Yilin Xiao, Huachi Zhou et al.ICLR 2026 · 54 citations
- In-depth Analysis of Graph-based RAG in a Unified FrameworkYingli Zhou, Yaodong Su, Youran Sun, Shu Wang et al.VLDB 2025 · 48 citations
- GraphRAG Under FireJiacheng Liang, Yuhui Wang, Changjiang Li, Tanqiu Jiang et al.S&P 2026 · 31 citations
- LoSemB: Logic-Guided Semantic Bridging for Inductive Tool RetrievalLuyao Zhuang, Qinggang Zhang, Huachi Zhou, Yujing Zhang et al.WWW 2026 · 2 citations
Builds on23
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
- UnifiedQA: Crossing Format Boundaries With a Single QA SystemDaniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal et al.EMNLP Findings 2020 · 514 citations
- RAPTOR: Recursive Abstractive Processing for Tree-Organized RetrievalParth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna et al.ICLR 2024 · 460 citations
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language ModelsBernal Jimenez Gutierrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga et al.NeurIPS 2024 · 395 citations
Related papers
- GRIL: Knowledge Graph Retrieval-Integrated Learning with Large Language ModelsJialin Chen, Houyu Zhang, Seongjun Yun, Alejandro Mottini et al.EMNLP Findings 2025 · 3 citations
- Empowering GraphRAG with Knowledge Filtering and IntegrationKai Guo, Harry Shomer, Shenglai Zeng, Haoyu Han et al.EMNLP 2025 · 2 citations
- MemGraphRAG: Memory-based Multi-Agent System for Graph Retrieval-Augmented GenerationChuanjie Wu, Zhishang Xiang, Yunbo Tang, Zerui Chen et al.KDD 2026 · 1 citation
- QA-GraphRAG: Query-Adaptive Plug-and-Play Retrieval Integration for Graph-based Retrieval-Augmented GenerationZeang Sheng, Ruihong Sun, Jiahao Xu, Hanmei Luo et al.VLDB 2026
- Query-Aware Graph Attention for Precise Subgraph Retrieval in Knowledge-Augmented ReasoningYuanye Xu, Linyi Guo, Yue Zhang, Fu NingACL Findings 2026
