Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergy

Zhihong Shao, Yeyun Gong, Yelong Shen, Minlie Huang, Nan Duan, Weizhu Chen

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities but often struggle with factual accuracy and outdated knowledge. Retrieval-Augmented Generation (RAG) addresses these issues by providing external context. However, standard RAG typically relies on a single retrieval step based on the user's initial query, which often proves insufficient for complex, multi-hop reasoning tasks.

This paper introduces ITER-RETGEN (Iterative Retrieval-Generation Synergy), a framework that treats retrieval and generation as a recurring loop. By using the model's own generated responses as informative context to refine subsequent retrieval steps, ITER-RETGEN bridges the semantic gap between a user's initial information need and the required external knowledge.

The Challenge: Multi-hop Reasoning in RAG

Standard RAG systems often fail when answering multi-hop questions. For example, to answer "What is the height of the player who won the 2015 AFL Rising Star award?", a system must first identify the player (Jesse Hogan) before it can effectively retrieve his height. A single-step retrieval based only on the original query might find information about the award but miss the specific detail about the player's physical attributes.

While existing methods like ReAct or Self-Ask attempt to interleave retrieval and generation step-by-step, they are often complex to implement, impose rigid structural constraints on the model's output, and fail to process all retrieved knowledge holistically.

Methodology: ITER-RETGEN

ITER-RETGEN treats retrieval and generation as a recurring synergy. In each iteration $t$, the model takes the generation from the previous step ($y_{t-1}$) and the original query ($q$) to retrieve a new set of top-$k$ paragraphs.

The ITER-RETGEN process showing how an initial "best guess" helps retrieve more relevant documents in subsequent iterations.

The core insight is that even an imperfect or "hallucinated" initial response from an LLM contains useful semantic cues. These cues act as a "bridge," providing keywords that help the retriever find the right documents in the next round. The model then generates a new response ($y_t$) using the entire pool of currently retrieved knowledge, preserving the flexibility of Chain-of-Thought (CoT) reasoning.

Experimental Setup

The researchers evaluated ITER-RETGEN across six diverse datasets covering three main reasoning tasks:

  • Multi-hop Question Answering: HotPotQA, 2WikiMultiHopQA, MuSiQue, and Bamboogle.
  • Fact Verification: Feverous.
  • Commonsense Reasoning: StrategyQA.

Wikipedia dumps were used as the external knowledge source, and the experiments primarily utilized fixed "black-box" models such as text-davinci-003 and Llama-2.

Results and Discussion

ITER-RETGEN demonstrated superior performance compared to both standard RAG and complex interleaving methods like ReAct and Self-Ask.

Performance comparison of ITER-RETGEN against various baselines across six datasets, showing gains over multiple iterations.

Key findings include:

  • Superior Performance: ITER-RETGEN achieved up to an 8.6% absolute gain over previous state-of-the-art retrieval-augmented methods on four out of six datasets.
  • Rapid Convergence: Most performance gains are realized within the first two iterations. While the framework supports more, the synergy typically plateaus after 2-3 rounds.
  • Efficiency: ITER-RETGEN (at $T=2$) often outperforms more complex agents while requiring significantly fewer API calls and retrieved documents.
  • Robustness: The method consistently outperformed Self-Ask on QA tasks, showing it better leverages both internal parametric knowledge and external non-parametric knowledge.

Conclusion

ITER-RETGEN offers a simple yet effective framework for enhancing RAG. By establishing a recursive loop where generation informs retrieval, the system can solve complex reasoning tasks more accurately and with less overhead than complex interleaving methods. Future work may explore fine-tuning models specifically for this iterative loop or optimizing prompts to further improve how the LLM guides the retriever.

Summary updated

BibTeX
@inproceedings{shao2023enhancing,
  author = {Zhihong Shao and Yeyun Gong and Yelong Shen and Minlie Huang and Nan Duan and Weizhu Chen},
  title = {{Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergy}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.620},
}
Figure