arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.19783cs.AI
收藏

SAGE:用于查询重写的策略自适应生成引擎

SAGE: Strategy-Adaptive Generation Engine for Query Rewriting

OPPO Research Institution(OPPO研究院);Tsinghua University(清华大学)

Teng Wang, Hailei Gong, Changwang Zhang, Jun Wang

AI总结:

本文提出 SAGE 强化学习框架,通过专家重写策略及 SCS、CRS 奖励塑形指导 LLM,在多个检索基准上刷新 NDCG@10,并降低探索与推理成本。

摘要:

查询重写对于增强稠密检索至关重要,但现有方法要么需要大规模监督数据,要么受困于强化学习(RL)探索效率低下。在本研究中,我们首先证明,用一小组由专家制定的简洁策略(如语义扩展和实体消歧)指导大语言模型(LLM),可在 HotpotQA、FEVER、NFCorpus 和 SciFact 等具有挑战性的基准上显著提升检索效果。基于这一洞见,我们提出策略自适应生成引擎(Strategy-Adaptive Generation Engine,SAGE),在 RL 框架中将这些策略落地。SAGE 引入两种新颖的奖励塑形机制——策略信用塑形(Strategic Credit Shaping,SCS)和对比奖励塑形(Contrastive Reward Shaping,CRS)——以提供信息量更高的学习信号。这种策略引导方法不仅取得了新的最先进 NDCG@10 结果,还揭示了一种引人注目的涌现行为:智能体学会选择最优策略、减少不必要探索,并生成简洁的重写结果,从而在不牺牲性能的情况下降低推理成本。我们的研究结果表明,辅以精细奖励塑形的策略引导 RL,为开发下一代鲁棒信息检索系统提供了一种可扩展、高效且更具可解释性的范式。

英文摘要:

Query rewriting is pivotal for enhancing dense retrieval, yet current methods demand large-scale supervised data or suffer from inefficient reinforcement learning (RL) exploration. In this work, we first establish that guiding Large Language Models (LLMs) with a concise set of expert-crafted strategies, such as semantic expansion and entity disambiguation, substantially improves retrieval effectiveness on challenging benchmarks, including HotpotQA, FEVER, NFCorpus, and SciFact. Building on this insight, we introduce the Strategy-Adaptive Generation Engine (SAGE), which operationalizes these strategies in an RL framework. SAGE introduces two novel reward shaping mechanisms-Strategic Credit Shaping (SCS) and Contrastive Reward Shaping (CRS)-to deliver more informative learning signals. This strategy-guided approach not only achieves new state-of-the-art NDCG@10 results, but also uncovers a compelling emergent behavior: the agent learns to select optimal strategies, reduces unnecessary exploration, and generates concise rewrites, lowering inference cost without sacrificing performance. Our findings demonstrate that strategy-guided RL, enhanced with nuanced reward shaping, offers a scalable, efficient, and more interpretable paradigm for developing the next generation of robust information retrieval systems.

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

↑