通过关键步骤定位提升大模型搜索任务的强化学习效果
PiCA: Pivot-Based Credit Assignment for Search Agentic Reinforcement Learning

- 以历史轨迹中的关键步骤为锚点,动态计算每步奖励
- 在7个问答数据集上,3B和7B模型分别提升15.2%和2.2%
- 适合需要长流程推理的大模型任务研究者
基于大语言模型(LLM)的搜索代理在知识密集型任务中表现优异,但现有方法面临三大挑战:(i)奖励稀疏性,仅在任务结束时反馈结果,缺乏步骤级指导;(ii)孤立信用分配,各步骤奖励独立,忽略序列依赖关系;(iii)分布偏移,奖励基于与模型生成分布不符的模板估算。为此,我们提出基于枢轴的信用分配(PiCA),将搜索轨迹重构为累积搜索进展的序列过程。不同于以往孤立步骤奖励,PiCA利用基于势能的奖励塑造(PBRS)机制,定义过程奖励为依赖历史上下文的成功概率。该方法识别出包含目标黄金子查询和子答案的枢轴步骤,作为显著提升最终正确答案概率的信息峰值。通过将步骤奖励锚定于最终任务目标,PiCA提供密集、枢轴感知且轨迹依赖的引导,同时保持分布一致性。大量实验表明,PiCA在七个知识密集型QA基准上优于现有强基线,3B和7B模型分别取得15.2%和2.2%的提升。跨多种模型的一致性能增益证明了其鲁棒泛化能力。代码已开源:https://github.com/novdream/PiCA。
原文摘要 · Abstract (English)
Large Language Model (LLM)-based search agents trained with reinforcement learning (RL) have significantly improved the performance of knowledge-intensive tasks. However, existing methods encounter critical challenges in long-horizon credit assignment: (i) Reward Sparsity, where models receive only outcome feedback without step-level guidance to differentiate action quality; (ii) Isolated Credit, where credit is assigned to steps independently, failing to capture sequential dependencies; and (iii) Distributional Shift, where rewards are estimated on templates that deviate from the model's natural generative distribution. To address these issues, we propose Pivot-Based Credit Assignment (PiCA), a novel step reward mechanism that reformulates the search trajectory as a sequential process of cumulative search progress. Unlike prior isolated step rewards, PiCA defines process rewards as success probabilities dependent on the historical context based on Potential-Based Reward Shaping (PBRS). This approach identifies pivot steps, which comprise target golden sub-queries and sub-answers derived from historical trajectories, as information peaks that significantly boost the likelihood of a correct final answer. By anchoring these step rewards to the final task objective, PiCA provides dense, pivot-aware and trajectory-dependent guidance while maintaining distributional consistency. Extensive experiments show that PiCA outperforms existing strong baselines across seven knowledge-intensive QA benchmarks, achieving 15.2% and 2.2% improvements for 3B and 7B models. The consistent performance gains across various models show PiCA's robust generalization. The code is available at https://github.com/novdream/PiCA.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。