Retrieval-Augmented Generation for Natural Language Processing: A Survey
Authors:
- Shangyu WuSWShangyu Wu
- Ying XiongYXYing Xiong
- Yufei CuiYCYufei Cui
- Haolun WuHWHaolun Wu
- Can ChenCCCan Chen
- Ye YuanYYYe Yuan
- Lianming HuangLHLianming Huang
- Xue LiuXLXue Liu
- Tei-Wei KuoTKTei-Wei Kuo
- Nan GuanNGNan Guan
- Chun Jason XueCXChun Jason Xue
Preprint
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 training, including RAG with/without datastore update. Then, we introduce the application of RAG in representative natural language processing tasks and industrial scenarios. Finally, this paper discusses the future directions and challenges of RAG for promoting its development.Keywords
All Related Versions
This publication has 21 references indexed in Scilit:
- Retrieval-Augmented Generation for AI-Generated Content: A SurveyData Science and Engineering, 2026
- Large multimodal agents: a surveyVisual Intelligence, 2025
- The Faiss LibraryIEEE Transactions on Big Data, 2025
- Evaluation of Retrieval-Augmented Generation: A Survey2025
- Toward expert-level medical question answering with large language modelsNature Medicine, 2025
- A survey on large language model based autonomous agentsFrontiers of Computer Science, 2024
- Large language models encode clinical knowledgeNature, 2023
- Billion-Scale Similarity Search with GPUsIEEE Transactions on Big Data, 2019
- Fast nearest neighbor searching based on improved VP-treePattern Recognition Letters, 2015
- Product Quantization for Nearest Neighbor SearchIEEE Transactions on Pattern Analysis and Machine Intelligence, 2010