ER-RAG: Enhance RAG with ER-Based Unified Modeling of Heterogeneous Data Source
Yikuan Xia, Jiazun Chen, Yirui Zhan, Suifeng Zhao, Linke Wang, Suchen Liu, Weipeng Jiang, Chaorui Zhang,
Key points
From the paper's conclusion- By observing that the evidence access patterns are restricted in RAG systems, ER-RAG introduces unified APIs based on the classic entity-relationship (ER) modeling to standardize the data access to heterogeneous data sources.
Abstract
Retrieval-Augmented Generation (RAG) enhances the reliability of large language models (LLMs) by integrating external evidence for question-answering tasks. However, when supporting evidence is scattered across heterogeneous data sources ( e.g., web pages, databases, and knowledge graphs), current RAG methods based on dedicated retrieval modules for each source face limitations like resource inefficiency in training modules, complex interaction among different sources, and lack of effective source selection. To address these challenges, we propose ER-RAG, a novel framework that allows efficient and effective evidence utilization. By observing that the evidence access patterns are restricted in RAG systems, ER-RAG introduces unified APIs based on the classic entity-relationship (ER) modeling to standardize the data access to heterogeneous data sources. ER-RAG then generates a chain of unified APIs to locate the desired evidence in a two-stage generation process, in which a direct preference optimization-tuned module first identifies optimal sources, and a dedicated module then generates API chains based on selected sources’ schema. Experiments show ER-RAG with an 8B LLM backbone performs comparably to commercial RAG pipelines using state-of-the-art LLMs. ER-RAG also outperforms other hybrid source competitors by 3.1% in LLM score and speeds up retrieval by 5.5X.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and ReasoningarXiv · 2026
- Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable FrameworksACM Transactions on Information Systems · 2026
- Retrieval-augmented generation for natural language processing: a surveyArtificial Intelligence Review · 2026
- From knowledge retrieval to generation: a comprehensive study of RAG's architectures, evolution, and applicationsArtificial Intelligence Review · 2026
- Retrieval-Augmented Generation for Hallucination Mitigation in Large Language Models: Basic RAG, Self-RAG, and Corrective RAGITM Web of Conferences · 2026
- ORDER: Task-Conditioned Routing for Retrieval-Augmented GenerationarXiv · 2026