Retrieval-Generation Synergy Augmented Large Language Models

Zhangyin Feng, Xiaocheng Feng, Dezhi Zhao, Maojin Yang, Bing Qin · DOI

Introduction

Large Language Models (LLMs) like GPT-4 and LLaMA have revolutionized natural language processing, yet they remain limited by factual hallucinations and static knowledge bases. To mitigate these issues, researchers typically employ either Retrieve-then-Read (RAG)—providing the model with external documents—or Generate-then-Read (GAR)—using the model's internal knowledge to create context. However, these strategies are often isolated, struggling with complex "multi-hop" questions where the path to an answer requires connecting disparate pieces of information.

To address this, researchers have introduced ITRG (Iterative Retrieval-Generation), a framework that establishes a continuous feedback loop between LLMs and retrieval systems. By iteratively expanding queries with generated text and refining answers with fresh search results, ITRG significantly enhances performance on challenging question-answering tasks.

The ITRG Framework

The core of ITRG is an iterative cycle consisting of two primary components: Generation Augmented Retrieval (GAR) and Retrieval Augmented Generation (RAG). Instead of a single pass, the model executes this cycle for up to five iterations.

Figure 1: Comparison of standard retrieval and generation methods with the proposed Retrieval-Generation Synergy.
  1. Generation Augmented Retrieval (GAR): The model combines the original question with the document generated in the previous iteration. This expanded query helps bridge the semantic gap between a brief question and detailed source material, using the LLM's internal knowledge to guide the retriever.
  2. Retrieval Augmented Generation (RAG): The model uses newly retrieved documents to update its answer. The authors explored two variations: Refine, where the model updates its previous generation, and Refresh, where the model discards the previous generation to write a new document based solely on the latest evidence. The "Refresh" strategy proved more robust against "hallucination debt," where early errors might otherwise persist through later steps.

Iterative Synergy in Action

The iterative nature of ITRG is particularly effective for multi-hop reasoning. In the first iteration, the model might identify a primary subject; in the second, it uses that subject's context to find a secondary related fact, eventually converging on the correct answer.

Figure 2: Iterative retrieval and generation steps solving a complex multi-hop question.

As shown in the example above, the model progressively uncovers the identity and birth date of a subject's mother by using each generation to inform the next retrieval step. This "pathfinding" capability allows the system to navigate complex information landscapes that single-shot methods often fail to traverse.

Experimental Results

The framework was evaluated using LLaMA-33B across several benchmarks, including Natural Questions (NQ), TriviaQA, 2WikiMultiHopQA, and HotpotQA. Key findings include:

  • Superior Performance: ITRG consistently outperformed vanilla LLMs and standard RAG/GAR baselines. On 2WikiMultiHopQA, ITRG (Refresh) achieved an Exact Match (EM) score of 38.6 (5-shot), compared to 31.8 for the vanilla LLaMA model.
  • Scaling with Iteration: Performance improved as iterations progressed. For instance, on HotpotQA, the EM score rose from 32.6 after the first iteration to 33.4 by the fifth.
  • Improved Retrieval Quality: "Answer Recall"—the presence of the correct answer within retrieved documents—improved over time, confirming that LLM-generated context actively helps the retriever locate relevant information.

Conclusion and Future Work

ITRG demonstrates that the synergy between retrieval and generation is more powerful than either method in isolation. While effective, the framework's computational cost—requiring multiple LLM calls per question—remains a challenge. Future research may focus on "early stopping" mechanisms to improve efficiency and exploring how these iterative benefits scale to smaller or even larger models like GPT-4. Despite these costs, the iterative feedback loop represents a significant step toward more reliable and knowledgeable AI systems.

Summary updated

BibTeX
@inproceedings{feng2024retrieval,
  author = {Zhangyin Feng and Xiaocheng Feng and Dezhi Zhao and Maojin Yang and Bing Qin},
  title = {{Retrieval-Generation Synergy Augmented Large Language Models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10448015},
}
Figure