Retrospective Progress-Aware Self-Refinement for LLM Agent Training

Xinbei Ma, Congmin Zheng, Jiyang Qiu, Jiale Hong, Yao Yao, Xiangmou Qu, Jiaxin Yin, Xingyu Lou, Jun Wang, Weiwen Liu, Weinan Zhang, Zhuosheng Zhang, Hai ZhaoarXiv 2026

TL;DR

Large Language Model (LLM) agents often struggle with long-horizon tasks because they lack a "big picture" sense of their own progress. This paper introduces RePro (Retrospective Progress-Aware Training), a framework that teaches agents to self-generate reliable progress signals using a "forward-then-reflect" paradigm. By training agents to evaluate their progress in hindsight, RePro significantly improves task success rates across multiple benchmarks by up to 12% absolute.

What Problem Does This Paper Address?

When LLM agents tackle complex, multi-step tasks (like navigating a website or planning household chores), they typically optimize their actions step-by-step based on reinforcement learning (RL). However, they lack metacognitive awareness—a continuous understanding of what they have accomplished, what remains, and whether they are on track.

You might think the solution is simple: just prompt the agent to output its estimated progress (0-100%) at each step. But the authors' pilot study revealed a fascinating hindsight asymmetry: forcing an agent to guess its progress online (during execution) actually degrades performance by an average of 8.6% because it introduces noisy, uncertain signals. Conversely, providing the agent with retrospective progress demonstrations (looking back at a completed trajectory with a known outcome) improves success rates by 7.9%.

Pilot study results showing that online prompting hurts, while retrospective demonstrations help performance.

The challenge is that this retrospective awareness doesn't naturally emerge from standard outcome-reward training. RePro bridges this gap by training the agent to internalize progress estimation.

Methods

RePro introduces a Forward-then-Reflect paradigm executed in two distinct training phases:

  1. Forward Execution: The agent attempts the task, generating online progress estimates ($\tilde{p}_t$) and actions step-by-step.
  2. Retrospective Reflection: Once the task is complete and the final outcome is known, the agent reviews the entire trajectory and generates calibrated retrospective progress assessments ($p_t$). If the task succeeded, the final step is anchored at 100%, allowing the agent to accurately back-calibrate intermediate steps.
Overview of the RePro framework, including Forward-then-Reflect, Retrospection Warmup, and Policy Update.

To embed this behavior into the agent, RePro uses a two-stage training pipeline:

  • Stage 1: Retrospection Warmup: The agent undergoes Supervised Fine-Tuning (SFT) on a small dataset of retrospective reflections generated by a stronger teacher model (DeepSeek-V4). This teaches the agent the required reflection format.
  • Stage 2: RePro-PO (Policy Optimization): The agent is optimized via RL using a composite reward function. This reward includes the standard environment reward ($R_{task}$), a progress-shaping reward ($R_{prog}$) based on step-wise differences, and an alignment reward ($R_{align}$) that penalizes discrepancies between the agent's online guesses and its retrospective reflections.

Datasets

The authors evaluated RePro across three diverse agentic benchmarks:

  • WebShop: An online shopping simulation requiring agents to navigate, search, and click to purchase products matching specific user requirements (up to 15 steps).
  • ALFWorld: A text-based embodied environment where agents navigate rooms and manipulate household objects to achieve multi-step planning goals (up to 50 steps).
  • Sokoban: A classic spatial puzzle game where the agent pushes boxes to designated target positions.

Key Insights and Ideas

  • The Value of Hindsight: Progress tracking under uncertainty (online) is too noisy to guide actions effectively. However, anchoring progress to a known final outcome (retrospective) provides a clean, stable supervisory signal that can be backpropagated into the agent's policy.
  • Internalizing the Reward Model: Unlike traditional process-based RL that relies on expensive, separate reward models or heuristic state-trackers, RePro internalizes progress estimation directly into the agent. The agent becomes its own critic.
  • Implicit Credit Assignment: By shaping rewards around the delta of retrospective progress ($p_{t+1} - p_t$), RePro provides fine-grained step-level advantages, effectively mitigating the classic "sparse reward" problem in long-horizon RL.

Key Results

RePro was evaluated using the Qwen LLM family (across 1.5B, 3B, 4B, and 7B parameter scales) and demonstrated consistent, substantial improvements over standard RL baselines like GRPO and GiGPO:

  • WebShop: RePro achieved absolute success rate gains over the baseline of +8.98% (1.5B), +11.57% (3B), and +5.82% (7B).
  • ALFWorld: RePro reached near-perfect success rates, yielding a +11.72% gain for the 1.5B model and +4.69% for the 7B model.
  • Sokoban: RePro improved performance by +3.12% on the Qwen3-4B model.
  • Progress Quality: Behavioral analysis proved that RePro agents developed genuine metacognitive awareness. Their progress estimates clearly discriminated between successful and failed trajectories (successful runs showed smooth, monotonic increases, while failed runs exhibited distinct plateaus or declines when setbacks occurred).

Limitations and Future Work

  • Verbalized Bottleneck: RePro relies on explicit, verbalized text tokens (e.g., outputting "percentage numbers") to represent progress. The authors note that exploring latent states or hidden-vector supervision could be a more powerful, non-verbal alternative.
  • Evaluation Scaling: Due to resource constraints, the framework was not tested on broader, open-ended environments like full GUI automation or complex multimodal embodied interactions.
  • Ground-Truth Calibration: RePro derives its progress signals purely from trajectory outcomes and teacher rollouts. Incorporating human annotations or gold-standard step-by-step progress metrics could further refine the agent's calibration.

Summary updated

BibTeX
@misc{ma2026retrospective,
  author = {Xinbei Ma and Congmin Zheng and Jiyang Qiu and Jiale Hong and Yao Yao and Xiangmou Qu and Jiaxin Yin and Xingyu Lou and Jun Wang and Weiwen Liu and Weinan Zhang and Zhuosheng Zhang and Hai Zhao},
  title = {{Retrospective Progress-Aware Self-Refinement for LLM Agent Training}},
  year = {2026},
  eprint = {2606.14302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.14302},
}
Figure