RetroAgent: From Solving to Evolving via Retrospective Dual Intrinsic Feedback

Xiaoying Zhang, Zichen Liu, Yipeng Zhang, Xia Hu, Wenqi Shao
3/9/2026
18 citations
cs.AI
rl

No official code found. Best implementation: zhangxy-2019/RetroAgent (32 stars, Python, last commit 2026-03-30).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

RETROAGENT: From Solving to Evolving via Retrospective Dual Intrinsic Feedback

323Python, Jupyter NotebookMar 5, 20268 months ago

Similar Papers

Cite this paper

@article{zhang2026retroagent,
  title  = {RetroAgent: From Solving to Evolving via Retrospective Dual Intrinsic Feedback},
  author = {Xiaoying Zhang and Zichen Liu and Yipeng Zhang and Xia Hu and Wenqi Shao},
  year   = {2026},
  eprint = {2603.08561},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.08561v6}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.08561.svg)](https://codeofpaper.com/paper/2603.08561)

Discussion