Retrieval-Augmented Generation for Natural Language Processing: A Survey

Shangyu Wu, Ying Xiong, Yufei Cui, Haolun Wu, Can Chen +6 more
7/18/2024
cs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Large language models (LLMs) have demonstrated great success in various fields, benefiting from their huge amount of parameters that store knowledge. However, LLMs still suffer from several key issues, such as hallucination problems, knowledge update issues, and lacking domain-specific expertise. The appearance of retrieval-augmented generation (RAG), which leverages an external knowledge database to augment LLMs, makes up those drawbacks of LLMs. This paper reviews all significant techniques of RAG, especially in the retriever and the retrieval fusions. Besides, tutorial codes are provided for implementing the representative techniques in RAG. This paper further discusses the RAG update, including RAG with/without knowledge update. Then, we introduce RAG evaluation and benchmarking, as well as the application of RAG in representative NLP tasks and industrial scenarios. Finally, this paper discusses RAG's future directions and challenges for promoting this field's development.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2024retrievalaugmented,
  title  = {Retrieval-Augmented Generation for Natural Language Processing: A Survey},
  author = {Shangyu Wu and Ying Xiong and Yufei Cui and Haolun Wu and Can Chen and Ye Yuan and Lianming Huang and Xue Liu and Tei-Wei Kuo and Nan Guan and Chun Jason Xue},
  year   = {2024},
  eprint = {2407.13193},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13193v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.13193.svg)](https://codeofpaper.com/paper/2407.13193)

Discussion