arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.21208cs.AIcs.IR
收藏

我应该何时搜索更多:基于强化学习的自适应复杂查询优化

When should I search more: Adaptive Complex Query Optimization with Reinforcement Learning

Tencent Youtu Lab(腾讯云图实验室);The University of Hong Kong(香港大学);Nanyang Technological University(南洋理工大学)

Wei Wen, Sihang Deng, Tianjun Wei, Keyu Chen, Ruizhi Qiao, Xing Sun

AI总结:

本文提出自适应复杂查询优化框架ACQO,通过强化学习解决复杂查询优化中的子查询数量确定、文档排序与合并问题,实现更稳定高效的查询处理。

摘要:

查询优化是检索增强生成(RAG)系统有效性的关键组成部分。尽管基于强化学习(RL)的代理和推理方法最近在查询优化领域崭露头角,但大多数现有方法集中在单个查询的扩展和抽象上。然而,在现实世界中,复杂用户查询普遍存在,通常需要多个并行和顺序的搜索策略来处理歧义和分解。直接将RL应用于这些复杂情况会带来显著的障碍。确定最佳的子查询数量并有效重新排序和合并检索到的文档大大扩展了搜索空间并复杂化了奖励设计,经常导致训练不稳定。为了解决这些挑战,我们提出了一种新的RL框架,称为自适应复杂查询优化(ACQO)。我们的框架旨在自适应地确定何时以及如何扩展搜索过程。它有两个核心组件:一个自适应查询重述(AQR)模块,动态决定何时将查询分解为多个子查询;一个排名-得分融合(RSF)模块,确保结果聚合的稳健性,并为学习代理提供稳定的奖励信号。为了缓解训练不稳定性,我们采用了一种课程强化学习(CRL)方法,通过两阶段策略逐步引入更具挑战性的查询来稳定训练过程。我们的全面实验表明,ACQO在三个复杂查询基准上实现了最先进的性能,显著优于已建立的基线。该框架还展示了改进的计算效率和对不同检索架构的广泛兼容性,使其成为下一代RAG系统中强大且通用的解决方案。

英文摘要:

Query optimization is a crucial component for the efficacy of Retrieval-Augmented Generation (RAG) systems. While reinforcement learning (RL)-based agentic and reasoning methods have recently emerged as a promising direction on query optimization, most existing approaches focus on the expansion and abstraction of a single query. However, complex user queries are prevalent in real-world scenarios, often requiring multiple parallel and sequential search strategies to handle disambiguation and decomposition. Directly applying RL to these complex cases introduces significant hurdles. Determining the optimal number of sub-queries and effectively re-ranking and merging retrieved documents vastly expands the search space and complicates reward design, frequently leading to training instability. To address these challenges, we propose a novel RL framework called Adaptive Complex Query Optimization (ACQO). Our framework is designed to adaptively determine when and how to expand the search process. It features two core components: an Adaptive Query Reformulation (AQR) module that dynamically decides when to decompose a query into multiple sub-queries, and a Rank-Score Fusion (RSF) module that ensures robust result aggregation and provides stable reward signals for the learning agent. To mitigate training instabilities, we adopt a Curriculum Reinforcement Learning (CRL) approach, which stabilizes the training process by progressively introducing more challenging queries through a two-stage strategy. Our comprehensive experiments demonstrate that ACQO achieves state-of-the-art performance on three complex query benchmarks, significantly outperforming established baselines. The framework also showcases improved computational efficiency and broad compatibility with different retrieval architectures, establishing it as a powerful and generalizable solution for next-generation RAG systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑