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

上下文信用策略优化(Contextual Credit Policy Optimization, CCPO)

Contextual Credit Policy Optimization

Stanford University(斯坦福大学);Texas A&M University(德克萨斯农工大学);Yale University(耶鲁大学);Amazon(亚马逊);Meta AI;Microsoft(微软)

Huiwen Han, Ziyao Zeng, Zihao Zhu, Sisong Bei, Hao Wang, Hongyu Xu, Yan Han, Degui Zhi, Zhiwen Fan

AI总结:

本文提出 Contextual Credit Policy Optimization(CCPO),通过上下文加权对等体及结合历史与未来信用解决组强化学习的两个挑战,在 Qwen2.5-Instruct 主干模型上于 ALFWorld、WebShop 任务优于 GRPO。

摘要:

基于组的强化学习使大型语言模型(LLM)智能体能够在长 horizon 任务中从稀疏结果奖励中学习。现有方法通过比较不同轨迹中匹配观测值的经验来推导步骤级信用,但存在两个挑战:一是相同观测值可能出现在不同上下文,匹配的对等体对特定决策的信息价值不均;二是有利的最终结果会掩盖成功轨迹中的冗余动作或迂回路径。为解决这两个问题,本文提出 Contextual Credit Policy Optimization(CCPO)。针对第一个挑战,CCPO 通过上下文相似度对其他轨迹中匹配观测值的对等体进行加权,该相似度由冻结的 LLM 表示和累积轨迹统计量计算得出,使相似上下文的对等体对步骤基线贡献更大。针对第二个挑战,CCPO 将历史信用(比较实际回报与加权对等体基线)与未来信用(衡量短时间实际延续过程中上下文结果价值的变化)相结合,从而根据步骤取得的进展而非仅轨迹的最终结果来分配信用。两种信用均从训练已收集的 rollout 中事后计算,使 CCPO 无需辅助价值评判器即可解决上述挑战。在两个 Qwen2.5-Instruct 主干模型(15 亿参数和 70 亿参数)上,CCPO 在 ALFWorld 任务上实现最高 97.4% 的成功率,在 WebShop 任务上实现 79.4% 的成功率,且相比 GRPO 分别提升最高 21.6 和 18.5 个百分点。消融实验表明,上下文加权优于均匀加权,且历史与未来信用是互补的学习信号。

英文摘要:

Group-based reinforcement learning enables large language model agents to learn from sparse outcome rewards in long-horizon tasks. Recent methods derive step-level credit by comparing observation-matched experiences across trajectories. However, identical observations can occur in different contexts, and matched peers are not equally informative for a given decision. Moreover, favorable terminal outcomes can obscure redundant actions or detours within successful trajectories. To address these two challenges, we propose Contextual Credit Policy Optimization (CCPO). For the first, CCPO weights observation-matched peers from other trajectories by contextual similarity, computed from frozen LLM representations and accumulated trajectory statistics, allowing peers from similar contexts to contribute more to a step's baseline. For the second, CCPO pairs historical credit, which compares the realized return against the weighted peer baseline, with future credit, which measures the change in contextual outcome value over a short realized continuation. A step is thus credited for the progress it makes, not only for its trajectory's eventual outcome. Both credits are computed in hindsight from rollouts already collected for training, enabling CCPO to address these challenges without an auxiliary value critic. Across two Qwen2.5-Instruct backbones (1.5B and 7B), CCPO achieves up to 97.4% success on ALFWorld and 79.4% on WebShop and outperforms GRPO by up to 21.6 and 18.5 points. Ablations show that contextual weighting outperforms uniform weighting, and that historical and future credit serve as complementary learning signals.

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

↑