ReasonIR: Training Retrievers for Reasoning Tasks
本文提出了REASONIR-8B,一个专门为推理任务训练的检索器,通过合成数据生成和改进的检索策略,显著提高了推理密集型信息检索和RAG任务的表现。
更新于 2025-04-30。作者:Rulin Shao、Rui Qiao、Varsha Kishore、Niklas Muennighoff、Xi Victoria Lin、Daniela Rus、Bryan Kian Hsiang Low、Sewon Min、Wen-tau Yih、Pang Wei Koh、Luke Zettlemoyer。
中文摘要
我们推出了ReasonIR-8B,这是第一个专门针对通用推理任务进行训练的检索器。现有的检索器在推理任务上取得的进展有限,部分原因在于现有的训练数据集主要关注与文档直接相关的简短事实查询。我们开发了一个合成数据生成管道,该管道为每个文档创建一个具有挑战性和相关性的查询,以及一个看似相关但实际上无用的硬负例。通过在合成数据和现有公共数据混合上进行训练,ReasonIR-8B在BRIGHT这个广泛使用的推理密集型信息检索(IR)基准上实现了新的最先进水平,达到了29.9 nDCG@10(不带重排器)和36.9 nDCG@10(带重排器)。当应用于RAG任务时,ReasonIR-8B相对于闭卷基线,将MMLU和GPQA的性能分别提高了6.4%和22.6%,优于其他检索器和搜索引擎。此外,ReasonIR-8B更有效地使用了测试时的计算资源:在BRIGHT上,其性能随着更长的、信息更丰富的重写查询而持续提高;当与一个LLM重排器结合使用时,它继续优于其他检索器。我们的训练方案是通用的,可以轻松扩展到未来的LLM;为此,我们开源了我们的代码、数据和模型。
英文摘要
We present ReasonIR-8B, the first retriever specifically trained for general reasoning tasks. Existing retrievers have shown limited gains on reasoning tasks, in part because existing training datasets focus on short factual queries tied to documents that straightforwardly answer them. We develop a synthetic data generation pipeline that, for each document, our pipeline creates a challenging and relevant query, along with a plausibly related but ultimately unhelpful hard negative. By training on a mixture of our synthetic data and existing public data, ReasonIR-8B achieves a new state-of-the-art of 29.9 nDCG@10 without reranker and 36.9 nDCG@10 with reranker on BRIGHT, a widely-used reasoning-intensive information retrieval (IR) benchmark. When applied to RAG tasks, ReasonIR-8B improves MMLU and GPQA performance by 6.4% and 22.6% respectively, relative to the closed-book baseline, outperforming other retrievers and search engines. In addition, ReasonIR-8B uses test-time compute more effectively: on BRIGHT, its performance consistently increases with longer and more information-rich rewritten queries; it continues to outperform other retrievers when combined with an LLM reranker. Our training recipe is general and can be easily extended to future LLMs; to this end, we open-source our code, data, and model.
解读
一句话总结
本文提出了REASONIR-8B,一个专门为推理任务训练的检索器,通过合成数据生成和改进的检索策略,显著提高了推理密集型信息检索和RAG任务的表现。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现有检索器在推理任务上的表现有限,因为它们通常在关注直接匹配的简短事实查询数据集上训练。
- 现有方案不足:现有数据集和检索器难以处理复杂的推理查询,且缺乏有效的推理密集型检索数据。
- 研究目标:开发一个能够有效处理推理密集型检索任务的检索器,并通过合成数据生成和改进的检索策略实现性能提升。
问题2:论文的核心创新点是什么?
- 技术创新:REASONIR-SYNTHESIZER,一个合成数据生成管道,用于生成具有挑战性和相关性的查询及其相关的硬负样本。
- 方法改进:结合合成数据和现有公共数据训练REASONIR-8B,提高其推理密集型检索能力。
- 优势:REASONIR-8B在BRIGHT和RAG基准测试中实现了新的SOTA性能,同时测试时计算效率更高。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在BRIGHT和MMLU、GPQA基准测试中评估REASONIR-8B的性能。
- 性能提升:REASONIR-8B在BRIGHT上实现了29.9 nDCG@10的新SOTA,在MMLU和GPQA上分别提高了6.4%和22.6%。
- 对比结果:REASONIR-8B优于其他检索器和搜索引擎基线。
问题4:这个研究的实际应用价值是什么?
- 应用场景:知识搜索、问答系统、教育工具等需要推理密集型检索的场景。
- 实施建议:使用REASONIR-8B和其他LLM进行训练和检索,以提高推理密集型任务的性能。
- 局限与展望:进一步研究多语言和多模态扩展,以及与多轮推理模型的结合。