ReBranch:通过回溯分支实现自进化智能体
ReBranch: Self-Evolving Agents through Retrospective Branching
AI总结:
ReBranch将智能体失败转化为修正任务,通过回溯分支训练策略形成自进化循环,在WebShop等环境中较GRPO提升了任务成功率。
摘要:
失败的交互可揭示重新审视早期决策的依据,但终端奖励未指明干预位置或尝试的动作。本文提出ReBranch,将智能体的失败转化为修正任务:给定一段已完成的历史,策略会提出修正位置与替代动作;回溯分支通过使用原始任务奖励的独立执行来评估每个提议。直接轨迹与修正提议共同训练一个策略,分支奖励用于更新提议标记,且评估延续部分不纳入修正损失。更新后的策略收集新经验并产生新的失败,形成强化学习过程中无需额外修正标注的在线自进化循环。在WebShop、ALFWorld和ScienceWorld三个环境中,采用Qwen3-4B的ReBranch在直接执行下的平均成功率为78.1%,进行一次修正后的平均成功率为88.3%,分别超过GRPO 1.7和8.7个百分点;修正带来的优势更显著,在WebShop上的修正成功率达90.6%,在ScienceWorld上为74.3%。对200个固定失败案例的受控干预实验显示,具体的替代动作能提升恢复效果,优于在相同位置重新执行;在线反馈分析从失败经验中发现额外奖励差异,固定池分析则识别出可重复恢复、持续失败及分数下降的情况。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。