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, Ning Xie, Peng Wang, Yang Yang, Heng Tao Shen
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.
Create a lesson
Metadata
- Comments
- 12 pages, 6 figures, 8 tables
Related papers
ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
Shared title terminologycs.CLRui Sun, Junhua Huang, Luca Zancato et al.
Retrieval-Augmented Generation in the Agentic Era: Tradition, Present, and Prospect
Shared title terminologycs.CLChenming Tang, Haolin Li, Yiran Li et al.
HyperHarness: Learning to Generate Personalized Agent Harnesses from User Histories
Shared title terminologycs.CLZhaoxuan Tan, Jiachen Zhao, Jingbo Yang et al.
SurveyWeave: An Agentic Framework for Automated Survey Generation
Shared title terminologycs.CLFranklin Zhang, Xiao Yang, Xin Luna Dong et al.
fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration
Shared title terminologycs.CLAnkit Chadha, Pratyay Banerjee
Right Destination, Wrong Journey: Synthetic Counseling Dialogues Miss Human Interactional Dynamics
Shared title terminologycs.CLZiwei Gong, Yuchen Huang, Nicholas Deas et al.