让大模型智能体像人一样复盘,边做边进化。
RetroAgent: From Solving to Evolving via Retrospective Dual Intrinsic Feedback
- 用事后回溯的双类内在反馈提升探索效率
- 在4个基准上超越现有方法15%以上
- 适合需要持续学习和适应的新场景
传统基于大语言模型的强化学习主要优化外在任务奖励,往往只关注任务完成而忽视持续适应。这导致策略过早收敛到次优解,且有用经验仅隐式存储在参数中,难以被未来决策复用。我们提出RetroAgent,一个在线强化学习框架,让智能体不仅解决任务,更在多轮交互中持续进化。受人类复盘自我提升启发,RetroAgent在外部奖励基础上引入两种事后的内在反馈:(1)内在数值反馈,通过衡量相对于此前尝试的子任务进展增量来奖励有益探索;(2)内在语言反馈,将成功与失败提炼为可复用的文本经验。为有效利用这些经验,我们提出相似性与效用感知的置信上界(SimUtil-UCB)检索策略,兼顾语义相关性、历史效用与探索。在四个挑战性智能体基准上,RetroAgent取得新最优表现,在ALFWorld上比GRPO高出18.3%,WebShop上高出15.4%,Sokoban上高出27.1%,MineSweeper上高出8.9%,同时展现出强测试时适应能力和分布外泛化能力。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。