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

关注每一步!通过迭代的步骤级过程优化进行LLM Agent学习

Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinement

Huawei Technologies(华为技术有限公司)

Weimin Xiong, Yifan Song, Xiutian Zhao, Wenhao Wu, Xun Wang, Ke Wang, Cheng Li, Wei Peng, Sujian Li

AI总结:

针对LLM Agent缺乏过程监督导致次优动作的问题,提出迭代步骤级过程优化(IPR)框架,利用蒙特卡洛估计步骤级奖励生成对比动作对进行训练,显著提升了动作效率与模型性能。

摘要:

大型语言模型Agent在一系列复杂交互任务中展现出了卓越的性能。近期的方法利用专家轨迹进行微调以提升Agent性能,但它们主要关注结果奖励,由于缺乏过程监督信号,这可能导致错误或次优动作。本文提出了迭代步骤级过程优化(IPR)框架,提供详细的逐步指导以增强Agent训练。具体而言,我们采用蒙特卡洛方法来估计步骤级奖励。在每次迭代中,Agent沿着专家轨迹进行探索并生成新动作。随后,利用步骤级奖励将这些动作与专家轨迹的对应步骤进行评估。这种比较有助于识别差异,从而生成对比动作对作为Agent的训练数据。我们在三个复杂Agent任务上的实验表明,该框架优于多种强基线。此外,我们的分析结果突出了IPR在提升动作效率方面的有效性及其对多种模型的适用性。

英文摘要:

Large language model agents have exhibited exceptional performance across a range of complex interactive tasks. Recent approaches have utilized tuning with expert trajectories to enhance agent performance, yet they primarily concentrate on outcome rewards, which may lead to errors or suboptimal actions due to the absence of process supervision signals. In this paper, we introduce the Iterative step-level Process Refinement (IPR) framework, which provides detailed step-by-step guidance to enhance agent training. Specifically, we adopt the Monte Carlo method to estimate step-level rewards. During each iteration, the agent explores along the expert trajectory and generates new actions. These actions are then evaluated against the corresponding step of expert trajectory using step-level rewards. Such comparison helps identify discrepancies, yielding contrastive action pairs that serve as training data for the agent. Our experiments on three complex agent tasks demonstrate that our framework outperforms a variety of strong baselines. Moreover, our analytical findings highlight the effectiveness of IPR in augmenting action efficiency and its applicability to diverse models.

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

↑