Skip to main content
QUICK REVIEW

[Paper Review] STRUCTUREDAGENT: Planning with AND/OR Trees for Long-Horizon Web Tasks

ELita Lobo, Xu Chen|arXiv (Cornell University)|Mar 5, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

StructuredAgent introduces dynamic And/Or tree planning with a structured memory module to tackle long-horizon web tasks, achieving superior performance and providing interpretable plans across WebVoyager, WebArena, and a shopping benchmark.

ABSTRACT

Recent advances in large language models (LLMs) have enabled agentic systems for sequential decision-making. Such agents must perceive their environment, reason across multiple time steps, and take actions that optimize long-term objectives. However, existing web agents struggle on complex, long-horizon tasks due to limited in-context memory for tracking history, weak planning abilities, and greedy behaviors that lead to premature termination. To address these challenges, we propose STRUCTUREDAGENT, a hierarchical planning framework with two core components: (1) an online hierarchical planner that uses dynamic AND/OR trees for efficient search and (2) a structured memory module that tracks and maintains candidate solutions to improve constraint satisfaction in information-seeking tasks. The framework also produces interpretable hierarchical plans, enabling easier debugging and facilitating human intervention when needed. Our results on WebVoyager, WebArena, and custom shopping benchmarks show that STRUCTUREDAGENT improves performance on long-horizon web-browsing tasks compared to standard LLM-based agents.

Motivation & Objective

  • Address the limitations of current LLM-based web agents in long-horizon tasks (memory, planning, and robustness).
  • Propose a hierarchical And/Or planning framework that interleaves planning and execution for adaptive decision-making.
  • Introduce a structured memory module to track candidate entities and constraints during information seeking.
  • Provide interpretable hierarchical plans to facilitate debugging and human intervention.
  • Demonstrate effectiveness on WebVoyager, WebArena, and a complex shopping benchmark.

Proposed method

  • Represent tasks with an And/Or planning tree consisting of AND, OR, and ACTION nodes.
  • Use an LLM as a high-level controller to issue localized tree-manipulation directives while the framework handles tree construction and traversal.
  • Employ a greedy, iterative depth-first search to expand and prune the And/Or tree with dynamic revisions and error backpropagation.
  • Implement tree operations: Node Expansion, Node Repair, Global Tree Update, and Node Completion Check guided by an Observation Summarizer.
  • Introduce a Structured Memory module that maintains a dynamic candidate-entity table and retrieves top-K candidates satisfying constraints to guide decisions.
Figure 1 : Illustration of StructuredAgent solving a web task via greedy DFS of a dynamically constructed And/Or tree. The root node represents the task objective and is expanded into subtasks that are progressively refined and executed. Node types are color-coded to distinguish OR ( $\vee$ ), AND (
Figure 1 : Illustration of StructuredAgent solving a web task via greedy DFS of a dynamically constructed And/Or tree. The root node represents the task objective and is expanded into subtasks that are progressively refined and executed. Node types are color-coded to distinguish OR ( $\vee$ ), AND (

Experimental results

Research questions

  • RQ1Does StructuredAgent improve success rates on long-horizon web tasks compared to strong baselines across multiple benchmarks and backbones?
  • RQ2How does hierarchical And/Or planning with dynamic revisions and error backpropagation affect reliability and interpretability of web-task execution?
  • RQ3What is the impact of the Structured Memory module on constrained information-seeking tasks?
  • RQ4Do the benefits of StructuredAgent generalize across different model families (e.g., Claude, Kimi-k2, GPT-based backbones)?

Key findings

  • StructuredAgent achieves the highest average on Amazon Easy tasks (83.3% in the reported evaluation).
  • StructuredAgentMem boosts Amazon Hard performance by about 5% under human evaluation.
  • On WebVoyager Easy, StructuredAgent is competitive with baselines, with only a small drop (~1.5%).
  • StructuredAgent outperforms baselines on WebArena Shopping and Reddit tasks by about 6% to 20% in overall performance.
  • The benefits of hierarchical planning persist when using a stronger backbone model (Claude 3.7).
  • The approach generalizes to model families beyond Claude (e.g., Kimi-k2-0905), though long-context sensitivity can affect gains.
(a) WebVoyager
(a) WebVoyager

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.