Introduction
Large Language Model (LLM) agents have demonstrated proficiency in simple web navigation tasks, such as searching for a specific product or opening a shopping cart. However, they frequently struggle with complex, multi-step "chores" that require long-horizon planning, data extraction, and logical reasoning under constraints. For instance, a task like "Find the top 3 products with the highest number of reviews in Home Audio under $1,000" often leads to cognitive overload in standard agents. These agents attempt to navigate, extract data, and perform mental math in a single interleaved process, frequently resulting in hallucinations or logic errors.
WebDART (Decomposition & Adaptive Re-planning for Tasks) addresses this by teaching agents to "divide and conquer." It is a training-free framework that modularizes web tasks into three distinct phases: navigation, information extraction, and execution. By separating these concerns, WebDART enables agents to handle complex data processing without compromising their navigation capabilities.
Methodology
WebDART introduces a three-stage pipeline powered by a single frozen LLM, emphasizing a systematic separation of concerns. This modularity ensures that the agent's reasoning remains robust even as task complexity increases.
Dynamic Decomposition
The agent first splits the high-level objective into three sequential sub-objectives:
- Navigation ($T_{nav}$): The agent explores the web environment to locate all relevant pages. This phase focuses purely on movement and discovery.
- Information Extraction ($T_{ie}$): Once relevant pages are found, the agent converts raw HTML or accessibility trees into structured JSON records. This creates a clean data interface for subsequent processing.
- Execution ($T_{exec}$): Finally, the agent runs Python code over the extracted data to perform filtering, sorting, or final aggregations. This offloads mathematical and logical reasoning to a precise execution environment.
Dynamic Re-planning and Fast-path Routing
A key innovation is the Dynamic Re-planning module. While an initial plan might be exhaustive (e.g., "visit all listing pages"), the agent can adapt mid-navigation if it discovers "shortcuts" like filter widgets or sort buttons. This opportunistic behavior allows the agent to pivot to more efficient strategies, significantly reducing the number of required navigation steps.
To maintain efficiency for simpler tasks, WebDART includes a Fast-path Routing mechanism. This lightweight router identifies tasks that do not require complex data processing and allows them to bypass the extraction and execution stages, optimizing both token usage and latency.
Experimental Evaluation
The framework was evaluated on two primary benchmarks: WebChoreArena, a high-difficulty benchmark specifically designed for complex chores across domains like Shopping, Reddit, Admin, and GitLab; and WebArena, the industry standard for general web navigation.
Key Results
- Performance Boost: WebDART improved success rates on WebChoreArena by up to 13.7 percentage points compared to previous state-of-the-art agents like AgentOccam.
- Efficiency Gains: The dynamic re-planning module proved highly effective. In the Shopping domain, it reduced average navigation steps from 32.9 to 18.2, representing a nearly 45% improvement in operational efficiency.
- Generalization: WebDART achieved a 48.1% success rate on WebArena, matching or exceeding existing SOTA performance. This demonstrates that the framework is general-purpose and does not degrade performance on simpler tasks.
Discussion and Limitations
By offloading data analysis to a dedicated execution phase using Python, WebDART avoids the "fragile reasoning" common in LLM-based navigation loops. The use of structured JSON as a bridge between the web environment and execution code provides a robust interface that minimizes errors.
However, several limitations remain. The current implementation relies on text-based accessibility trees rather than multimodal (vision-based) inputs. Furthermore, while WebDART improves the workflow, the overall success rate on the most complex chores remains around 31%. This indicates that while the workflow is significantly improved, the underlying reasoning capabilities of current LLMs still have a long way to go to match human-level web automation.
Conclusion
WebDART demonstrates that modularizing complex web tasks into navigation, extraction, and execution—combined with adaptive re-planning—significantly enhances the reliability and efficiency of LLM agents. This "divide and conquer" approach provides a robust blueprint for the next generation of autonomous web assistants, moving beyond simple navigation toward sophisticated task completion.
Summary updated