Skip to main content
Back

George Mason Proves Better Planning Won't Fix Broken Web Agents

A new hierarchical evaluation framework pinpoints where web agents break down, showing execution, not planning, is the real bottleneck.

Pro

  • New three-layer framework separates web agent failures into planning, execution, and replanning.
  • PDDL plans beat natural language: 84.6% vs 70.6% match with human-authored subgoals.
  • Even given perfect human plans, gpt-5-nano only reaches 36.4% task success rate.
  • 32% of goto actions hit hallucinated links; 34% of all actions produce no DOM change.
  • One round of replanning after exploration substantially boosts subgoal completion despite drifting from human abstractions.
  • Code and enriched benchmark released at github.com/Ziyu-Yao-NLP-Lab/llm-hierarchical-web-agents.

Web agents built on large language models keep getting better at reasoning, but they still trip over the messy reality of live websites. A new study from George Mason University argues that the whole field has been measuring the wrong thing. By breaking agents into three functional layers and probing each one separately, the researchers show that the popular narrative of better planning yielding better agents misses where failures actually happen.

The paper, Why Do LLM-based Web Agents Fail? A Hierarchical Planning Perspective, proposes a diagnostic framework that separates high-level planning from low-level execution and replanning, then evaluates each independently. The analysis reveals three key findings: LLMs generate more effective high-level plans when prompted using Planning Domain Definition Language (PDDL), LLM performance is limited by perceptual grounding and control, and a single round of replanning informed by exploratory feedback substantially improves both subgoal completion and overall task success.

The problem with end-to-end scoring

Most web agent benchmarks report a single number: did the task succeed or not. That tells you nothing about why an agent failed. Did it misread the task, pick the wrong element on the page, or fail to recover from an unexpected pop-up? Aggregate success rates obscure the sources of agent failure by conflating planning errors, execution mistakes, and ineffective feedback use.

The authors' fix is to treat an agent as a three-layer system that mirrors classical planning literature and human problem-solving:

  • High-level planning: decompose the instruction into abstract subgoals like "filter by price" or "select top result"
  • Low-level execution: turn each subgoal into concrete UI actions (clicks, form fills, selects)
  • Replanning: detect when things go sideways and revise the plan
Hierarchical planning framework diagram showing high-level planning, low-level execution, postcondition checking, and replanning

Testing PDDL against natural language

One of the more interesting experiments compares two ways of expressing plans. Natural language plans are free-form prose. PDDL, the Planning Domain Definition Language, is a formal representation borrowed from classical AI planning that forces explicit preconditions and effects on every action, like (filter_by_price "low") with declared state changes.

Using an extended version of the Mind2Web-Live benchmark with expert-annotated subgoals as ground truth, the team measured how closely LLM-generated plans matched human ones. 60.6% of steps in natural language plans and 67.7% in PDDL-based plans correspond directly to human-annotated ones, suggesting that while LLMs capture the overall task structure, they often fail to match the abstraction level of human reasoning. PDDL's advantage grows on the noise metrics: 29.4% of NL and 15.4% of PDDL steps are unmatched to any human subgoal, revealing redundant or spurious actions.

PDDL plans are also more compact. Human-authored plans averaged 3.04 high-level subgoals, PDDL 4.39, and NL 5.51, with corresponding low-level actions of 7.08, 8.89, and 11.94. Symbolic constraints, in effect, cut the verbosity.

Execution is where agents actually break

Here is the finding that reorients the discussion. Even when researchers handed the agent perfect human-written plans, gpt-5-nano only achieved a 38.5% plan completion rate and a 36.4% final success rate. Fixing the planning problem does not fix the agent.

The failure modes cluster around perception and state tracking. Across all actions produced by gpt-5-nano:

  • 32% of goto actions lead to hallucinated links that do not exist
  • 34.2% of actions are redundant, producing no change in the DOM
  • 16.7% of actions go outside the required domain entirely
  • 10.4% of failures come from repeating the same action more than three times

The action representation matters too. Hallucination rates for invalid actions were 34.0% when the model generates full action objects, versus 2.0% when selecting from an action ID list and 3.0% for an expanded action space. Free-form generation invites made-up UI operations.

Replanning helps, but not how you would expect

A single round of replanning yielded a significantly higher subgoal completion rate, implying that planning after exploring the environments leads to more executable plans. The catch: those revised plans diverge further from what a human would write. Alignment with human plans actually degrades after replanning, yet execution improves. That suggests the LLM is trading human-like abstraction for environment-fitted concreteness, which is arguably what you want.

How the models compare

The team ran the same evaluation on three cost-similar models. gpt-5-nano led, but each model failed differently:

ModelSuccess rate (human plans)Notable weakness
gpt-5-nano36.4%Redundant actions
claude-haiku-4.529.2%Highest repetition rate
gemini-flash-2.517.3%41.2% redundant actions, weakest execution

Claude does not instantiate goto and google_search actions as often as the other models and achieves the lowest rate of hallucinated links, but it has the highest rate of repetitions, indicating a lower ability to use feedback.

Why this matters for anyone building agents

The takeaway is architectural. Piling more chain-of-thought onto the planner will not close the gap to human reliability if the executor cannot ground a subgoal into the right DOM click. The authors recommend treating planning and execution as separate skills with separate tooling, designing action spaces that let the model signal uncertainty rather than forcing a click, and making process-based evaluation standard.

The evaluation framework and enriched Mind2Web-Live data are open source, available in the llm-hierarchical-web-agents repository. For anyone shipping a web agent, this is a diagnostic toolkit rather than a new model, and it turns the vague question of "why did it fail" into a set of layer-specific metrics you can actually track.