Context-Guided Dynamic Retrieval for Improving Generation Quality in RAG Models

Jacky He, Guiran Liu, Binrong Zhu, Hanlu Zhang, Hongye Zheng +1 more
4/28/2025
cs.CLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

This paper focuses on the dynamic optimization of the Retrieval-Augmented Generation (RAG) architecture. It proposes a state-aware dynamic knowledge retrieval mechanism to enhance semantic understanding and knowledge scheduling efficiency in large language models for open-domain question answering and complex generation tasks. The method introduces a multi-level perceptive retrieval vector construction strategy and a differentiable document matching path. These components enable end-to-end joint training and collaborative optimization of the retrieval and generation modules. This effectively addresses the limitations of static RAG structures in context adaptation and knowledge access. Experiments are conducted on the Natural Questions dataset. The proposed structure is thoroughly evaluated across different large models, including GPT-4, GPT-4o, and DeepSeek. Comparative and ablation experiments from multiple perspectives confirm the significant improvements in BLEU and ROUGE-L scores. The approach also demonstrates stronger robustness and generation consistency in tasks involving semantic ambiguity and multi-document fusion. These results highlight its broad application potential and practical value in building high-quality language generation systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{he2025contextguided,
  title  = {Context-Guided Dynamic Retrieval for Improving Generation Quality in RAG Models},
  author = {Jacky He and Guiran Liu and Binrong Zhu and Hanlu Zhang and Hongye Zheng and Xiaokai Wang},
  year   = {2025},
  eprint = {2504.19436},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.19436v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.19436.svg)](https://codeofpaper.com/paper/2504.19436)

Discussion