AgentPRM:通过分步承诺与进展为LLM智能体构建过程奖励模型
AgentPRM: Process Reward Models for LLM Agents via Step-Wise Promise and Progress
AI总结:
针对LLM智能体在多轮决策任务中的挑战,提出AgentPRM过程奖励模型,基于时序差分与广义优势估计高效获取训练数据,实验显示其计算效率超基线8倍且性能稳健提升。
摘要:
尽管大语言模型(LLMs)发展迅速,但在网络购物、浏览器导航等多轮决策任务(即智能体任务)中仍面临挑战,这些任务需要基于环境反馈做出一系列智能决策。以往针对LLM智能体的研究通常依赖精心设计的提示工程或专家轨迹微调来提升性能。本研究采用不同视角:探索构建过程奖励模型(PRMs)以评估每个决策并引导智能体的决策过程。与LLM推理中基于正确性为每一步打分不同,智能体任务中的行动没有明确的正确性标准,而是应基于其与目标的接近程度和已取得的进展来评估。基于这一见解,我们提出了一种针对智能体任务的重新定义的PRM,名为AgentPRM,以捕捉序列决策之间的相互依赖关系及其对最终目标的贡献,从而实现更好的进展跟踪和探索-利用平衡。为了高效获取AgentPRM训练所需的标注数据,我们采用了基于时序差分(TD-based)的估计方法并结合广义优势估计(GAE),该方法被证明比现有方法样本效率更高。在不同智能体任务上的大量实验表明,AgentPRM的计算效率是基线方法的8倍以上,且在测试时增加计算量时表现出稳健的性能提升。此外,我们还进行了详细分析以展示方法的工作原理,并提供更多见解,例如将AgentPRM应用于LLM智能体的强化学习。
英文摘要:
Despite rapid development, large language models (LLMs) still encounter challenges in multi-turn decision-making tasks (i.e., agent tasks) like web shopping and browser navigation, which require making a sequence of intelligent decisions based on environmental feedback. Previous work for LLM agents typically relies on elaborate prompt engineering or fine-tuning with expert trajectories to improve performance. In this work, we take a different perspective: we explore constructing process reward models (PRMs) to evaluate each decision and guide the agent's decision-making process. Unlike LLM reasoning, where each step is scored based on correctness, actions in agent tasks do not have a clear-cut correctness. Instead, they should be evaluated based on their proximity to the goal and the progress they have made. Building on this insight, we propose a re-defined PRM for agent tasks, named AgentPRM, to capture both the interdependence between sequential decisions and their contribution to the final goal. This enables better progress tracking and exploration-exploitation balance. To scalably obtain labeled data for training AgentPRM, we employ a Temporal Difference-based (TD-based) estimation method combined with Generalized Advantage Estimation (GAE), which proves more sample-efficient than prior methods. Extensive experiments across different agentic tasks show that AgentPRM is over $8\times$ more compute-efficient than baselines, and it demonstrates robust improvement when scaling up test-time compute. Moreover, we perform detailed analyses to show how our method works and offer more insights, e.g., applying AgentPRM to the reinforcement learning of LLM agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。