ReasonIR: Training Retrievers for Reasoning Tasks
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
TL;DR
ReasonIR addresses the gap that existing retrievers struggle with reasoning-intensive retrieval by introducing ReasonIR-8B, a bi-encoder retriever trained with ReasonIR-Synthesizer-generated varied-length and hard-query data alongside public datasets. The approach achieves state-of-the-art BRIGHT performance, strengthens open-domain RAG results on MMLU and GPQA, and demonstrates effective test-time scaling through query rewriting and a simple LLM-based reranker. Key contributions include a multi-type synthetic data pipeline (VL and HQ), a multi-turn hard negative generation strategy, and a tie-breaking reranking method (ReasonIR-Rerank) that balances compute with accuracy. The work offers a general, extensible training recipe, supported by open-source code, data, and models, with promising implications for reasoning-aware information retrieval and RAG applications.
Abstract
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.
