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

RRO:通过上升奖励轨迹实现LLM智能体优化

RRO: LLM Agent Optimization Through Rising Reward Trajectories

University of California, San Diego(加州大学圣地亚哥分校);Amazon(亚马逊公司)

Zilong Wang, Jingfeng Yang, Sreyashi Nag, Samarth Varshney, Xianfeng Tang, Haoming Jiang, Jingbo Shang, Sheikh Muhammad Sarwar

AI总结:

针对LLM智能体多步任务中过程奖励模型扩展成本高的问题,提出RRO方法,通过保持轨迹中奖励递增来动态扩展搜索空间,在WebShop和InterCode-SQL基准上以更低探索成本实现更优性能。

摘要:

大型语言模型(LLM)在各种任务中表现出非凡的性能,但作为智能体解决复杂的多步骤任务仍然具有挑战性。在实践中,智能体对某些关键步骤的结果很敏感,这使得它们很可能因为规划轨迹中的细微错误而无法完成任务。最近的方法通过强化学习来校准推理过程。它们通过过程监督来奖励或惩罚每个推理步骤,即所谓的过程奖励模型(PRMs)。然而,PRMs很难且成本高昂地扩展到大量下一步行动候选,因为它们需要通过逐步轨迹探索来获取训练数据,这需要大量的计算。为了缓解这一问题,我们关注连续推理步骤之间的相对奖励趋势,并提出在收集的轨迹中保持奖励递增以进行过程监督,我们称之为奖励上升优化(RRO)。具体而言,我们逐步增加过程监督,直到识别出一个相对于其前一次迭代表现出正奖励差异(即上升奖励)的步骤。该方法动态扩展了下一步行动候选的搜索空间,高效地捕获高质量数据。我们在WebShop和InterCode-SQL基准上提供了数学基础和实证结果,表明我们提出的RRO在实现优越性能的同时,所需的探索成本大大降低。

英文摘要:

Large language models (LLMs) have exhibited extraordinary performance in a variety of tasks while it remains challenging for them to solve complex multi-step tasks as agents. In practice, agents sensitive to the outcome of certain key steps which makes them likely to fail the task because of a subtle mistake in the planning trajectory. Recent approaches resort to calibrating the reasoning process through reinforcement learning. They reward or penalize every reasoning step with process supervision, as known as Process Reward Models (PRMs). However, PRMs are difficult and costly to scale up with a large number of next action candidates since they require extensive computations to acquire the training data through the per-step trajectory exploration. To mitigate this issue, we focus on the relative reward trend across successive reasoning steps and propose maintaining an increasing reward in the collected trajectories for process supervision, which we term Reward Rising Optimization (RRO). Specifically, we incrementally augment the process supervision until identifying a step exhibiting positive reward differentials, i.e. rising rewards, relative to its preceding iteration. This method dynamically expands the search space for the next action candidates, efficiently capturing high-quality data. We provide mathematical groundings and empirical results on the WebShop and InterCode-SQL benchmarks, showing that our proposed RRO achieves superior performance while requiring much less exploration cost.

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

↑