ReBranch: Self-Evolving Agents through Retrospective Branching
Abstract
Failed interactions can reveal evidence for revisiting earlier decisions, yet a terminal reward does not specify where to intervene or what action to try. We introduce ReBranch, which turns the agent's failures into revision tasks: given a completed history, the policy proposes a revision position and a replacement action. Retrospective branching evaluates each proposal through independent execution using the original task reward. Direct trajectories and revision proposals jointly train one policy; branch rewards update proposal tokens, with evaluation continuations excluded from revision loss. The updated policy collects fresh experience and supplies new failures, forming an online self-evolution loop without additional correction annotations during RL. Across WebShop, ALFWorld, and ScienceWorld, ReBranch with Qwen3-4B achieves average success rates of 78.1% under direct execution and 88.3% with one revision, exceeding GRPO by 1.7 and 8.7 percentage points, respectively. The larger advantage appears with revision, which reaches 90.6% success on WebShop and 74.3% on ScienceWorld. On 200 fixed failures, controlled interventions show that concrete replacement actions improve recovery beyond rerunning execution at the same positions. Online feedback analysis shows additional reward contrasts from failed experience; fixed-pool analysis identifies repeatable recoveries, persistent failures, and score regressions.
Create a lesson
Related papers
Self-Evolve Safely: Quantifying and Mitigating Misevolution in Multimodal Agents with Uncertainty and Intent
Shared title terminologycs.AITarık Ege Bilsel, Ekin Şahin, Ender Enes Tan et al.
Sage-Med-Harness: Scaling Medical Agents with a Co-Evolving Component Ecosystem
Shared title terminologycs.AIJiashi Lin, Jianghan Shen, Chenyu Wang et al.
Self-Context: Graph-Based Context Self-Management for Long-Horizon Agents
Shared title terminologycs.AIZiheng Wang, Chengyi Yang, Renxu Bao et al.
MOV-Evol: Evolving Procedural Memory for Agents Through Maturation, Orchestration, and Valuation
Shared title terminologycs.AIJiayi Tan
MESH: Co-Evolving Beliefs and Solutions for Recursively Self-Improving Discovery
Shared title terminologycs.AISizhe Tang, Tian Lan
Knowing Where Is Not Enough: Evaluating Multimodal Evidence Acquisition in Search Agents
Shared title terminologycs.AIJohn Lau, Ziheng Tan, Chenyu Lu et al.