# RGL: A Graph-Centric, Modular Framework for Efficient Retrieval-Augmented Generation on Graphs

arXiv: https://arxiv.org/abs/2503.19314 · HTML: https://mlsanity.com/paper/2503.19314/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Placed in Knowledge-graph and structured-knowledge RAG, one of 15 directions in Retrieval-augmented generation.
- Builds on 10 of its 18 references that are in the map.
- First posted on arXiv 25 Mar 2025.

## Placed in

- Retrieval-augmented generation / [Knowledge-graph and structured-knowledge RAG](https://mlsanity.com/rag/knowledge-graph-and-structured-knowledge-rag/)

## Builds on (most cited first, 10 of 10)

- [Fast Graph Representation Learning with PyTorch Geometric](https://mlsanity.com/paper/1903.02428/) (2019)
- [From Local to Global: A Graph RAG Approach to Query-Focused Summarization](https://mlsanity.com/paper/2404.16130/) (2024)
- [Deep Graph Library: A Graph-Centric, Highly-Performant Package for Graph Neural Networks](https://mlsanity.com/paper/1909.01315/) (2019)
- [A Tale of Two Graphs: Freezing and Denoising Graph Structures for Multimodal Recommendation](https://mlsanity.com/paper/2211.06924/) (2022)
- [Efficient Heterogeneous Graph Learning via Random Projection](https://mlsanity.com/paper/2310.14481/) (2023)
- [Collaborate to Adapt: Source-Free Graph Domain Adaptation via Bi-directional Adaptation](https://mlsanity.com/paper/2403.01467/) (2024)
- [Generating with Fairness: A Modality-Diffused Counterfactual Framework for Incomplete Multimodal Recommendations](https://mlsanity.com/paper/2501.11916/) (2025)
- [Do We Really Need to Drop Items with Missing Modalities in Multimodal Recommendation?](https://mlsanity.com/paper/2408.11767/) (2024)
- [Aggregate to Adapt: Node-Centric Aggregation for Multi-Source-Free Graph Domain Adaptation](https://mlsanity.com/paper/2502.03033/) (2025)
- [DKWS: A Distributed System for Keyword Search on Massive Graphs (Complete Version)](https://mlsanity.com/paper/2309.01199/) (2023)

## Built on by (most cited first, 2 of 2)

- [LlamaRec-LKG-RAG: A Single-Pass, Learnable Knowledge Graph-RAG Framework for LLM-Based Ranking](https://mlsanity.com/paper/2506.07449/) (2025)
- [Deep GraphRAG: A Balanced Approach to Hierarchical Retrieval and Adaptive Integration](https://mlsanity.com/paper/2601.11144/) (2026)

## Abstract (arXiv)

Recent advances in graph learning have paved the way for innovative retrieval-augmented generation (RAG) systems that leverage the inherent relational structures in graph data. However, many existing approaches suffer from rigid, fixed settings and significant engineering overhead, limiting their adaptability and scalability. Additionally, the RAG community has largely overlooked the decades of research in the graph database community regarding the efficient retrieval of interesting substructures on large-scale graphs. In this work, we introduce the RAG-on-Graphs Library (RGL), a modular framework that seamlessly integrates the complete RAG pipeline-from efficient graph indexing and dynamic node retrieval to subgraph construction, tokenization, and final generation-into a unified system. RGL addresses key challenges by supporting a variety of graph formats and integrating optimized implementations for essential components, achieving speedups of up to 143x compared to conventional methods. Moreover, its flexible utilities, such as dynamic node filtering, allow for rapid extraction of pertinent subgraphs while reducing token consumption. Our extensive evaluations demonstrate that RGL not only accelerates the prototyping process but also enhances the performance and applicability of graph-based RAG systems across a range of tasks.
