Skip to main content
QUICK REVIEW

[Paper Review] Search-in-the-Chain: Interactively Enhancing Large Language Models with Search for Knowledge-intensive Tasks

Shicheng Xu, Liang Pang|arXiv (Cornell University)|Apr 28, 2023
Data Quality and ManagementDecision Sciences7 citations
TL;DR

This paper proposes Search-in-the-Chain (SearChain), a framework that enhances large language models (LLMs) for knowledge-intensive tasks by integrating interactive retrieval via a dynamic, tree-structured reasoning process. SearChain enables LLMs to generate a global Chain-of-Query (CoQ), where IR verifies and corrects answers or supplies missing knowledge with confidence-based feedback, improving accuracy, credibility, and traceability—outperforming baselines on multi-hop QA, fact-checking, and long-form generation tasks.

ABSTRACT

Making the content generated by Large Language Model (LLM), accurate, credible and traceable is crucial, especially in complex knowledge-intensive tasks that require multi-step reasoning and each step needs knowledge to solve. Retrieval-augmented generation is good potential to solve this problem. However, where and how to introduce Information Retrieval (IR) to LLM is a big challenge. Previous work has the problems that wrong knowledge retrieved by IR misleads the LLM and interaction between IR and LLM breaks the reasoning chain of LLM. This paper proposes a novel framework named extbf{Search-in-the-Chain} (SearChain) for the interaction between LLM and IR to solve the challenges. First, LLM generates the reasoning chain named Chain-of-Query (CoQ) where each node consists of an IR-oriented query-answer pair. Second, IR verifies the answer of each node of CoQ. It corrects the answer that is not consistent with the retrieved information when IR gives high confidence, which improves the credibility. Third, LLM can indicate its missing knowledge in CoQ and rely on IR to provide this knowledge to LLM. These operations improve the accuracy in terms of reasoning and knowledge. Finally, SearChain generates the reasoning process and marks references to supporting documents for each reasoning step, which improves traceability. Interaction with IR in SearChain forms a novel reasoning path based on a tree, which enables LLM to dynamically modify the direction of reasoning. Experiments show that SearChain outperforms state-of-the-art baselines on complex knowledge-intensive tasks including multi-hop Q\&A, slot filling, fact checking, and long-form Q\&A.

Motivation & Objective

  • Address the limitations of existing retrieval-augmented LLMs in maintaining reasoning chain integrity and avoiding hallucination during multi-step knowledge-intensive reasoning.
  • Improve the credibility of LLM-generated content by enabling IR to verify and correct LLM answers when high-confidence evidence contradicts the output.
  • Enhance knowledge acquisition by allowing IR to supply missing information only when explicitly flagged by the LLM, reducing the risk of misleading the model.
  • Increase traceability by marking references to supporting documents for each reasoning step, enabling fine-grained auditability of generated content.
  • Transform the reasoning topology from linear chains to trees, allowing LLMs to dynamically revise reasoning paths based on IR feedback.

Proposed method

  • Propose a Chain-of-Query (CoQ) structure where each node contains an IR-optimized query, an LLM-generated answer, and a flag indicating whether external knowledge is needed.
  • Introduce a multi-round interaction loop between LLM and IR: in each round, IR verifies answers using external knowledge and provides corrections or missing facts when confidence is high.
  • Use IR confidence scores and CoQ flags to determine whether to correct the LLM’s answer or supply missing knowledge, ensuring only relevant and reliable information is injected.
  • Allow the LLM to regenerate CoQ with new branches when corrections or completions are received, transforming the reasoning topology from a chain to a tree for dynamic path correction.
  • Generate final outputs with traceable references to supporting documents for each reasoning step, enhancing transparency and auditability.
  • Leverage in-context learning to enable the LLM to plan a global reasoning path before initiating IR interactions, improving reasoning coherence and scalability.

Experimental results

Research questions

  • RQ1How can retrieval be integrated into LLM reasoning without breaking the reasoning chain or introducing hallucinated knowledge?
  • RQ2Can confidence-based IR feedback improve the credibility of LLM-generated answers in multi-step reasoning tasks?
  • RQ3To what extent can interactive retrieval enhance the accuracy of LLMs on complex knowledge-intensive tasks like multi-hop QA and fact-checking?
  • RQ4How does the tree-structured reasoning in SearChain compare to linear chains in handling unsolvable sub-questions or reasoning dead-ends?
  • RQ5Can SearChain achieve fine-grained traceability by marking references to supporting documents for each reasoning step?

Key findings

  • SearChain outperforms baselines on multi-hop question-answering, slot filling, fact-checking, and long-form question-answering, demonstrating superior accuracy and reasoning robustness.
  • On the Musique dataset, SearChain achieved 4.16, 4.66, and 5.06 average reasoning steps for 2-hop, 3-hop, and 4-hop questions respectively, indicating better perception of question complexity.
  • SearChain reduced the negative impact of IR on LLM performance: only 1.2% of questions saw incorrect answers after IR integration, showing effective mitigation of misleading retrieval.
  • In traceability evaluation, SearChain marked references for all correct CoQ nodes, while New Bing failed to cover all knowledge sources and sometimes missed relevant documents.
  • The framework maintained high performance with only a small increase in input tokens and interaction rounds, indicating manageable computational overhead.
  • Case studies show SearChain continues reasoning by rewriting unsolvable sub-questions, unlike CoT and Self-Ask, which often terminate prematurely.

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.