Skip to main content
QUICK REVIEW

[Paper Review] A Survey on Retrieval-Augmented Text Generation for Large Language Models

Yizheng Huang, Jimmy Xiangji Huang|arXiv (Cornell University)|Apr 17, 2024
Topic ModelingComputer Science19 citations
TL;DR

This survey organizes Retrieval-Augmented Generation (RAG) for LLMs into four phases—pre-retrieval, retrieval, post-retrieval, and generation—reviewing core techniques, evolution, evaluation, and future directions in text data applications.

ABSTRACT

Retrieval-Augmented Generation (RAG) merges retrieval methods with deep learning advancements to address the static limitations of large language models (LLMs) by enabling the dynamic integration of up-to-date external information. This methodology, focusing primarily on the text domain, provides a cost-effective solution to the generation of plausible but possibly incorrect responses by LLMs, thereby enhancing the accuracy and reliability of their outputs through the use of real-world data. As RAG grows in complexity and incorporates multiple concepts that can influence its performance, this paper organizes the RAG paradigm into four categories: pre-retrieval, retrieval, post-retrieval, and generation, offering a detailed perspective from the retrieval viewpoint. It outlines RAG's evolution and discusses the field's progression through the analysis of significant studies. Additionally, the paper introduces evaluation methods for RAG, addressing the challenges faced and proposing future research directions. By offering an organized framework and categorization, the study aims to consolidate existing research on RAG, clarify its technological underpinnings, and highlight its potential to broaden the adaptability and applications of LLMs.

Motivation & Objective

  • Provide a structured framework to understand RAG and its four-phase workflow (pre-retrieval, retrieval, post-retrieval, generation).
  • Clarify terminology and categorize methods across key studies to reduce confusion in the field.
  • Analyze core technologies and their strengths in retrieval and generation to improve LLM reliability and up-to-dateness.
  • Summarize evaluation approaches and highlight challenges and future research directions in text-based RAG.

Proposed method

  • Present a unified RAG framework with a four-phase workflow (pre-retrieval, retrieval, post-retrieval, generation).
  • Survey indexing, retrieval, re-ranking, filtering, and generation techniques used across RAG studies.
  • Discuss pre-retrieval components such as indexing and query manipulation, including use of semantic indexing (e.g., kNN-LMs, FAISS) and query reformulation.
  • Describe retrieval approaches including search and ranking, multi-hop vs single-hop, and re-ranking strategies.
  • Outline post-retrieval steps like re-ranking and filtering to improve document selection for generation.
  • Summarize generation strategies that enhance, customize, and integrate retrieved content into outputs.

Experimental results

Research questions

  • RQ1What are the main phases and core techniques in Retrieval-Augmented Generation (RAG) for LLMs?
  • RQ2How have indexing, retrieval, post-retrieval processing, and generation methods evolved across key RAG studies?
  • RQ3What evaluation methods are used to assess RAG systems and what challenges remain?
  • RQ4What future directions and multimodal extensions are suggested for RAG research.

Key findings

  • RAG frameworks are organized into four phases: pre-retrieval, retrieval, post-retrieval, and generation, with both single-hop and multi-hop retrieval workflows.
  • Core technologies in indexing include semantic vector representations and FAISS-based tools, enabling efficient retrieval from large corpora.
  • Retrieval employs search and ranking with diverse backbones, including BM25, DPR, and cross-attention-based models, complemented by re-ranking and filtering.
  • Generation combines retrieved evidence with queries, using enhancement and customization steps to improve relevance, faithfulness, and user alignment.
  • A broad set of evaluation approaches and future research directions are identified, including challenges in up-to-date information access and task-specific customization.
  • Numerous studies (e.g., REALM, kNN-LMs, RAG, FiD, WebGPT, RETRO) are catalogued with their retriever/generator pairings and capabilities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.