让模型分步检索并推理,显著提升复杂问答准确率
Chain-of-Retrieval Augmented Generation
- 分步检索+动态重写查询,逐步逼近正确答案
- 多跳问答任务上准确率提升超10点,刷新KILT基准
- 支持测试时扩展计算量,适合需要高精度的场景
本文提出CoRAG(Chain-of-Retrieval Augmented Generation)方法,训练类似o1的RAG模型,通过分步检索与推理生成最终答案。传统RAG仅进行一次检索,难以应对复杂查询。CoRAG允许模型根据进展动态重写查询,提升准确性。为有效训练,采用拒绝采样自动生成中间检索链,扩充仅含最终答案的RAG数据集。测试时,通过控制采样链长度与数量,灵活调节模型推理计算量。在多个基准测试中验证了其有效性,尤其在多跳问答任务中,相比强基线模型,精确率(EM)提升超过10点。在KILT基准上,覆盖多种知识密集型任务,实现新的最佳性能。此外,提供了对CoRAG缩放行为的全面分析,为构建事实准确、基于证据的通用基础模型奠定基础。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。