|国家预印本平台
首页|Retrieval-Augmented Generation for Natural Language Processing: A Survey

Retrieval-Augmented Generation for Natural Language Processing: A Survey

Retrieval-Augmented Generation for Natural Language Processing: A Survey

来源:Arxiv_logoArxiv
英文摘要

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.

Tei-Wei Kuo、Xue Liu、Lianming Huang、Yufei Cui、Ying Xiong、Haolun Wu、Can Chen、Ye Yuan、Chun Jason Xue、Nan Guan、Shangyu Wu

计算技术、计算机技术

Tei-Wei Kuo,Xue Liu,Lianming Huang,Yufei Cui,Ying Xiong,Haolun Wu,Can Chen,Ye Yuan,Chun Jason Xue,Nan Guan,Shangyu Wu.Retrieval-Augmented Generation for Natural Language Processing: A Survey[EB/OL].(2024-07-18)[2025-05-01].https://arxiv.org/abs/2407.13193.点此复制

评论