Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks

Retrieval-Augmented Generation (RAG) has substantially improved the performance of Large Language Models (LLMs) on knowledge-intensive tasks. While recent advances have introduced sophisticated retrievers, orchestration mechanisms, and optimization strategies that move beyond the naive retrieve-then-generate approach, a unified paradigm for systematically designing and optimizing RAG systems across diverse tasks remains lacking. This paper introduces Modular RAG, a unified paradigm that organizes RAG systems into a three-layer structure of modules, submodules, and operators. We formalize over 40 specialized operators within eight L1 modules and further summarize typical RAG design patterns, including linear, conditional, branching, and loop, to model the orchestration of retrieval and generation processes. Through extensive experiments, we demonstrate the adaptability of different RAG workflows to typical tasks. We further introduce node-level diagnostics to identify performance bottlenecks and quantify the trade-offs between efficiency and effectiveness. By establishing a unified paradigm and empirically supported mapping guidelines, Modular RAG provides researchers and practitioners with a systematic framework for designing, implementing, and optimizing RAG systems across diverse application scenarios.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Information Systems
Published
2026-08-03
DOI
https://doi.org/10.1145/3837856
Citations
10
Primary Topic
Embedded Systems Design Techniques
Type
article
Field-Weighted Citation Impact
19.22
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks

Haofen Wang, Meng Wang, Yun Xiong, Yunfan Gao
10 citations
ACM Transactions on Information Systems
Embedded Systems Design Techniques
19.22
article

Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks

Haofen Wang, Meng Wang, Yun Xiong, Yunfan Gao
article en
10 citations

Abstract

Retrieval-Augmented Generation (RAG) has substantially improved the performance of Large Language Models (LLMs) on knowledge-intensive tasks. While recent advances have introduced sophisticated retrievers, orchestration mechanisms, and optimization strategies that move beyond the naive retrieve-then-generate approach, a unified paradigm for systematically designing and optimizing RAG systems across diverse tasks remains lacking. This paper introduces Modular RAG, a unified paradigm that organizes RAG systems into a three-layer structure of modules, submodules, and operators. We formalize over 40 specialized operators within eight L1 modules and further summarize typical RAG design patterns, including linear, conditional, branching, and loop, to model the orchestration of retrieval and generation processes. Through extensive experiments, we demonstrate the adaptability of different RAG workflows to typical tasks. We further introduce node-level diagnostics to identify performance bottlenecks and quantify the trade-offs between efficiency and effectiveness. By establishing a unified paradigm and empirically supported mapping guidelines, Modular RAG provides researchers and practitioners with a systematic framework for designing, implementing, and optimizing RAG systems across diverse application scenarios.

ACM Transactions on Information Systems
Tongji University (CN), Fudan University (CN)
Openalex Percentile: Top 4%
Embedded Systems Design Techniques
19.22
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.