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

TrajEvolve:用于带后见之明信用分配的强化学习的轨迹演化

TrajEvolve: Trajectory Evolution for Reinforcement Learning with Hindsight Credit Assignment

City University of Hong Kong(香港城市大学);Tencent(腾讯);Nanjing University(南京大学)

Yi Wen, Hao Chen, Wanyu Wang, Maolin Wang, Pengyue Jia, Derong Xu, Huize Tan, Yingyi Zhang, Wenlin Zhang, Weihong Luo, Xiku Du, Xiangyu Zhao

AI总结:

针对强化学习应用于长 horizon 任务时收敛慢、冗余步骤多的问题,提出带后见之明信用分配的轨迹演化范式 TrajEvolve,通过生成演化轨迹与二分类信用分配提升性能,经实验验证有效。

摘要:

强化学习(RL)范式在提升大语言模型(LLM)推理能力方面已取得显著成功。然而,将其应用于长 horizon 任务时面临严峻挑战:其一,由于任务复杂度高,模型难以采样到足够的成功轨迹,导致收敛缓慢;其二,仅依赖稀疏的最终奖励会导致所有步骤被无差别更新,催生冗余步骤生成。当成功轨迹的数量与质量均难以保障时,性能会受到严重制约。这一困境源于现有 RL 范式的局限:其完全依赖基础模型的推理能力,缺乏主动优化轨迹的能力。为解决上述问题,我们提出一种带后见之明信用分配的新型轨迹演化范式,命名为 TrajEvolve。TrajEvolve 不仅依赖模型推断的轨迹,还通过优化历史轨迹中的低质量步骤生成“演化轨迹”,从而让策略接触到基础模型支持范围内但实际训练预算中极少采样的高质量组合。此外,TrajEvolve 将步骤级连续信用分配重新表述为二分类任务,即判断每个步骤是否为任务完成所必需。这一简化不仅降低了学习难度,还能通过反事实验证获取步骤标签,实现对冗余步骤的精准识别。在两个数据集上开展的大量实验验证了所提方法的优越性。

英文摘要:

The Reinforcement Learning (RL) paradigm has achieved remarkable success in enhancing the reasoning capabilities of Large Language Models (LLMs). However, when applied to long-horizon tasks, it faces severe challenges: i) Due to the high task complexity, the model struggles to sample enough successful trajectories, resulting in slow convergence. ii) Relying solely on sparse final rewards causes all steps to be updated indiscriminately, encouraging redundant step generation. When both the quantity and quality of successful trajectories become difficult to guarantee, the performance is severely constrained. This dilemma stems from the limitations: existing RL paradigms rely entirely on the reasoning capability of base models, lacking the ability to actively optimize trajectories. To address the above issues, we propose a novel trajectory evolution paradigm with hindsight credit assignment, termed TrajEvolve. TrajEvolve not only relies on the trajectory inferred by the model but also generates ``evolutionary trajectories'' by refining low-quality steps in historical trajectories, thereby exposing the policy to high-quality compositions that lie within the base model's support but are rarely sampled within practical training budgets. Furthermore, TrajEvolve reformulates step-level continuous credit assignment as a binary classification task, whether each step is necessary for task completion. This simplification not only reduces the learning difficulty but also enables step labels to be obtained through counterfactual verification, achieving precise identification of redundant steps. Extensive experiments on two datasets demonstrate the superiority of the proposed method.

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

↑