[Paper Review] Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questions
This paper proposes IRCoT, a method that interleaves chain-of-thought (CoT) reasoning with retrieval in knowledge-intensive multi-step question answering. By alternating between generating reasoning steps and retrieving evidence guided by those steps, IRCoT improves retrieval relevance and reasoning accuracy, achieving up to 21-point gains in retrieval recall and up to 15-point improvements in downstream QA performance on four datasets using GPT-3, with strong gains even on smaller models like Flan-T5-large and in out-of-distribution settings.
Prompting-based large language models (LLMs) are surprisingly powerful at generating natural language reasoning steps or Chains-of-Thoughts (CoT) for multi-step question answering (QA). They struggle, however, when the necessary knowledge is either unavailable to the LLM or not up-to-date within its parameters. While using the question to retrieve relevant text from an external knowledge source helps LLMs, we observe that this one-step retrieve-and-read approach is insufficient for multi-step QA. Here, extit{what to retrieve} depends on extit{what has already been derived}, which in turn may depend on extit{what was previously retrieved}. To address this, we propose IRCoT, a new approach for multi-step QA that interleaves retrieval with steps (sentences) in a CoT, guiding the retrieval with CoT and in turn using retrieved results to improve CoT. Using IRCoT with GPT3 substantially improves retrieval (up to 21 points) as well as downstream QA (up to 15 points) on four datasets: HotpotQA, 2WikiMultihopQA, MuSiQue, and IIRC. We observe similar substantial gains in out-of-distribution (OOD) settings as well as with much smaller models such as Flan-T5-large without additional training. IRCoT reduces model hallucination, resulting in factually more accurate CoT reasoning. Code, data, and prompts are available at \url{https://github.com/stonybrooknlp/ircot}
Motivation & Objective
- Address the limitations of one-step retrieval in multi-step, knowledge-intensive question answering, where initial retrieval based solely on the question often fails to yield relevant evidence.
- Overcome the mutual dependency between reasoning and retrieval: reasoning requires facts, and facts require reasoning to identify the right retrieval queries.
- Develop a method that dynamically guides retrieval using intermediate reasoning steps and enhances reasoning with newly retrieved evidence, improving factual accuracy and reducing hallucination.
- Demonstrate effectiveness across diverse, open-domain multi-hop QA datasets without requiring fine-tuning or additional training.
- Show robust performance gains in out-of-distribution settings and with smaller language models, such as Flan-T5, compared to standard retrieval methods.
Proposed method
- Initiate retrieval using the original question as a query to obtain an initial set of relevant paragraphs.
- Alternate between two steps: (1) generate the next reasoning step (CoT sentence) using the question, prior CoT steps, and already retrieved evidence; (2) use the latest CoT sentence as a query to retrieve additional relevant paragraphs.
- Repeat the interleaved process until a final answer is generated or a maximum number of steps is reached.
- Use the final set of retrieved paragraphs as context for a downstream QA model, either via direct prompting or CoT prompting.
- Leverage the bidirectional dependency between reasoning and retrieval to improve both the relevance of retrieved evidence and the factual correctness of reasoning chains.
- Apply the method end-to-end in a zero-shot, few-shot prompting setting without model fine-tuning, enabling broad applicability across LLMs.
Experimental results
Research questions
- RQ1Can interleaving retrieval with chain-of-thought reasoning improve retrieval relevance in multi-step, knowledge-intensive question answering?
- RQ2Does using intermediate reasoning steps to guide retrieval lead to better downstream QA performance compared to question-only retrieval?
- RQ3To what extent does IRCoT reduce model hallucination and improve factual consistency in generated reasoning?
- RQ4How effective is IRCoT in out-of-distribution settings where training and test data distributions differ?
- RQ5Can IRCoT achieve strong performance with smaller, parameter-efficient models like Flan-T5 without fine-tuning?
Key findings
- IRCoT improves retrieval recall by up to 21 points under a fixed-budget optimal recall setup compared to one-step, question-based retrieval using GPT-3.
- When combined with a prompting-based reader, IRCoT boosts downstream few-shot QA performance by up to 15 F1 points on HotpotQA, 2WikiMultihopQA, MuSiQue, and IIRC.
- IRCoT reduces factual hallucinations in generated CoT reasoning by up to 50%, leading to more accurate and reliable reasoning chains.
- The method achieves superior performance even with smaller models: Flan-T5-XL (3B parameters) with IRCoT outperforms GPT-3 (58x larger) using one-step retrieval.
- IRCoT maintains strong performance in out-of-distribution settings, where few-shot demonstrations from one dataset are used to evaluate on another, showing robust generalization.
- The approach is effective across diverse, open-domain multi-hop QA benchmarks, with consistent improvements across all four evaluated datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.