Skip to main content
QUICK REVIEW

[Paper Review] Chain-of-Retrieval Augmented Generation

Liang Wang, Haonan Chen|ArXiv.org|Jan 24, 2025
Speech and dialogue systemsComputer Science3 citations
TL;DR

CoRAG trains retrieval-augmented generation models to iteratively retrieve and reason over information in a chain, improving multi-hop QA and knowledge-intensive tasks, with test-time strategies to control compute.

ABSTRACT

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.

Motivation & Objective

  • Motivate improving RAG by enabling iterative retrieval and reasoning rather than a single retrieval step.
  • Augment QA datasets with intermediate retrieval chains using rejection sampling.
  • Train LLMs to predict next actions in a retrieval-and-generation chain.
  • Study test-time decoding strategies to scale computation for chain-based retrieval.
  • Evaluate CoRAG on multi-hop QA datasets and the KILT benchmark to assess generalization and scalability.

Proposed method

  • Generate retrieval chains by rejection sampling to augment QA datasets with sequences of sub-queries and sub-answers.
  • Fine-tune an open-source LLM on augmented data with a multi-task objective covering sub-query, sub-answer, and final answer predictions.
  • Use a retriever to obtain top-k documents for each sub-query and evaluate chain quality by the chain’s log-likelihood.
  • Provide test-time decoding strategies including greedy, best-of-N sampling, and tree search to control token consumption.
  • Analyze scaling behavior and robustness across datasets, retrievers, and generalization scenarios.
  • Optionally, learn to stop the chain at test time by predicting whether current information suffices.
(a) Test-time scaling behavior of CoRAG.
(a) Test-time scaling behavior of CoRAG.

Experimental results

Research questions

  • RQ1Can iterative retrieval and reasoning improve performance on complex, multi-hop QA tasks compared to single-step RAG?
  • RQ2How does test-time computation (chain length and number of chains) affect performance and efficiency?
  • RQ3Does chain-of-retrieval generalize across diverse knowledge-intensive tasks beyond QA?
  • RQ4What are the effects of using weaker vs stronger retrievers and models on CoRAG’s effectiveness?
  • RQ5Is it beneficial to learn an early stop mechanism for retrieval chains at inference time?

Key findings

  • CoRAG substantially surpasses strong baselines on multi-hop QA datasets, with notable gains in EM/F1 under several decoding strategies.
  • On the KILT benchmark, CoRAG achieves state-of-the-art performance across diverse tasks, with some exceptions on the largest FEVER task.
  • Longer retrieval chains improve performance when starting from short chains, but gains diminish as chain length grows.
  • Test-time scaling behavior follows a log-linear relationship between token consumption and performance on several datasets.
  • Robustness experiments show benefits of using stronger retrievers and some gains with weaker ones, while generalization remains favorable across task types.
  • An ablation shows iterative training yields mixed results, suggesting instruction-tuned LLMs often generate high-quality retrieval chains.
(b) An example of CoRAG in action.
(b) An example of CoRAG in action.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.