AI summary · arXiv: 2407.01219v1 · cs.CL

Searching for Best Practices in Retrieval-Augmented Generation

Xiaohua Wang, Zhenghua Wang, Xuan Gao, Feiran Zhang, Yixin Wu, Zhibo Xu, Tianyuan Shi, Zhengyuan Wang,
and 6 more authorsShizheng Li, Qi Qian, Ruicheng Yin, Changze Lv, Xiaoqing Zheng, Xuanjing Huang
Original paper · DOI 10.18653/v1/2024.emnlp-main.981 Submitted to arXiv on 01 Jul. 2024 Published in Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (2024) License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Integration of up-to-date information in retrieval-augmented generation (RAG) techniques enhances response quality and mitigates hallucinations, especially in specialized domains.
  • RAG workflows involve multiple processing steps that can be executed in different ways.
  • Summarization of retrieved documents is a crucial aspect of the RAG pipeline to avoid redundant or unnecessary information hindering accurate response generation by Language Models (LLMs).
  • Efficient summarization methods are essential for optimizing the RAG workflow, with extractive and abstractive methods being common approaches.
  • Query-based summarization methods focus on retrieving information relevant to queries, with approaches like Recomp, LongLLMLingua, and Selective Context evaluated for their performance.
  • Generator Fine-tuning techniques using models like monoT5 and RankLLaMA on datasets such as MS MARCO Passage ranking dataset enhance LLM efficiency in generating responses based on summarized information.
  • Document Repacking methods after reranking optimize subsequent processes by arranging documents based on relevancy scores from the reranking phase, reducing time and resources required for response generation.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Retrieval-augmented generation up-to-date information response quality summarization methods Generator Fine-tuning

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In the realm of retrieval-augmented generation (RAG) techniques, the integration of up-to-date information has proven to be effective in enhancing response quality and mitigating hallucinations, especially in specialized domains. While various RAG approaches have been proposed to improve large language models through query-dependent retrievals, these methods often face challenges related to complex implementation and prolonged response times. Typically, a RAG workflow involves multiple processing steps that can be executed in different ways. One crucial aspect of the RAG pipeline is the summarization of retrieved documents. Retrieval results may contain redundant or unnecessary information that could hinder accurate response generation by Language Models (LLMs). Additionally, long prompts can slow down the inference process. Therefore, efficient summarization methods are essential for optimizing the RAG workflow. Summarization tasks can be extractive or abstractive in nature. Extractive methods involve segmenting text into sentences and ranking them based on importance, while abstractive compressors synthesize information from multiple documents to generate a cohesive summary. In this paper, we focus on query-based summarization methods as RAG retrieves information relevant to queries. We explore several approaches such as Recomp, LongLLMLingua, and Selective Context for summarizing retrieved documents. Through extensive experiments on benchmark datasets like NQ, TriviaQA, and HotpotQA, we evaluate the performance of these methods. Recomp stands out for its exceptional performance in generating accurate summaries. Although LongLLMLingua does not perform well on these experimental datasets due to its limited generalization capabilities compared to other methods like Selective Context. Furthermore, we delve into Generator Fine-tuning techniques to enhance the efficiency and effectiveness of LLMs in generating responses based on summarized information. By fine-tuning generators like monoT5 and RankLLaMA on datasets like MS MARCO Passage ranking dataset using TILDEv2 indexing techniques, we achieve a balance between performance and efficiency. Additionally, we introduce Document Repacking methods after reranking to optimize subsequent processes like LLM response generation by arranging documents based on relevancy scores from the reranking phase. This helps in reducing the time and resources required for generating responses. Overall, our study provides insights into optimal practices for deploying RAG techniques that strike a balance between performance enhancement and efficiency improvement across various stages of the workflow.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 205 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Deng Cai (2 papers)

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Another approach to the problem Cites this paper
    Enhancing Retrieval-Augmented Generation: A Study of Best Practices
    Siran Li, Linus Stenzel, Carsten Eickhoff et al. · 2025 · Computation and Language · cited 65 times · AI summary available

    Enhancing Retrieval-Augmented Generation develops designs using query expansion, novel retrieval strategies, and contrastive in-context learning, while this paper compares RAG workflow practices for performance and efficiency.

    Abstract

    Retrieval-Augmented Generation (RAG) systems have recently shown remarkable advancements by integrating retrieval mechanisms into language models, enhancing their ability to produce more accurate and contextually relevant responses. However, the influence of various components and configurations within RAG systems remains underexplored. A comprehensive understanding of these elements is essential for tailoring RAG systems to complex retrieval tasks and ensuring optimal performance across diverse applications. In this paper, we develop several advanced RAG system designs that incorporate query expansion, various novel retrieval strategies, and a novel Contrastive In-Context Learning RAG. Our …

  2. Very close Review
    Retrieval-Augmented Generation: A Comprehensive Survey of Foundations, Evolution, Applications, Limitations, and Future Directions
    Jun-Zhe Feng, M. Ariannejad, Intan Izafina Idrus et al. · 2025 · International Conference on Recent Advances and Innovations in Engineering · cited 2 times · Not summarized yet

    The survey reviews RAG foundations, applications, limitations, and future directions, whereas this paper experimentally compares workflow choices and multimodal retrieval.

    Abstract

    Retrieval-augmented generation (RAG) is one of the best methods for performing language tasks these days. RAG uses large language models with external tools for better accuracy, correctness, and contextual understanding. The review discusses key concepts in RAG, how RAG differs from previous systems that retrieved or generated content, how RAG is utilized in question answering, knowledge management, and content generation, and it discusses some limitations, including quality of retrieval, requirement for high-performance computers, complicated integration, as well as data privacy problems, and presents new approaches to address these limitations. The review examines over a quarter-century of…

  3. Very close Review Cited by this paper Used in depth by this paper A method it uses
    Retrieval-Augmented Generation for Large Language Models: A Survey
    Yunfan Gao, Yun Xiong, Xinyu Gao et al. · 2023 · Computation and Language · preprint, not peer reviewed · cited 4,421 times · AI summary available

    The survey synthesizes RAG for large language models, including its role in reducing hallucinations and updating knowledge, while this paper evaluates implementation practices.

    Abstract

    Large language models (LLMs) demonstrate powerful capabilities, but they still face challenges in practical applications, such as hallucinations, slow knowledge updates, and lack of transparency in answers. Retrieval-Augmented Generation (RAG) refers to the retrieval of relevant information from external knowledge bases before answering questions with LLMs. RAG has been demonstrated to significantly enhance answer accuracy, reduce model hallucination, particularly for knowledge-intensive tasks. By citing sources, users can verify the accuracy of answers and increase trust in model outputs. It also facilitates knowledge updates and the introduction of domain-specific knowledge. RAG effectivel…

  4. Very close Review Cites this paper
    A Systematic Review of Key Retrieval-Augmented Generation (RAG) Systems: Progress, Gaps, and Future Directions
    Agada Joseph Oche, Ademola Glory Folashade, Tirthankar Ghosal et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 86 times · Not summarized yet

    The systematic review traces RAG systems from open-domain question answering to newer applications, while this paper tests workflow combinations for effective deployment.

    Abstract

    Retrieval-Augmented Generation (RAG) represents a major advancement in natural language processing (NLP), combining large language models (LLMs) with information retrieval systems to enhance factual grounding, accuracy, and contextual relevance. This paper presents a comprehensive systematic review of RAG, tracing its evolution from early developments in open domain question answering to recent state-of-the-art implementations across diverse applications. The review begins by outlining the motivations behind RAG, particularly its ability to mitigate hallucinations and outdated knowledge in parametric models. Core technical components-retrieval mechanisms, sequence-to-sequence generation mode…

  5. Very close Another approach to the problem
    Enhancing Retrieval Processes for Language Generation with Augmented Queries
    Julien Pierre Edmond Ghali, Kosuke Shima, Koichi Moriyama et al. · 2024 · International Conference on Knowledge-Based Intelligent Information & Engineering Systems · cited 5 times · Not summarized yet

    Enhancing Retrieval Processes explores query optimization with language models for RAG, while this paper evaluates a broader range of workflow strategies.

    Abstract

    In the rapidly changing world of smart technology, searching for documents has become more challenging due to the rise of advanced language models. These models sometimes face difficulties, like providing inaccurate information, commonly known as"hallucination."This research focuses on addressing this issue through Retrieval-Augmented Generation (RAG), a technique that guides models to give accurate responses based on real facts. To overcome scalability issues, the study explores connecting user queries with sophisticated language models such as BERT and Orca2, using an innovative query optimization process. The study unfolds in three scenarios: first, without RAG, second, without additional…

  6. Very close Another approach to the problem
    Reasoning Query Optimize for Retrieval Augmented Generation
    Yifan Zhang, Haozhun Jiang, Shuyuan Zhu et al. · 2025 · IEEE International Conference on Network Infrastructure and Digital Content · Not summarized yet

    Reasoning Query Optimize addresses query ambiguity and context in RAG retrieval, while this paper compares practices across multiple RAG processing steps.

    Abstract

    In recent years, large language models (LLMs) have demonstrated remarkable progress in natural language understanding and generation. However, they continue to face significant challenges, particularly in handling time-sensitive queries and mitigating hallucination issues. The Retrieval-Augmented Generation (RAG) framework has emerged as a promising solution to these challenges by integrating external knowledge retrieval into the generation process. Nevertheless, existing RAG approaches exhibit a critical limitation: they over-rely on the original user query during retrieval, often failing to account for query ambiguity, complexity, and contextual nuances. This suboptimal alignment between r…

  7. Very close Another approach to the problem
    Corrective Retrieval Augmented Generation
    Shi-Qi Yan, Jia-Chen Gu, Yun Zhu et al. · 2024 · Computation and Language · preprint, not peer reviewed · cited 345 times · AI summary available

    Corrective Retrieval Augmented Generation evaluates retrieved-document quality and adapts retrieval to improve robustness, while this paper studies combinations of RAG practices.

    Abstract

    Large language models (LLMs) inevitably exhibit hallucinations since the accuracy of generated texts cannot be secured solely by the parametric knowledge they encapsulate. Although retrieval-augmented generation (RAG) is a practicable complement to LLMs, it relies heavily on the relevance of retrieved documents, raising concerns about how the model behaves if retrieval goes wrong. To this end, we propose the Corrective Retrieval Augmented Generation (CRAG) to improve the robustness of generation. Specifically, a lightweight retrieval evaluator is designed to assess the overall quality of retrieved documents for a query, returning a confidence degree based on which different knowledge retriev…

  8. Very close Another approach to the problem
    The Power of Noise: Redefining Retrieval for RAG Systems
    Florin Cuconasu, Giovanni Trappolini, Federico Siciliano et al. · 2024 · Information Retrieval · cited 543 times · AI summary available

    The Power of Noise analyzes how information-retrieval components affect RAG, while this paper experimentally compares workflow choices for performance and efficiency.

    Abstract

    Retrieval-Augmented Generation (RAG) systems represent a significant advancement over traditional Large Language Models (LLMs). RAG systems enhance their generation ability by incorporating external data retrieved through an Information Retrieval (IR) phase, overcoming the limitations of standard LLMs, which are restricted to their pre-trained knowledge and limited context window. Most research in this area has predominantly concentrated on the generative aspect of LLMs within RAG systems. Our study fills this gap by thoroughly and critically analyzing the influence of IR components on RAG systems. This paper analyzes which characteristics a retriever should possess for an effective RAG's pr…

Prior work it builds on

  1. Very close Shared data, tool or method A method it uses
    RAGAS: Automated Evaluation of Retrieval Augmented Generation
    Shahul Es, Jithin James, Luis Espinosa-Anke et al. · 2023 · Computation and Language · cited 1,296 times · AI summary available

    RAGAS provides reference-free evaluation for retrieval and generation quality in RAG pipelines, while this paper compares RAG practices through experiments.

    Abstract

    We introduce RAGAs (Retrieval Augmented Generation Assessment), a framework for reference-free evaluation of Retrieval Augmented Generation (RAG) pipelines. RAG systems are composed of a retrieval and an LLM based generation module, and provide LLMs with knowledge from a reference textual database, which enables them to act as a natural language layer between a user and textual databases, reducing the risk of hallucinations. Evaluating RAG architectures is, however, challenging because there are several dimensions to consider: the ability of the retrieval system to identify relevant and focused context passages, the ability of the LLM to exploit such passages in a faithful way, or the qualit…

  2. Very close Review
    Retrieval-Augmented Generation for AI-Generated Content: A Survey
    Penghao Zhao, Hailin Zhang, Qinhan Yu et al. · 2024 · Computer Vision and Pattern Recognition · cited 782 times · AI summary available

    The survey examines RAG for AI-generated content and its challenges, while this paper evaluates RAG workflow practices, including multimodal retrieval.

    Abstract

    Advancements in model algorithms, the growth of foundational models, and access to high-quality datasets have propelled the evolution of Artificial Intelligence Generated Content (AIGC). Despite its notable successes, AIGC still faces hurdles such as updating knowledge, handling long-tail data, mitigating data leakage, and managing high training and inference costs. Retrieval-Augmented Generation (RAG) has recently emerged as a paradigm to address such challenges. In particular, RAG introduces the information retrieval process, which enhances the generation process by retrieving relevant objects from available data stores, leading to higher accuracy and better robustness. In this paper, we c…

  3. Very close Another approach to the problem A method it uses
    Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization
    Hamed Zamani, Michael Bendersky · 2024 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 62 times · Not summarized yet

    Stochastic RAG uses differentiable sampling for end-to-end model optimization, whereas this paper compares RAG workflow configurations for performance and efficiency.

    Abstract

    This paper introduces Stochastic RAG--a novel approach for end-to-end optimization of retrieval-augmented generation (RAG) models that relaxes the simplifying assumptions of marginalization and document independence, made in most prior work. Stochastic RAG casts the retrieval process in RAG as a stochastic sampling without replacement process. Through this formulation, we employ straight-through Gumbel-top-k that provides a differentiable approximation for sampling without replacement and enables effective end-to-end optimization for RAG. We conduct extensive experiments on seven diverse datasets on a wide range of tasks, from open-domain question answering to fact verification to slot-filli…

  4. Very close Another approach to the problem
    Blended RAG: Improving RAG (Retriever-Augmented Generation) Accuracy with Semantic Search and Hybrid Query-Based Retrievers
    Kunal Sawarkar, Abhilasha Mangal, S. Solanki · 2024 · Conference on Multimedia Information Processing and Retrieval · cited 212 times · Not summarized yet

    Blended RAG combines semantic search with hybrid query strategies to improve retrieval, while this paper studies broader RAG workflow practices.

    Abstract

    Retrieval-Augmented Generation (RAG) is a prevalent approach to infuse a private knowledge base of documents with Large Language Models (LLM) to build Generative Q&A (Question-Answering) systems. However, RAG accuracy becomes increasingly challenging as the corpus of documents scales up, with Retrievers playing an outsized role in the overall RAG accuracy by extracting the most relevant document from the corpus to provide context to the LLM. In this paper, we propose the ‘Blended RAG’ method of leveraging semantic search techniques, such as Dense Vector indexes and Sparse Encoder indexes, blended with hybrid query strategies. Our study achieves better retrieval results and sets new benchmark…

  5. Very close Review A method it uses
    Recent Advances in Retrieval-Augmented Text Generation
    Deng Cai, Yan Wang, Le-Mao Liu et al. · 2022 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 117 times · Not summarized yet

    The tutorial surveys retrieval-augmented text generation across tasks such as dialogue and translation, while this paper investigates RAG workflow configurations.

    Abstract

    Recently retrieval-augmented text generation has achieved state-of-the-art performance in many NLP tasks and has attracted increasing attention of the NLP and IR community, this tutorial thereby aims to present recent advances in retrieval-augmented text generation comprehensively and comparatively. It firstly highlights the generic paradigm of retrieval-augmented text generation, then reviews notable works for different text generation tasks including dialogue generation, machine translation, and other generation tasks, and finally points out some limitations and shortcomings to facilitate future research.

Papers that cite it

  1. Very close Review Uses this paper in depth
    A Survey of Retrieval-Augmented Generation (RAG) for Large Language Models
    Yu-Song Ma, Hong-Xuan Nie, Chao Chen et al. · 2025 · 2025 International Conference on Trustworthy Big Data and Artificial Intelligence (ICTBAI) · cited 14 times · Not summarized yet

    The survey organizes RAG development into Naive, Advanced, and Modular stages, while this paper tests practices for effective and efficient deployment.

    Abstract

    While Large Language Models (LLMs) are revolutionary, their deployment is constrained by inherent limitations such as factual hallucination and static knowledge. This survey systematically reviews Retrieval-Augmented Generation (RAG), a key paradigm for addressing these challenges by grounding LLMs in external, verifiable knowledge. To overcome the flaws of standalone models, RAG integrates LLMs with updatable knowledge bases, a hybrid approach that significantly enhances output accuracy and trustworthiness. Our primary finding is the technology’s clear evolutionary trajectory, which we structure into three stages: Naive, Advanced, and Modular RAG. This progression demonstrates a shift away …

  2. Very close Another approach to the problem Uses this paper in depth
    Context Awareness Gate for Retrieval Augmented Generation
    Mohammad Hassan Heydari, Arshia Hemmat, Erfan Naman et al. · 2024 · Conference on Information and Knowledge Technology · cited 10 times · Not summarized yet

    Context Awareness Gate studies how irrelevant retrieval affects open-domain question answering, while this paper compares RAG workflow practices and multimodal retrieval.

    Abstract

    Retrieval-Augmented Generation (RAG) has emerged as a widely adopted approach to mitigate the limitations of large language models (LLMs) in answering domain-specific questions. Previous research has predominantly focused on improving the accuracy and quality of retrieved data chunks to enhance the overall performance of the generation pipeline. However, despite ongoing advancements, the critical issue of retrieving irrelevant information-which can impair a model's ability to utilize its internal knowledge effectively-has received minimal attention. In this work, we investigate the impact of retrieving irrelevant information in open-domain question answering, highlighting its significant det…

  3. Very close Review Uses this paper in depth
    A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Models
    Qing-Gang Zhang, Shengyuan Chen, Yuan-Chen Bei et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 169 times · Not summarized yet

    The survey reviews graph-based RAG for customized language models, while this paper evaluates general RAG practices and multimodal retrieval.

    Abstract

    Large language models (LLMs) have demonstrated remarkable capabilities in a wide range of tasks, yet their application to specialized domains remains challenging due to the need for deep expertise. Retrieval-Augmented generation (RAG) has emerged as a promising solution to customize LLMs for professional fields by seamlessly integrating external knowledge bases, enabling real-time access to domain-specific expertise during inference. Despite its potential, traditional RAG systems, based on flat text retrieval, face three critical challenges: (i) complex query understanding in professional contexts, (ii) difficulties in knowledge integration across distributed sources, and (iii) system effici…

  4. Very close Another approach to the problem Uses this paper in depth
    Document GraphRAG: Knowledge Graph Enhanced Retrieval Augmented Generation for Document Question Answering Within the Manufacturing Domain
    Simon Knollmeyer, Oğuz Caymazer, Daniel Grossmann · 2025 · Electronics · cited 67 times · Not summarized yet

    Document GraphRAG uses document knowledge graphs for manufacturing question answering, while this paper compares RAG workflow strategies across applications.

    Abstract

    Retrieval-Augmented Generation (RAG) systems have shown significant potential for domain-specific Question Answering (QA) tasks, although persistent challenges in retrieval precision and context selection continue to hinder their effectiveness. This study introduces Document Graph RAG (GraphRAG), a novel framework that bolsters retrieval robustness and enhances answer generation by incorporating Knowledge Graphs (KGs) built upon a document’s intrinsic structure into the RAG pipeline. Through the application of the Design Science Research methodology, we systematically design, implement, and evaluate GraphRAG, leveraging graph-based document structuring and a keyword-based semantic linking me…

  5. Very close Same question
    Towards Understanding Retrieval Accuracy and Prompt Quality in RAG Systems
    Shengming Zhao, Yuheng Huang, Jiayang Song et al. · 2024 · Software Engineering · cited 13 times · AI summary available

    Towards Understanding Retrieval Accuracy and Prompt Quality examines how RAG design choices affect performance, as this paper does through workflow experiments.

    Abstract

    Retrieval-Augmented Generation (RAG) is a pivotal technique for enhancing the capability of large language models (LLMs) and has demonstrated promising efficacy across a diverse spectrum of tasks. While LLM-driven RAG systems show superior performance, they face unique challenges in stability and reliability. Their complexity hinders developers' efforts to design, maintain, and optimize effective RAG systems. Therefore, it is crucial to understand how RAG's performance is impacted by its design. In this work, we conduct an early exploratory study toward a better understanding of the mechanism of RAG systems, covering three code datasets, three QA datasets, and two LLMs. We focus on four desi…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 2 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.