arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13193cs.CL
收藏

检索增强生成在自然语言处理中的应用:综述

Retrieval-Augmented Generation for Natural Language Processing: A Survey

City University of Hong Kong(香港城市大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);McGill University, Mila(麦吉尔大学,MILA);National Taiwan University(国立台湾大学)

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

AI总结:

本文综述了检索增强生成(RAG)在自然语言处理中的应用,重点探讨了检索器和检索融合技术,提出了新的融合分类,并分析了RAG在不同NLP任务中的应用、评估方法、训练范式以及工业部署中的挑战和未来方向。

摘要:

大型语言模型(LLMs)在各个领域取得了强大的实证性能,受益于其庞大的参数量,这些参数存储了知识。然而,LLMs仍然面临几个关键问题,如幻觉问题、知识更新问题以及缺乏领域专业知识。检索增强生成(RAG)的出现,通过利用外部知识库来增强LLMs,缓解了这些限制。本文系统地回顾了RAG技术在自然语言处理(NLP)中的应用,重点在于检索器和检索融合。我们介绍了检索融合的新分类,如基于查询的、基于logits的、潜在的和参数化的融合,并提供了在可访问性、效率和用例方面的结构化比较。本文进一步探讨了RAG在各种NLP任务中的应用,讨论了评估方法和基准限制,并分析了带有和无知识库更新的训练范式。最后,我们探讨了工业部署的考虑因素,并确定了新兴挑战和未来方向,包括安全、效率和基于图的检索。

英文摘要:

Large language models (LLMs) have achieved strong empirical performance 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 base to augment LLMs, mitigates these limitations. This paper presents a systematic review of RAG techniques for natural language processing (NLP), with a focus on retrievers and retrieval fusions. We introduce a novel taxonomy of retrieval fusions, such as query-based, logits-based, latent, and parametric fusion, and provide structured comparisons across accessibility, efficiency, and use cases. The paper further examines RAG applications across diverse NLP tasks, discusses evaluation methodologies and benchmark limitations, and analyzes training paradigms with and without knowledge base updates. Finally, we explore industrial deployment considerations and identify emerging challenges and future directions, including security, efficiency, and graph-based retrieval.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑