Skip to main content
QUICK REVIEW

[论文解读] A Survey on Retrieval-Augmented Text Generation for Large Language Models

Yizheng Huang, Jimmy Xiangji Huang|arXiv (Cornell University)|Apr 17, 2024
Topic ModelingComputer Science被引用 19
一句话总结

本综述将面向大语言模型的检索增强生成(RAG)分为四个阶段——检前、检索、检后和生成——回顾在文本数据应用中的核心技术、演进、评估和未来方向。

ABSTRACT

Retrieval-Augmented Generation (RAG) merges retrieval methods with deep learning advancements to address the static limitations of large language models (LLMs) by enabling the dynamic integration of up-to-date external information. This methodology, focusing primarily on the text domain, provides a cost-effective solution to the generation of plausible but possibly incorrect responses by LLMs, thereby enhancing the accuracy and reliability of their outputs through the use of real-world data. As RAG grows in complexity and incorporates multiple concepts that can influence its performance, this paper organizes the RAG paradigm into four categories: pre-retrieval, retrieval, post-retrieval, and generation, offering a detailed perspective from the retrieval viewpoint. It outlines RAG's evolution and discusses the field's progression through the analysis of significant studies. Additionally, the paper introduces evaluation methods for RAG, addressing the challenges faced and proposing future research directions. By offering an organized framework and categorization, the study aims to consolidate existing research on RAG, clarify its technological underpinnings, and highlight its potential to broaden the adaptability and applications of LLMs.

研究动机与目标

  • 提供一个结构化框架,以理解 RAG及其四阶段工作流(检前、检索、检后、生成)。
  • 澄清术语并跨关键研究对方法进行分类,以减少领域内的混淆。
  • 分析核心技术及其在检索和生成中的优劣,以提升 LLM 的可靠性和时效性。
  • 总结评估方法,强调文本基础的 RAG 的挑战和未来研究方向。

提出的方法

  • 提出一个统一的 RAG 框架,具有四阶段工作流(检前、检索、检后、生成)。
  • 调研跨 RAG 研究使用的索引、检索、再排序、过滤和生成技术。
  • 讨论检前组件,如索引和查询操作,包括使用语义索引(例如 kNN-LMs、FAISS)和查询改写。
  • 描述检索方法,包括搜索与排序、多跳与单跳,以及再排序策略。
  • 概述检索后步骤,如再排序和过滤,以改进生成的文档选择。
  • 总结增强、定制化并将检索内容整合到输出中的生成策略。

实验结果

研究问题

  • RQ1在大语言模型的检索增强生成(RAG)中,主要阶段和核心技术是什么?
  • RQ2在关键的 RAG 研究中,索引、检索、检后处理和生成方法是如何演变的?
  • RQ3用于评估 RAG 系统的方法有哪些,以及仍存在哪些挑战?
  • RQ4对于 RAG 研究,提出了哪些未来方向和多模态扩展?

主要发现

  • RAG 框架被分为四个阶段:检前、检索、检后和生成,包含单跳和多跳检索工作流。
  • 索引中的核心技术包括语义向量表示和基于 FAISS 的工具,使从大型语料库中实现高效检索。
  • 检索使用搜索和排序,具备多样的骨干模型,包括 BM25、DPR,以及基于跨注意力的模型,并辅以再排序和过滤。
  • 生成将检索到的证据与查询相结合,使用增强和定制化步骤以提高相关性、真实度和与用户的对齐。
  • 识别出广泛的评估方法和未来研究方向,包括在更新信息获取和任务特定定制方面的挑战。
  • 大量研究(如 REALM、kNN-LMs、RAG、FiD、WebGPT、RETRO)被编目,列出它们的检索器/生成器配对及能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。