RAG-FGO: Dynamic Optimization of Query-Rewriting Agents for Generative RAG
Qigan Sun, Xudong Wang, Chaoning Zhang, Chenghao Li, Jiaquan Zhang, Jiehui Xie, Sungyoung Lee, Jie Zou,
Key points
From the paper's conclusion- RAG-FGO formulates query rewriting as a non-differentiable black-box optimization problem in a mixed discrete-continuous space, and represents prompt templates and decoding parameters as adaptively optimizable query-rewriting agents.
Abstract
In retrieval-augmented generation (RAG), query rewriting serves as a core interface that aligns user intent with external knowledge bases, and its effectiveness directly determines overall system performance. However, generative retrieval faces three critical challenges in real-world deployment: noisy retrieval feedback, the difficulty of jointly optimizing discrete prompt templates and continuous decoding-control parameters, and the limited generalization of static rewriting strategies under semantically complex scenarios. To address these issues, we propose RAG-FGO, a dynamic optimization framework for generative retrieval strategies. RAG-FGO formulates query rewriting as a non-differentiable black-box optimization problem in a mixed discrete-continuous space, and represents prompt templates and decoding parameters as adaptively optimizable query-rewriting agents. The framework performs global search to enable semantic jumps and structural reorganization that escape local optima, while applying local perturbations for fine-grained alignment and precise refinement. In addition, RAG-FGO introduces an elite-preserving memory pool that accumulates high-quality strategies across iterations, thereby mitigating the impact of stochasticity and noisy feedback on optimization stability. Experimental results on a diverse suite of benchmarks demonstrate the effectiveness and robustness of the proposed method, supporting its applicability to complex semantic retrieval tasks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- One Size Does Not Fit All! Dynamic Retriever and Generator Selection for RAGarXiv · 2026
- Adaptive iterative retrieval for enhanced retrieval-augmented generationNeurocomputing · 2025
- Online‐optimized RAG for tool use and function callingDecision Sciences · 2026
- BRAG: Bayesian Retrieval Augmented GenerationarXiv · 2026
- TRIO: Task Refinement with Individual Optimization for Retrieval-Augmented GenerationarXiv · 2026
- RAG without Forgetting: Continual Query-Infused Key Memory.Proceedings of machine learning research · 2026