Skip to main content
QUICK REVIEW

[Paper Review] AI Planning Framework for LLM-Based Web Agents

Orit Shahnovsky, Rotem Dror|arXiv (Cornell University)|Mar 13, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

The paper maps LLM-based web agents to classical planning paradigms, introduces a comprehensive evaluation framework with novel metrics, creates a 794-trajectory reference dataset on WebArena, and compares Step-by-Step vs Full-Plan-in-Advance agents.

ABSTRACT

Developing autonomous agents for web-based tasks is a core challenge in AI. While Large Language Model (LLM) agents can interpret complex user requests, they often operate as black boxes, making it difficult to diagnose why they fail or how they plan. This paper addresses this gap by formally treating web tasks as sequential decision-making processes. We introduce a taxonomy that maps modern agent architectures to traditional planning paradigms: Step-by-Step agents to Breadth-First Search (BFS), Tree Search agents to Best-First Tree Search, and Full-Plan-in-Advance agents to Depth-First Search (DFS). This framework allows for a principled diagnosis of system failures like context drift and incoherent task decomposition. To evaluate these behaviors, we propose five novel evaluation metrics that assess trajectory quality beyond simple success rates. We support this analysis with a new dataset of 794 human-labeled trajectories from the WebArena benchmark. Finally, we validate our evaluation framework by comparing a baseline Step-by-Step agent against a novel Full-Plan-in-Advance implementation. Our results reveal that while the Step-by-Step agent aligns more closely with human gold trajectories (38% overall success), the Full-Plan-in-Advance agent excels in technical measures such as element accuracy (89%), demonstrating the necessity of our proposed metrics for selecting appropriate agent architectures based on specific application constraints.

Motivation & Objective

  • Formalize web tasks as sequential decision-making processes to analyze LLM-based web agents.
  • Introduce a taxonomy mapping modern agent architectures to traditional planning paradigms.
  • Develop novel evaluation metrics that assess trajectory quality beyond success rates.
  • Create a 794-trajectory, human-labeled dataset for benchmarking planning performance on WebArena.
  • Compare Step-by-Step and Full-Plan-in-Advance agents to demonstrate metric utility and planning impacts.

Proposed method

  • Propose a planning-based taxonomy: Step-by-Step (BFS-like), Tree Search (Best-First search with a value function), and Full-Plan-in-Advance (DFS-like).
  • Implement a Full-Plan-in-Advance agent that generates and follows a complete plan using an Accessibility Tree representation of web pages.
  • Represent web pages as Accessibility Trees and use prompts to generate, accompany, and execute multi-step plans.
  • Introduce five novel evaluation metrics (Recovery Rate, Repetitiveness Rate, Step Success Rate, Partial Success Rate, Element Accuracy Rate) for trajectories.
  • Use LLM-as-a-judge for semantic comparison between human gold steps and agent steps to compute metrics.
  • Evaluate on the WebArena dataset (812/794 trajectories annotated) using GPT-4o-mini with exploration settings.
  • Demonstrate that Step-by-Step aligns more with human gold trajectories (38.41% overall success) while Full-Plan-in-Advance excels in element accuracy (89%).
Figure 1. An example step from task 40 illustrating the agent’s decision-making process. The pink section, labeled A represents the previous action , the top gray section, labeled B details the agent’s reasoning process , the bottom gray section, labeled C , contains meta data , which we did not inc
Figure 1. An example step from task 40 illustrating the agent’s decision-making process. The pink section, labeled A represents the previous action , the top gray section, labeled B details the agent’s reasoning process , the bottom gray section, labeled C , contains meta data , which we did not inc

Experimental results

Research questions

  • RQ1How can modern LLM-based web agents be categorized within traditional AI planning paradigms?
  • RQ2What planning framework best mitigates issues like context drift and incoherent task decomposition in web tasks?
  • RQ3Can new trajectory-centric evaluation metrics reveal strengths/weaknesses of different planning strategies beyond final task success?
  • RQ4Does a Full-Plan-in-Advance planning approach improve technical measures such as element accuracy compared to Step-by-Step?
  • RQ5How can human gold trajectories be used to benchmark and diagnose planning failures in web agents?

Key findings

  • Step-by-Step agents show higher alignment with human gold trajectories on overall success (38.41%).
  • Full-Plan-in-Advance agents achieve higher element accuracy (89%).
  • A new 794-trajectory, human-labeled WebArena dataset was created to benchmark planning performance.
  • Five evaluation metrics capture trajectory quality beyond binary success metrics.
  • The framework enables diagnosis of failures due to context drift and incoherent task decomposition.
  • Experimental results demonstrate the necessity of trajectory-aware metrics for selecting architectures per application constraints.
Figure 2. Success rates of Step-by-Step agent and Full-Plan-in-Advance agent on the WebArena benchmark divided to success on each domain.
Figure 2. Success rates of Step-by-Step agent and Full-Plan-in-Advance agent on the WebArena benchmark divided to success on each domain.

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.