The Chronicles of RAG: The Retriever, the Chunk and the Generator
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval Augmented Generation (RAG) has become one of the most popular paradigms for enabling LLMs to access external data, and also as a mechanism for grounding to mitigate against hallucinations. When implementing RAG you can face several challenges like effective integration of retrieval models, efficient representation learning, data diversity, computational efficiency optimization, evaluation, and quality of text generation. Given all these challenges, every day a new technique to improve RAG appears, making it unfeasible to experiment with all combinations for your problem. In this context, this paper presents good practices to implement, optimize, and evaluate RAG for the Brazilian Portuguese language, focusing on the establishment of a simple pipeline for inference and experiments. We explored a diverse set of methods to answer questions about the first Harry Potter book. To generate the answers we used the OpenAI's gpt-4, gpt-4-1106-preview, gpt-3.5-turbo-1106, and Google's Gemini Pro. Focusing on the quality of the retriever, our approach achieved an improvement of MRR@10 by 35.4% compared to the baseline. When optimizing the input size in the application, we observed that it is possible to further enhance it by 2.4%. Finally, we present the complete architecture of the RAG with our recommendations. As result, we moved from a baseline of 57.88% to a maximum relative score of 98.61%.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 21 of its 39 references that are in the map. First posted on arXiv 15 Jan 2024.
Builds on
21 of 39 references.
Closest ancestors · 1
Same direction, newest first
Other references · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 266
- 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
8 more
- 2019Multi-Stage Document Ranking with BERTcited by 200
- 2022Dense Text Retrieval based on Pretrained Language Models: A Surveycited by 136
- 2021mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Datasetcited by 116
- 2023Retrieval meets Long Context Large Language Modelscited by 114
- 2019A Deep Look into Neural Ranking Models for Information Retrievalcited by 79
- 2021Pyserini: An Easy-to-Use Python Toolkit to Support Replicable IR Research with Sparse and Dense Representationscited by 60
- 2021Yes, BM25 is a Strong Baseline for Legal Case Retrievalcited by 24
- 2022Visconde: Multi-document QA with GPT-3 and Neural Rerankingcited by 23
Built on by
Citing papers per year: 2024: 10; 2025: 21; 2026: 3.
34 papers.
Sort:
By area:
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretabilitycited by 100
- 2025PathRAG: Pruning Graph-based Retrieval Augmented Generation with Relational Pathscited by 60
- 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insightscited by 51
- 2024Is Semantic Chunking Worth the Computational Cost?cited by 43
- 2024Long2RAG: Evaluating Long-Context & Long-Form Retrieval-Augmented Generation with Key Point Recallcited by 32
- 2024Telco-RAG: Navigating the Challenges of Retrieval-Augmented Language Models for Telecommunicationscited by 26
- 2024RAGGED: Towards Informed Design of Scalable and Stable RAG Systemscited by 24
- 2025TableRAG: A Retrieval Augmented Generation Framework for Heterogeneous Document Reasoningcited by 22
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Surveycited by 20
- 2025FinDER: Financial Dataset for Question Answering and Evaluating Retrieval-Augmented Generationcited by 17
- 2025EraRAG: Efficient and Incremental Retrieval Augmented Generation for Growing Corporacited by 14
22 more
- 2024Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systemscited by 12
- 2025DyG-RAG: Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoningcited by 8
- 2025RAGVA: Engineering Retrieval Augmented Generation-based Virtual Assistants in Practicecited by 6
- 2025A Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChatcited by 5
- 2024RAG Playground: A Framework for Systematic Evaluation of Retrieval Strategies and Prompt Engineering in RAG Systemscited by 4
- 2025ALoFTRAG: Automatic Local Fine Tuning for Retrieval Augmented Generationcited by 3
- 2025SEReDeEP: Hallucination Detection in Retrieval-Augmented Models via Semantic Entropy and Context-Parameter Fusioncited by 3
- 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generationcited by 3
- 2024Retrieval Augmented Generation Systems: Automatic Dataset Creation, Evaluation and Boolean Agent Setupcited by 2
- 2024Evaluating the Effectiveness and Efficiency of Demonstration Retrievers in RAG for Coding Taskscited by 2
- 2025Can LLMs Replace Humans During Code Chunking?cited by 2
- 2025Comparing Knowledge Injection Methods for LLMs in a Low-Resource Regimecited by 2
- 2025Enhancing Retrieval-Augmented Generation with Topic-Enriched Embeddings: A Hybrid Approach Integrating Traditional NLP Techniquescited by 2
- 2025ASVRI-Legal: Fine-Tuning LLMs with Retrieval Augmented Generation for Enhanced Legal Regulationcited by 1
- 2025TAdaRAG: Task Adaptive Retrieval-Augmented Generation via On-the-Fly Knowledge Graph Constructioncited by 1
- 2026Evaluating Chunking Strategies For Retrieval-Augmented Generation in Oil and Gas Enterprise Documentscited by 1
- 2025Markov-Enhanced Clustering for Long Document Summarization: Tackling the 'Lost in the Middle' Challenge with Large Language Modelscited by 0
- 2025Building Specialized Software-Assistant ChatBot with Graph-Based Retrieval-Augmented Generationcited by 0
- 2025Breaking It Down: Domain-Aware Semantic Segmentation for Retrieval Augmented Generationcited by 0
- 2026Evidence-Grounded Multi-Agent Planning Support for Urban Carbon Governance via RAGcited by 0
- 2025Retrieval-Augmented Generation Assistant for Anatomical Pathology Laboratoriescited by 0
- 2026Efficient RAG with Intent-Aware Retrieval and Semantics-Preserving Chunkingcited by 0
- 2026Efficient RAG with Intent-Aware Retrieval and Semantics-Preserving Chunking31 May 2026
- 2026Evaluating Chunking Strategies For Retrieval-Augmented Generation in Oil and Gas Enterprise Documents25 Mar 2026
- 2026Evidence-Grounded Multi-Agent Planning Support for Urban Carbon Governance via RAG3 Jan 2026
- 2025Enhancing Retrieval-Augmented Generation with Topic-Enriched Embeddings: A Hybrid Approach Integrating Traditional NLP Techniques31 Dec 2025
- 2025Retrieval-Augmented Generation Assistant for Anatomical Pathology Laboratories8 Dec 2025
- 2025Breaking It Down: Domain-Aware Semantic Segmentation for Retrieval Augmented Generation29 Nov 2025
- 2025TAdaRAG: Task Adaptive Retrieval-Augmented Generation via On-the-Fly Knowledge Graph Construction16 Nov 2025
- 2025Building Specialized Software-Assistant ChatBot with Graph-Based Retrieval-Augmented Generation7 Nov 2025
- 2025ASVRI-Legal: Fine-Tuning LLMs with Retrieval Augmented Generation for Enhanced Legal Regulation5 Nov 2025
- 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generation26 Aug 2025
- 2025Comparing Knowledge Injection Methods for LLMs in a Low-Resource Regime8 Aug 2025
- 2025A Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChat24 Jul 2025
22 more
- 2025DyG-RAG: Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoning16 Jul 2025
- 2025EraRAG: Efficient and Incremental Retrieval Augmented Generation for Growing Corpora26 Jun 2025
- 2025Can LLMs Replace Humans During Code Chunking?24 Jun 2025
- 2025Markov-Enhanced Clustering for Long Document Summarization: Tackling the 'Lost in the Middle' Challenge with Large Language Models22 Jun 2025
- 2025TableRAG: A Retrieval Augmented Generation Framework for Heterogeneous Document Reasoning12 Jun 2025
- 2025SEReDeEP: Hallucination Detection in Retrieval-Augmented Models via Semantic Entropy and Context-Parameter Fusion12 May 2025
- 2025FinDER: Financial Dataset for Question Answering and Evaluating Retrieval-Augmented Generation22 Apr 2025
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey21 Apr 2025
- 2025RAGVA: Engineering Retrieval Augmented Generation-based Virtual Assistants in Practice20 Feb 2025
- 2025PathRAG: Pruning Graph-based Retrieval Augmented Generation with Relational Paths18 Feb 2025
- 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insights17 Feb 2025
- 2025ALoFTRAG: Automatic Local Fine Tuning for Retrieval Augmented Generation21 Jan 2025
- 2024RAG Playground: A Framework for Systematic Evaluation of Retrieval Strategies and Prompt Engineering in RAG Systems16 Dec 2024
- 2024Long2RAG: Evaluating Long-Context & Long-Form Retrieval-Augmented Generation with Key Point Recall30 Oct 2024
- 2024Is Semantic Chunking Worth the Computational Cost?16 Oct 2024
- 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretability15 Oct 2024
- 2024Evaluating the Effectiveness and Efficiency of Demonstration Retrievers in RAG for Coding Tasks12 Oct 2024
- 2024Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systems11 Jul 2024
- 2024Telco-RAG: Navigating the Challenges of Retrieval-Augmented Language Models for Telecommunications24 Apr 2024
- 2024RAGGED: Towards Informed Design of Scalable and Stable RAG Systems14 Mar 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2024Retrieval Augmented Generation Systems: Automatic Dataset Creation, Evaluation and Boolean Agent Setup26 Feb 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretabilitycited by 100
- 2025PathRAG: Pruning Graph-based Retrieval Augmented Generation with Relational Pathscited by 60
- 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insightscited by 51
- 2024Is Semantic Chunking Worth the Computational Cost?cited by 43
- 2024Long2RAG: Evaluating Long-Context & Long-Form Retrieval-Augmented Generation with Key Point Recallcited by 32
- 2024Telco-RAG: Navigating the Challenges of Retrieval-Augmented Language Models for Telecommunicationscited by 26
- 2024RAGGED: Towards Informed Design of Scalable and Stable RAG Systemscited by 24
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Surveycited by 20
- 2025FinDER: Financial Dataset for Question Answering and Evaluating Retrieval-Augmented Generationcited by 17
- 2025EraRAG: Efficient and Incremental Retrieval Augmented Generation for Growing Corporacited by 14
- 2024Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systemscited by 12
12 most cited of 26 All 26 (JSON)
- 2026Evaluating Chunking Strategies For Retrieval-Augmented Generation in Oil and Gas Enterprise Documents25 Mar 2026
- 2025Enhancing Retrieval-Augmented Generation with Topic-Enriched Embeddings: A Hybrid Approach Integrating Traditional NLP Techniques31 Dec 2025
- 2025Retrieval-Augmented Generation Assistant for Anatomical Pathology Laboratories8 Dec 2025
- 2025Breaking It Down: Domain-Aware Semantic Segmentation for Retrieval Augmented Generation29 Nov 2025
- 2025Building Specialized Software-Assistant ChatBot with Graph-Based Retrieval-Augmented Generation7 Nov 2025
- 2025ASVRI-Legal: Fine-Tuning LLMs with Retrieval Augmented Generation for Enhanced Legal Regulation5 Nov 2025
- 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generation26 Aug 2025
- 2025A Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChat24 Jul 2025
- 2025EraRAG: Efficient and Incremental Retrieval Augmented Generation for Growing Corpora26 Jun 2025
- 2025SEReDeEP: Hallucination Detection in Retrieval-Augmented Models via Semantic Entropy and Context-Parameter Fusion12 May 2025
- 2025FinDER: Financial Dataset for Question Answering and Evaluating Retrieval-Augmented Generation22 Apr 2025
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey21 Apr 2025
12 newest of 26 All 26 (JSON)
- 2025TableRAG: A Retrieval Augmented Generation Framework for Heterogeneous Document Reasoningcited by 22
- 2025DyG-RAG: Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoningcited by 8
- 2025TAdaRAG: Task Adaptive Retrieval-Augmented Generation via On-the-Fly Knowledge Graph Constructioncited by 1
- 2026Efficient RAG with Intent-Aware Retrieval and Semantics-Preserving Chunkingcited by 0
- 2026Efficient RAG with Intent-Aware Retrieval and Semantics-Preserving Chunking31 May 2026
- 2025TAdaRAG: Task Adaptive Retrieval-Augmented Generation via On-the-Fly Knowledge Graph Construction16 Nov 2025
- 2025DyG-RAG: Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoning16 Jul 2025
- 2025TableRAG: A Retrieval Augmented Generation Framework for Heterogeneous Document Reasoning12 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2024Developing Retrieval Augmented Generation (RAG) based LLM Systems from PDFs: An Experience Report
- 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research
- 2024Speculative RAG: Enhancing Retrieval Augmented Generation through Drafting
- 2024Toward Optimal Search and Retrieval for RAG
- 2024R^3AG: First Workshop on Refined and Reliable Retrieval Augmented Generation
- 2025Towards Trustworthy Retrieval Augmented Generation for Large Language Models: A Survey
- 2024A Survey on Retrieval-Augmented Text Generation for Large Language Models
- 2024The Power of Noise: Redefining Retrieval for RAG Systems