Pushing the Error Frontier: Recursive Self-Improvement of Long-Horizon Agents via Frontier-Aligned Self-Distillation
Yuyang Hu, Yashu Liu, Tong Zhao, Xuanyu Zhou, Hongjin Qian, Jiajie Jin, Ling Huang, Zhicheng Dou
原文摘要
LLM-based agents can now handle longer tasks, such as web shopping and browser navigation. They often do well in the early steps but get stuck later. Outcome-based training such as group relative policy optimization (GRPO) offers little feedback about where these bottlenecks lie or how to overcome them. Another recent approach, on-policy distillation (OPD), provides dense feedback, but dense feedback alone does not specify where teaching should begin or when a rule should stop supervising. We argue that teaching should focus on the current bottleneck and advance as the agent learns. We introduce the error frontier: the position separating a mastered prefix, which the agent executes reliably, from an unmastered suffix, where progress becomes less reliable and success less likely. Our insight is to turn hindsight at this position into supervision for overcoming the bottleneck. We propose FRONTIERSD to combine frontier localization with local self-distillation. Entropy recall and action-support comparison select the teaching position, where the agent extracts a hindsight rule and distills rule-guided predictions in the original decision context. Rule influence controls teaching strength and scope, alongside full-trajectory GRPO. After initialization with externally labeled examples, the same agent generates fresh trajectories and rules for successive updates, forming a recursive self-improvement loop. We evaluate Qwen3-1.7B and Qwen3-4B in four environments without guidance at test time. FrontierSD improves success on WebShop, ALFWorld seen, and MiniHack at both scales. The 4B gains over the strongest reported baselines are 4.3 and 10.8 percentage points on WebShop and ALFWorld seen, respectively; success on ALFWorld unseen reaches 91.8%. During training, teaching generally moves to later positions and guidance is triggered less often, consistent with an expanding mastered prefix.
cs.AI · cs.CL