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

REX-RAG:检索增强生成中基于策略校正的推理探索

REX-RAG: Reasoning Exploration with Policy Correction in Retrieval-Augmented Generation

Wentao Jiang, Xiang Feng, Zengmao Wang, Yong Luo, Pingbo Xu, Zhe Chen, Bo Du, Jing Zhang

AI总结:

针对LLMs在RAG中易陷入“死胡同”阻碍探索的问题,提出REX-RAG框架,通过混合采样策略与重要性采样校正机制优化策略学习,在多个基准上取得显著性能提升。

摘要:

强化学习(RL)正逐渐成为一种强大的范式,使大型语言模型(LLMs)能够执行复杂的推理任务。最新进展表明,将RL与检索增强生成(RAG)相结合,能让LLMs动态整合外部知识,从而做出更明智且稳健的决策。然而,我们在基于策略的轨迹采样中发现了一个关键挑战:LLMs经常陷入无效的推理路径,我们称之为“死胡同”,即执着于过度自信却错误的结论。这严重阻碍了探索并破坏了有效的策略优化。为应对这一挑战,我们提出了REX-RAG(Reasoning Exploration with Policy Correction in Retrieval-Augmented Generation),这是一种新颖的框架,能在保持严谨策略学习的同时,通过有原则的分布校正来探索替代推理路径。该方法引入了两项关键创新:(1)混合采样策略,结合了一种新颖的探针采样方法与探索性提示,以逃离死胡同;(2)策略校正机制,采用重要性采样来校正混合采样引起的分布偏移,从而减轻梯度估计偏差。我们在七个问答基准上对其进行了评估,实验结果表明,与强基线相比,REX-RAG在Qwen2.5-3B上平均性能提升5.1%,在Qwen2.5-7B上提升3.6%,在多个数据集上展现出极具竞争力的结果。代码已公开于https://github.com/MiliLab/REX-RAG。

英文摘要:

Reinforcement learning (RL) is emerging as a powerful paradigm for enabling large language models (LLMs) to perform complex reasoning tasks. Recent advances indicate that integrating RL with retrieval-augmented generation (RAG) allows LLMs to dynamically incorporate external knowledge, leading to more informed and robust decision making. However, we identify a critical challenge during policy-driven trajectory sampling: LLMs are frequently trapped in unproductive reasoning paths, which we refer to as "dead ends", committing to overconfident yet incorrect conclusions. This severely hampers exploration and undermines effective policy optimization. To address this challenge, we propose REX-RAG (Reasoning Exploration with Policy Correction in Retrieval-Augmented Generation), a novel framework that explores alternative reasoning paths while maintaining rigorous policy learning through principled distributional corrections. Our approach introduces two key innovations: (1) Mixed Sampling Strategy, which combines a novel probe sampling method with exploratory prompts to escape dead ends; and (2) Policy Correction Mechanism, which employs importance sampling to correct distribution shifts induced by mixed sampling, thereby mitigating gradient estimation bias. We evaluate it on seven question-answering benchmarks, and the experimental results show that REX-RAG achieves average performance gains of 5.1% on Qwen2.5-3B and 3.6% on Qwen2.5-7B over strong baselines, demonstrating competitive results across multiple datasets. The code is publicly available at https://github.com/MiliLab/REX-RAG.

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

↑