University of Haifa Exposes Why Web AI Agents Fail Beyond Pass or Fail
A new taxonomy maps LLM web agents to classical search algorithms, adds five trajectory-level metrics, and releases 794 human-annotated WebArena traces.
ProTakeaways
- Taxonomy maps LLM web agents to classical search: Step-by-Step to BFS, Tree Search to best-first, Full-Plan-in-Advance to DFS.
- Five new trajectory metrics: step success, element accuracy, repetitiveness, recovery, and partial success rates.
- Dataset of 794 human-annotated gold trajectories covering nearly all WebArena tasks.
- WebArena Step-by-Step agent: 38.41% success; new Full-Plan-in-Advance agent: 36.29% success.
- Full-Plan-in-Advance wins on element accuracy (89%) and structured domains like e-commerce and Reddit.
- Both agents use roughly 2-3x more steps than humans, revealing large efficiency gaps.
LLM-based web agents keep piling up on benchmarks, but almost every one is evaluated with a single number: did the task pass or fail. A new paper from the University of Haifa argues that binary success rates hide most of what actually matters, and proposes a framework that borrows from decades of classical AI planning to explain why agents fail and how to compare them properly.
The authors formalize web browsing as a partially observable Markov decision process and then sort current LLM agent architectures into three planning paradigms. Step-by-Step agents (like the default WebArena agent and Mind2Web) behave like breadth-first search: they pick one action, observe the new state, and repeat. Tree Search agents maintain an explicit search tree and use a value function to score branches, which maps to best-first search. Full-Plan-in-Advance agents generate the entire action sequence up front and execute it, which the authors argue is conceptually depth-first search.
Why the black box is a problem
Current LLM agents often operate as black-box decision-makers, where the complex planning and reasoning processes are implicitly embedded within the model and guided only by natural language. That makes failure modes hard to diagnose. The paper singles out two recurring ones: context drift, where the agent gradually loses sight of its original goal as recent observations crowd it out of the prompt, and incoherent task decomposition, where the plan itself is inconsistent. Different planning paradigms handle these differently, which is why forcing an agent to hold a full plan in its prompt at every step acts as external memory against drift.
Five metrics that go beyond pass or fail
The bigger practical contribution is an evaluation suite that scores the trajectory rather than the endpoint. The five metrics:
- Step Success Rate: fraction of human gold steps the agent actually fulfilled.
- Element Accuracy: how often the action the agent said it would take matches the action it actually executed.
- Repetitiveness Rate: penalizes agents that keep firing the same action against the same observation.
- Recovery Rate: after a deviation from the human trajectory, how often the agent gets back on track.
- Partial Success Rate: for tasks needing multiple answers (e.g. list all US states bordering Connecticut), what fraction the agent produced.
All of the semantic matching (is this agent action equivalent to this human action?) is done with an LLM-as-judge using chain-of-thought prompts, following the G-Eval methodology.
A dataset of 794 human trajectories
To make reference-based metrics work, the authors hand-annotated gold-standard execution traces for 794 out of 812 WebArena tasks, recording the action type and the target element for every step taken during task completion. That is a genuinely useful resource for anyone building or debugging web agents, and both the dataset and metric code are linked from the paper.

Head-to-head: BFS vs DFS on WebArena
To stress-test the framework the authors built a Full-Plan-in-Advance agent (which did not exist as a standalone architecture before) and compared it against the stock WebArena Step-by-Step agent. Both use GPT-4o-mini at temperature 1.0 and top-p 0.95, cap out at 30 steps, and share the same environment and action space (click, type, hover, scroll, tab management, goto).
The WebArena agent achieves an overall success rate of 38.41%, while the Full-Plan-in-Advance agent obtains 36.29%. The interesting story is in the sub-metrics:
| Metric | Full-Plan-in-Advance | WebArena (Step-by-Step) |
|---|---|---|
| Overall Success | 36.29% | 38.41% |
| Step Success Rate | 58% | 82% |
| Element Accuracy | 89% | 82% |
| Repetitiveness Rate | 81% | 79% |
| Recovery Rate | 31% | 36% |
| Avg. trajectory length | 20.2 steps | 15.0 steps |
Humans finished the same tasks in about 7.9 steps on average, so both agents are burning roughly 2 to 3x more actions than needed.

When each paradigm actually wins
The nuance the paper draws out is that neither agent is universally better. Full-Plan-in-Advance beats Step-by-Step on Reddit and e-commerce, where page layouts are rigid and predictable, but loses on CMS, GitLab, and Map, where the DOM is data-dependent and unpredictable. The takeaway for anyone building production agents:
- Use Step-by-Step when the environment is dynamic or partially observable, DevOps dashboards, EHR portals, social feeds, anywhere the next page depends on live state.
- Use Full-Plan-in-Advance for structured pipelines with rigid business logic, enterprise ERP portals, checkout flows, CMS publishing.
The real breakthrough here is not a new SOTA number, it's a common vocabulary. Mapping LLM agents onto classical BFS/DFS/best-first search gives researchers a way to reason about why an agent failed rather than just noting that it did, and the trajectory-level metrics finally let you tell apart an agent that got 4 out of 5 review items from one that produced nothing. For anyone tuning a web agent, the code and dataset are worth grabbing before rerunning the same success-rate spreadsheet again.