🤖 AI Summary
This study addresses the data inefficiency and limited generalization arising from flattened training of multi-step agents, which neglects subroutine reuse. To this end, we propose the Reusable Experience Tree (X-Tree), a framework that automatically merges action spans into hierarchical tree structures via statistical scoring. X-Tree seamlessly integrates these structures into three training paradigms: offline reinforcement learning, online RLVR, and self-distillation. Crucially, it incorporates hierarchical priors directly into weight optimization without requiring additional large model invocations. Experimental results demonstrate that X-Tree improves success rates by up to 5.8% on benchmarks such as WebArena, significantly outperforming standard baselines.
📝 Abstract
Multi-step agents are trained on flat action streams: SFT and RLVR weight every token uniformly and ignore the sub-procedures that recur across tasks, the hierarchy that lets humans plan top-down from reusable routines. This structure sits unused, and flat training uses each scarce trajectory less fully than its content allows. Recent agents do use that structure, but only as LLM-written skills in context, never in the weights, so their gains do not generalize beyond retrieval. We instead recover this hierarchy from the data itself and train on it, with no LLM calls. Following text tokenizers, which build a vocabulary by counting alone, we score action spans by reusability and merge canonicalized actions into a reusable eXperience tree (X-Tree). Each X-Tree node captures how a frequent and success-bearing skill is composed from sub-skills, guiding efficient generalization. We integrate X-Tree into three training settings: offline RL, with each node as a training instance; online RLVR, with an adaptive skill bonus; and on-policy self-distillation, with X-Tree as the self-teacher's privileged context. Across WebArena, ScienceWorld, and WebShop at three model scales, X-Tree improves over standard recipes at matched data and budget by up to 4.5% SR on WebArena, 5.8% SR on ScienceWorld and 4.1% success on WebShop. Matched analyses attribute the gains to the X-Tree structure and the three integrations.