arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.14342cs.IRcs.CL
收藏

检索链增强生成

Chain-of-Retrieval Augmented Generation

Microsoft Research(微软研究院);Renmin University of China(中国人民大学)

Liang Wang, Haonan Chen, Nan Yang, Xiaolong Huang, Zhicheng Dou, Furu Wei

AI总结:

本文提出CoRAG方法,通过动态检索链和拒绝采样训练,在多跳问答等任务上显著提升性能,并建立KILT基准新纪录。

摘要:

本文介绍了一种训练类o1的RAG模型的方法,该模型在生成最终答案之前逐步检索并推理相关信息。传统RAG方法通常在生成过程之前执行单次检索步骤,由于检索结果不完善,这限制了其在处理复杂查询时的有效性。相比之下,我们提出的方法CoRAG(检索链增强生成)允许模型根据不断变化的状态动态重新表述查询。为了有效训练CoRAG,我们利用拒绝采样自动生成中间检索链,从而增强仅提供正确最终答案的现有RAG数据集。在测试时,我们提出了多种解码策略,通过控制采样检索链的长度和数量来扩展模型的测试时计算量。跨多个基准的实验结果验证了CoRAG的有效性,特别是在多跳问答任务中,与强基线相比,我们在EM分数上观察到了超过10个百分点的提升。在KILT基准上,CoRAG在多种知识密集型任务中建立了新的最先进性能。此外,我们提供了全面的分析以理解CoRAG的扩展行为,为未来旨在开发事实性和基于基础的基座模型的研究奠定了基础。

英文摘要:

This paper introduces an approach for training o1-like RAG models that retrieve and reason over relevant information step by step before generating the final answer. Conventional RAG methods usually perform a single retrieval step before the generation process, which limits their effectiveness in addressing complex queries due to imperfect retrieval results. In contrast, our proposed method, CoRAG (Chain-of-Retrieval Augmented Generation), allows the model to dynamically reformulate the query based on the evolving state. To train CoRAG effectively, we utilize rejection sampling to automatically generate intermediate retrieval chains, thereby augmenting existing RAG datasets that only provide the correct final answer. At test time, we propose various decoding strategies to scale the model's test-time compute by controlling the length and number of sampled retrieval chains. Experimental results across multiple benchmarks validate the efficacy of CoRAG, particularly in multi-hop question answering tasks, where we observe more than 10 points improvement in EM score compared to strong baselines. On the KILT benchmark, CoRAG establishes a new state-of-the-art performance across a diverse range of knowledge-intensive tasks. Furthermore, we offer comprehensive analyses to understand the scaling behavior of CoRAG, laying the groundwork for future research aimed at developing factual and grounded foundation models.

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

↑