MaFeRw: Query Rewriting with Multi-Aspect Feedbacks for Retrieval-Augmented Large Language Models
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
In a real-world RAG system, the current query often involves spoken ellipses and ambiguous references from dialogue contexts, necessitating query rewriting to better describe user's information needs. However, traditional context-based rewriting has minimal enhancement on downstream generation tasks due to the lengthy process from query rewriting to response generation. Some researchers try to utilize reinforcement learning with generation feedback to assist the rewriter, but these sparse rewards provide little guidance in most cases, leading to unstable training and generation results. We find that user's needs are also reflected in the gold document, retrieved documents and ground truth. Therefore, by feeding back these multi-aspect dense rewards to query rewriting, more stable and satisfactory responses can be achieved. In this paper, we propose a novel query rewriting method MaFeRw, which improves RAG performance by integrating multi-aspect feedback from both the retrieval process and generated results. Specifically, we first use manual data to train a T5 model for the rewriter initialization. Next, we design three metrics as reinforcement learning feedback: the similarity between the rewritten query and the gold document, the ranking metrics, and ROUGE between the generation and the ground truth. Inspired by RLAIF, we train three kinds of reward models for the above metrics to achieve more efficient training. Finally, we combine the scores of these reward models as feedback, and use PPO algorithm to explore the optimal query rewriting strategy. Experimental results on two conversational RAG datasets demonstrate that MaFeRw achieves superior generation metrics and more stable training compared to baselines.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 18 of its 26 references that are in the map. First posted on arXiv 30 Aug 2024.
Builds on
18 of 26 references.
Closest ancestors · 1
Same direction, newest first
Other references · 17
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 615
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2020Open-Domain Question Answering Goes Conversational via Question Rewritingcited by 147
- 2023Graph-ToolFormer: To Empower LLMs with Graph Reasoning Ability via Prompt Augmented by ChatGPTcited by 78
- 2023Enhancing Conversational Search: Large Language Model-Aided Informative Query Rewritingcited by 69
- 2020TREC CAsT 2019: The Conversational Assistance Track Overviewcited by 64
5 more
- 2023ConvGQR: Generative Query Reformulation for Conversational Searchcited by 59
- 2020Conversational Question Reformulation via Sequence-to-Sequence Architectures and Pretrained Language Modelscited by 45
- 2024Boosting Conversational Question Answering with Fine-Grained Retrieval-Augmentation and Self-Checkcited by 24
- 2024Retrieval Augmented Generation for Domain-specific Question Answeringcited by 22
- 2022Retrieval-Augmented Generative Question Answering for Event Argument Extractioncited by 18
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 4.
9 papers.
- 2025Contextualizing Search Queries In-Context Learning for Conversational Rewriting with LLMscited by 4
- 2025POET: Preference Optimization for Enhanced Text-to-Image Generationcited by 3
- 2026Connect the Dots: Knowledge Graph-Guided Crawler Attack on Retrieval-Augmented Generation Systemscited by 3
- 2025BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channelcited by 2
- 2026S3-R1: Learning to Retrieve and Answer Step-by-Step with Synthetic Datacited by 2
- 2024A Survey of Query Optimization in Large Language Modelscited by 1
- 2025SAGE: Strategy-Adaptive Generation Engine for Query Rewritingcited by 1
- 2026Rethinking RAG in Long Videos: What to Retrieve and How to Use It?cited by 1
- 2026E-MIA: Exam-Style Black-Box Membership Inference Attacks against RAG Systemscited by 0
- 2026Rethinking RAG in Long Videos: What to Retrieve and How to Use It?11 Jun 2026
- 2026S3-R1: Learning to Retrieve and Answer Step-by-Step with Synthetic Data2 May 2026
- 2026E-MIA: Exam-Style Black-Box Membership Inference Attacks against RAG Systems1 May 2026
- 2026Connect the Dots: Knowledge Graph-Guided Crawler Attack on Retrieval-Augmented Generation Systems22 Jan 2026
- 2025BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channel15 Nov 2025
- 2025POET: Preference Optimization for Enhanced Text-to-Image Generation14 Oct 2025
- 2025SAGE: Strategy-Adaptive Generation Engine for Query Rewriting24 Jun 2025
- 2025Contextualizing Search Queries In-Context Learning for Conversational Rewriting with LLMs20 Feb 2025
- 2024A Survey of Query Optimization in Large Language Models23 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024RaFe: Ranking Feedback Improves Query Rewriting for RAG
- 2023Query Rewriting for Retrieval-Augmented Large Language Models
- 2024DMQR-RAG: Diverse Multi-Query Rewriting for RAG
- 2025Rethinking On-policy Optimization for Query Augmentation
- 2025Can Synthetic Query Rewrites Capture User Intent Better than Humans in Retrieval-Augmented Generation?
- 2025ReZero: Enhancing LLM search ability by trying one-more-time
- 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation
- 2025Annotation-Free Reinforcement Learning Query Rewriting via Verifiable Search Reward