RetroAgent: 从解决到进化 via 逆向双重内在反馈
RetroAgent: From Solving to Evolving via Retrospective Dual Intrinsic Feedback
AI总结:
RetroAgent通过逆向双重内在反馈机制,使大语言模型代理在交互环境中通过持续进化而非单纯完成任务来提升性能,实现更强的适应与泛化能力。
摘要:
标准强化学习(RL)用于大语言模型(LLM)代理主要优化外在任务奖励,往往偏向于孤立任务完成而非持续适应。这种范式可能导致过早收敛到次优策略,并使有用经验仅隐式编码在模型参数中,限制其检索和重用以供未来决策。我们引入RetroAgent,一种在线RL框架,训练代理掌握交互环境不仅通过解决任务,而是通过跨回合进化。受人类逆向自我提升启发,RetroAgent将外在奖励与逆向生成的双重内在反馈相结合:(1)内在数值反馈,通过测量相对于先前尝试的子任务进展增量来奖励有益探索;(2)内在语言反馈,将成功与失败提炼成可重用的文本教训以供显式经验重用。为有效利用这些教训,我们提出Similarity & Utility-Aware Upper Confidence Bound(SimUtil-UCB),一种检索策略,平衡语义相关性、历史效用和探索。在四个具有挑战性的代理基准测试中,RetroAgent实现了新的最先进的性能,优于GRPO在ALFWorld上提升18.3%、WebShop上提升15.4%、Sokoban上提升27.1%、MineSweeper上提升8.9%,同时展现出强大的测试时间适应性和分布外泛化能力。
英文摘要:
Standard reinforcement learning (RL) for large language model (LLM) agents primarily optimizes extrinsic task rewards, often favoring isolated task completion over continual adaptation. This paradigm can cause premature convergence to suboptimal policies and leaves useful experience only implicitly encoded in model parameters, limiting its retrieval and reuse for future decisions. We introduce RetroAgent, an online RL framework that trains agents to master interactive environments not merely by solving tasks, but by evolving across episodes. Inspired by human retrospective self-improvement, RetroAgent augments extrinsic rewards with hindsight-generated dual intrinsic feedback: (1) Intrinsic Numerical Feedback, which rewards beneficial exploration by measuring incremental subtask progress relative to prior attempts; and (2) Intrinsic Language Feedback which distills successes and failures into reusable textual lessons for explicit experience reuse. To leverage these lessons effectively, we propose Similarity & Utility-Aware Upper Confidence Bound (SimUtil-UCB), a retrieval strategy that balances semantic relevance, historical utility, and exploration. Across four challenging agentic benchmarks, RetroAgent achieves new state-of-the-art performance, outperforming GRPO by +18.3% on ALFWorld, +15.4% on WebShop, +27.1% on Sokoban, and +8.9% on MineSweeper, while demonstrating strong test-time adaptation and out-of-distribution generalization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。