Branch-and-Browse: Efficient and Controllable Web Exploration with Tree-Structured Reasoning and Action Memory
Shiqi He, Yue Cui, Xinyu Ma, Yaliang Li, Bolin Ding, Mosharaf Chowdhury
TL;DR
Branch-and-Browse tackles the challenge of long-horizon web tasks by modeling exploration as a subtask-aware, tree-structured search that integrates reasoning, action, and contextual memory. It introduces a subtask manager, a tree exploration strategy with replay-enabled backtracking, nearest-URL state replay, background reasoning, and a page action memory to share knowledge across branches. On WebArena, it achieves a 35.8% task success rate and up to a 40.4% reduction in execution time compared to prior methods, demonstrating both depth of reasoning and exploration efficiency. This work advances practical LLM-based web agents capable of operating in dynamic, partially observable environments.
Abstract
Autonomous web agents powered by large language models (LLMs) show strong potential for performing goal-oriented tasks such as information retrieval, report generation, and online transactions. These agents mark a key step toward practical embodied reasoning in open web environments. However, existing approaches remain limited in reasoning depth and efficiency: vanilla linear methods fail at multi-step reasoning and lack effective backtracking, while other search strategies are coarse-grained and computationally costly. We introduce Branch-and-Browse, a fine-grained web agent framework that unifies structured reasoning-acting, contextual memory, and efficient execution. It (i) employs explicit subtask management with tree-structured exploration for controllable multi-branch reasoning, (ii) bootstraps exploration through efficient web state replay with background reasoning, and (iii) leverages a page action memory to share explored actions within and across sessions. On the WebArena benchmark, Branch-and-Browse achieves a task success rate of 35.8\% and reduces execution time by up to 40.4\% relative to state-of-the-art methods. These results demonstrate that Branch-and-Browse is a reliable and efficient framework for LLM-based web agents.
