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

ReflectPO:面向长 horizon 大语言模型智能体的反思引导策略优化

ReflectPO: Reflection-Guided Policy Optimization for Long-Horizon LLM Agents

Meituan(美团)

Rumei Li, Xunliang Cai

AI总结:

提出 ReflectPO 强化学习框架,通过反思引导采样和树结构信用分配解决长 horizon LLM 智能体的错误累积问题,在工具使用基准上性能优于现有基线。

摘要:

借助外部工具,大语言模型(LLM)可通过与环境的持续交互解决复杂任务,因此基于 LLM 的智能体被越来越多地用于处理现实环境中的复杂长 horizon 任务。然而这些任务涉及顺序、相互依赖的决策以及环境状态的变化,早期执行错误会影响后续交互历史和环境状态,且其影响会沿决策链累积。为应对这一挑战,我们提出反思引导策略优化(ReflectPO),这是一种用于长 horizon 任务中自主错误恢复的强化学习框架。ReflectPO 包含两个核心组件:一是反思引导采样,我们利用交互轨迹中的分支差异和重复访问来构建错误恢复提示;二是树结构信用分配,我们将采样轨迹组织成树,并利用父子奖励差异和恢复收益来分配动作级信用。在两个长 horizon 工具使用基准上的实验表明,ReflectPO 在大多数领域优于多个现有基线,且平均整体性能最佳。进一步分析显示,ReflectPO 有效提升了智能体识别自身偏差、从错误状态恢复以及继续推进任务完成的能力。

英文摘要:

With external tools, large language models (LLMs) can tackle complex tasks through sustained environmental interaction. LLM-based agents are therefore increasingly used to tackle complex long-horizon tasks in real-world environments. However, these tasks involve sequential, interdependent decisions and changes in environmental states. Early execution errors affect subsequent interaction histories and environmental states, and their effects accumulate along the decision chain. To address this challenge, we propose Reflection-Guided Policy Optimization (ReflectPO), a reinforcement learning framework for autonomous error recovery in long-horizon tasks. ReflectPO comprises two core components. The first is Reflection-Guided Sampling. We use branch differences and repeated visits in interaction trajectories to construct hints for error recovery. The second is Tree-Structured Credit Assignment. We organize sampled trajectories into trees and assign action-level credit using parent--child reward differences and recovery gains. Experiments over two long-horizon tool-use benchmarks show that ReflectPO outperforms multiple existing baselines in most domains. It also achieves the best overall performance on average. Further analyses show that ReflectPO effectively improves agents' ability to recognize their own deviations, recover from erroneous states, and continue making progress toward task completion.

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

↑