LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhuang, Luyao, Chen, Shengyuan, Xiao, Yilin, Zhou, Huachi, Zhang, Yujing, Chen, Hao, Zhang, Qinggang, Huang, Xiao
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912695140220928
author Zhuang, Luyao
Chen, Shengyuan
Xiao, Yilin
Zhou, Huachi
Zhang, Yujing
Chen, Hao
Zhang, Qinggang
Huang, Xiao
author_facet Zhuang, Luyao
Chen, Shengyuan
Xiao, Yilin
Zhou, Huachi
Zhang, Yujing
Chen, Hao
Zhang, Qinggang
Huang, Xiao
contents Retrieval-Augmented Generation (RAG) is widely used to mitigate hallucinations of Large Language Models (LLMs) by leveraging external knowledge. While effective for simple queries, traditional RAG systems struggle with large-scale, unstructured corpora where information is fragmented. Recent advances incorporate knowledge graphs to capture relational structures, enabling more comprehensive retrieval for complex, multi-hop reasoning tasks. However, existing graph-based RAG (GraphRAG) methods rely on unstable and costly relation extraction for graph construction, often producing noisy graphs with incorrect or inconsistent relations that degrade retrieval quality. In this paper, we revisit the pipeline of existing GraphRAG systems and propose LinearRAG (Linear Graph-based Retrieval-Augmented Generation), an efficient framework that enables reliable graph construction and precise passage retrieval. Specifically, LinearRAG constructs a relation-free hierarchical graph, termed Tri-Graph, using only lightweight entity extraction and semantic linking, avoiding unstable relation modeling. This new paradigm of graph construction scales linearly with corpus size and incurs no extra token consumption, providing an economical and reliable indexing of the original passages. For retrieval, LinearRAG adopts a two-stage strategy: (i) relevant entity activation via local semantic bridging, followed by (ii) passage retrieval through global importance aggregation. Extensive experiments on four datasets demonstrate that LinearRAG significantly outperforms baseline models. Our code and datasets are available at https://github.com/DEEP-PolyU/LinearRAG.
format Preprint
id arxiv_https___arxiv_org_abs_2510_10114
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora
Zhuang, Luyao
Chen, Shengyuan
Xiao, Yilin
Zhou, Huachi
Zhang, Yujing
Chen, Hao
Zhang, Qinggang
Huang, Xiao
Computation and Language
Retrieval-Augmented Generation (RAG) is widely used to mitigate hallucinations of Large Language Models (LLMs) by leveraging external knowledge. While effective for simple queries, traditional RAG systems struggle with large-scale, unstructured corpora where information is fragmented. Recent advances incorporate knowledge graphs to capture relational structures, enabling more comprehensive retrieval for complex, multi-hop reasoning tasks. However, existing graph-based RAG (GraphRAG) methods rely on unstable and costly relation extraction for graph construction, often producing noisy graphs with incorrect or inconsistent relations that degrade retrieval quality. In this paper, we revisit the pipeline of existing GraphRAG systems and propose LinearRAG (Linear Graph-based Retrieval-Augmented Generation), an efficient framework that enables reliable graph construction and precise passage retrieval. Specifically, LinearRAG constructs a relation-free hierarchical graph, termed Tri-Graph, using only lightweight entity extraction and semantic linking, avoiding unstable relation modeling. This new paradigm of graph construction scales linearly with corpus size and incurs no extra token consumption, providing an economical and reliable indexing of the original passages. For retrieval, LinearRAG adopts a two-stage strategy: (i) relevant entity activation via local semantic bridging, followed by (ii) passage retrieval through global importance aggregation. Extensive experiments on four datasets demonstrate that LinearRAG significantly outperforms baseline models. Our code and datasets are available at https://github.com/DEEP-PolyU/LinearRAG.
title LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora
topic Computation and Language
url https://arxiv.org/abs/2510.10114