This post is a brief summary about the paper that I read for my study and curiosity, so I shortly arrange the content of the paper, titled Modular RAG: Transforming RAG Systems into LEGO-like Reconfiguragble Frameworks (Gao et al. arXiv 2024), that I read and studied.

The following indicates the Naive RAG and Advaced RAG Scenario.

Gao et al. arXiv 2024

The following indicates the Modular RAG Scenario.

Gao et al. arXiv 2024

The following indicates the three paradigms of RAG system.

Gao et al. arXiv 2024

The following two images denote tha linear pattern of RAG System.

i.e. The below image is Sequential.

Gao et al. arXiv 2024

i.e The below image is Rewrite-Retrieval-Read (RRR).

Gao et al. arXiv 2024

The following indicates the conditional pattern of RAG system.

Gao et al. arXiv 2024

The following three images indicate the branching pattern of RAG system.

Gao et al. arXiv 2024

Gao et al. arXiv 2024

Gao et al. arXiv 2024

The following five images indicate the loop pattern of RAG system.

Gao et al. arXiv 2024

Gao et al. arXiv 2024

Gao et al. arXiv 2024

Gao et al. arXiv 2024

Gao et al. arXiv 2024

The following images is tuning pattern of RAG System.

Gao et al. arXiv 2024

Gao et al. arXiv 2024

Gao et al. arXiv 2024

For detailed experiment and explanation, refer to the paper, titled Modular RAG: Transforming RAG Systems into LEGO-like Reconfiguragble Frameworks (Gao et al. arXiv 2024)

Reference