相同运气,不同选择:面向智能体强化学习的双世界信用分配
Same Luck, Different Choice: Twin-World Credit Assignment for Agentic Reinforcement Learning
AI总结:
该研究针对智能体强化学习的信用分配问题,提出TWICE方法,通过双世界机制降低估计方差,在七个问答基准上提升了GRPO的性能,且减少了辅助token使用量。
摘要:
智能体强化学习会对完整的回合进行奖励,但策略需要为其中的每一个决策分配信用。反事实分支通过在做出替代决策后重新运行该回合来估计这种信用,但该分支的采样噪声与事实回合相互独立,因此结果差异会将决策的影响与后续所有因素的运气混合在一起。我们观察到,在智能体搜索中,检索器、语料库和评估器都是确定性的,因此回合是策略决策及其采样噪声的确定性函数。因此,双世界是可实现的:相同的噪声,不同的决策。我们提出了TWICE(双世界信用估计),它按回合和行对每个 token 的 Gumbel 噪声进行键控,生成继承事实回合下游噪声的反事实双体,并将其配对结果差异转化为回合级优势,用于对演员采样轨迹的策略梯度更新;仅部署演员。双信用对任何耦合质量都是无偏的,其方差是独立反事实的方差乘以$1-\rho$,其中$\rho$是双体的结果相关性,在耦合下,解决大小为$\Delta$的优势所需的 rollout 数量从$\Theta(\Delta^{-2})$降至$\Theta(\Delta^{-1})$。平方根规则将双体预算分配给每单位成本下结果预测会不一致的地方。在七个问答基准上,TWICE 在 Qwen2.5-3B 和 7B 上分别将 GRPO 的平均精确匹配率提高了 5.3 和 4.5 个百分点,优于树搜索和反事实分支基线,且比 VinePPO 少使用 68%的辅助 token。
英文摘要:
Agentic reinforcement learning rewards a complete episode, yet the policy needs credit for every decision inside it. Counterfactual branching estimates this credit by re-running the episode after an alternative decision, but the branch draws its sampling noise independently of the factual episode, so the outcome difference mixes the effect of the decision with the luck of everything that follows. We observe that in agentic search the retriever, the corpus, and the grader are deterministic, so an episode is a deterministic function of the policy's decisions and its sampling noise. Twin worlds are therefore realizable: the same noise, a different decision. We introduce TWICE (TWIn-world Credit Estimation), which keys the Gumbel noise of every token by turn and line, rolls out counterfactual twins that inherit the factual episode's downstream noise, and turns their paired outcome differences into turn-level advantages for policy-gradient updates on actor-sampled trajectories; only the actor is deployed. Twin credit is unbiased for any coupling quality, its variance is that of an independent counterfactual scaled by $1-ρ$, where $ρ$ is the twins' outcome correlation, and under coupling the number of rollouts needed to resolve an advantage of size $Δ$ falls from $Θ(Δ^{-2})$ to $Θ(Δ^{-1})$. A square-root rule spends the twin budget where outcomes are predicted to disagree per unit cost. On seven question-answering benchmarks, TWICE improves the average exact match of GRPO by 5.3 and 4.5 points on Qwen2.5-3B and 7B, outperforms tree-search and counterfactual-branching baselines, and uses 68% fewer auxiliary tokens than VinePPO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。