AI summary · arXiv: 2312.10997v1 · cs.CL

Retrieval-Augmented Generation for Large Language Models: A Survey

Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun,

and 1 more authorHaofen Wang

Original paper · DOI Submitted to arXiv on 18 Dec. 2023 License: NONEXCLUSIVE-DISTRIB 1.0

The essentials

  • Large language models (LLMs) face challenges in practical applications such as hallucinations, slow knowledge updates, and lack of transparency in answers.
  • Retrieval-Augmented Generation (RAG) has emerged as a promising approach to address these issues.
  • RAG involves retrieving relevant information from external knowledge bases before generating answers with LLMs.
  • RAG significantly improves answer accuracy and reduces model hallucination, especially for knowledge-intensive tasks.
  • Citing sources allows users to verify the accuracy of answers and build trust in the model's outputs.
  • RAG facilitates knowledge updates and enables the incorporation of domain-specific knowledge.
  • It effectively combines the parameterized knowledge of LLMs with non-parameterized external knowledge bases.
  • Three paradigms of RAG are discussed: Naive RAG, Advanced RAG, and Modular RAG.
  • The three main components of RAG are retriever, generator, and augmentation methods.
  • Key technologies within each component are explored.
  • Two evaluation methods are emphasized for assessing effectiveness: key metrics and abilities for evaluation.
  • An automatic evaluation framework is introduced to aid in accurately assessing RAG models.
  • Potential future research directions include vertical optimization, horizontal scalability, and technical stack & ecosystem enhancement for RAG.

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

AI-generated keywords: Retrieval-Augmented Generation Large Language Models Hallucinations Knowledge Updates Evaluation Methods

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
Large language models (LLMs) have shown impressive capabilities but still face challenges in practical applications such as hallucinations, slow knowledge updates and lack of transparency in answers. To address these issues, Retrieval-Augmented Generation (RAG) has emerged as a promising approach. RAG involves retrieving relevant information from external knowledge bases before generating answers with LLMs. It has been proven to significantly improve answer accuracy and reduce model hallucination, particularly for knowledge-intensive tasks. By citing sources, users can verify the accuracy of answers and build trust in the outputs of the model. Additionally, RAG facilitates knowledge updates and enables the incorporation of domain-specific knowledge. It effectively combines the parameterized knowledge of LLMs with non-parameterized external knowledge bases making it one of the most important methods for implementing large language models. This paper provides an overview of the development paradigms of RAG in the era of LLMs. It summarizes three paradigms: Naive RAG, Advanced RAG and Modular RAG; organizing and summarizing their three main components: retriever, generator and augmentation methods; discussing key technologies within each component; exploring how to evaluate their effectiveness with two evaluation methods emphasizing key metrics and abilities for evaluation; introducing an automatic evaluation framework to aid in assessing RAG models accurately; and outlining potential future research directions from three perspectives: vertical optimization, horizontal scalability and technical stack & ecosystem enhancement for RAG. Overall this survey paper provides a comprehensive understanding of Retrieval-Augmented Generation (RAG) for Large Language Models (LLMs). It highlights its significance in addressing challenges faced by LLMs in practical applications while providing insights into its development paradigms, components organization, evaluation methods and future research directions.

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.

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

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 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. 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
Citation alerts
Journal club Premium+ Slides to present it
For journalists Premium+ Press kit and hype check

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

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

⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

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.