Why Do LLM-based Web Agents Fail? A Hierarchical Planning Perspective
Organizations: Department of Computer Science, George Mason University
Abstract
Large language model (LLM) web agents are increasingly used for web navigation but remain far from human reliability on realistic, long-horizon tasks. Existing evaluations focus primarily on end-to-end success, offering limited insight into where failures arise. We propose a hierarchical planning framework to analyze web agents across three layers (i.e., high-level planning, low-level execution, and replanning), enabling process-based evaluation of reasoning, grounding, and recovery. Our experiments show that structured Planning Domain Definition Language (PDDL) plans produce more concise and goal-directed strategies than natural language (NL) plans, but low-level execution remains the dominant bottleneck. These results indicate that improving perceptual grounding and adaptive control, not only high-level reasoning, is critical for achieving human-level reliability. This hierarchical perspective provides a principled foundation for diagnosing and advancing LLM web agents.
Figures & tables
| Human Step | NL (LLM-generated) Step | PDDL (LLM-generated) Step |
|---|---|---|
| Set the search criteria to include Audi cars made between 1992 and 2015. | Apply a year filter to restrict results to model years before 2015 (i.e., 2014 and earlier). | (filter_by_year "before 2015") |
| Go to the E-Gift card purchase page. | Navigate to the e-gift card section. | (open_gift_card_section) |
| Add the highest rated activity to your wish list. | From the results, identify the card with the highest rating and open its details by clicking on that card. Add the identified experience to your wishlist by clicking the Save to Wishlist (or Add to Wishlist) control on the details page. | (select_top_result) ; (add_to_wishlist) |
| Unmatched LLM steps (reference human plan shown below): | ||
| 1. Navigate to the ’The Legend of Zelda: Breath of the Wild’ game page. | If no suitable walkthrough is found, perform an alternate search for Breath of the Wild guides (in Nintendo or Games sections) | (verify_walkthrough_loaded) |
| 2. Access the walkthrough section for ’The Legend of Zelda: Breath of the Wild’ | ||
| Before Replanning | After Replanning | |||
| NL | PDDL | NL | PDDL | |
| Perfect Match | 60.6 | 67.7 | 56.1 | 59.0 |
| Partial | 5.7 | 7.4 | 6.1 | 6.9 |
| Missing | 4.2 | 2.2 | 4.0 | 14.5 |
| Decomposed | 29.5 | 22.7 | 33.8 | 19.6 |
| Unmatched | 29.4 | 15.4 | 35.0 | 15.4 |
| Human | NL | PDDL | |
|---|---|---|---|
| # High-level subgoals | 3.04 | 5.51 | 4.39 |
| # Low-level actions | 7.08 | 11.94 | 8.89 |
| Metric | Action Object | Action ID | Expanded |
|---|---|---|---|
| Hallucination Rate | 34.0 | 2.0 | 3.0 |
| Failure Mode | Rate (%) | Base Category |
|---|---|---|
| Repetitions | 10.4 | of failures |
| Hallucinated links | 32.0 | of goto actions |
| Redundant actions | 34.2 | of all actions |
| Out-of-domain links | 16.7 | of all actions |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| NL | PDDL | |
| Perfect Match | 54.9 | 66.7 |
| Partial | 6.8 | 4.8 |
| Missing | 7.5 | 7.3 |
| Decomposed | 30.8 | 21.2 |
| Unmatched | 17.4 | 10.1 |
| Matched | 83.6 | 89.9 |
| NL | PDDL | |
|---|---|---|
| # High-level steps | 4.89 | 3.70 |
| # Low-level actions | 11.0 | 10.6 |
| Failure Mode | Rate (%) | Base Category |
|---|---|---|
| Repetitions | 16.7 | of failures |
| Hallucinated links | 25.3 | of goto actions |
| Redundant | 23.6 | of all actions |
| Out-of-domain links | 16.9 | of all states |
| NL | PDDL | |
| Perfect Match | 61.4 | 64.3 |
| Partial | 8.5 | 7.2 |
| Missing | 11.6 | 12.4 |
| Decomposed | 18.5 | 16.1 |
| Unmatched | 21.6 | 18.3 |
| Matched | 78.4 | 81.7 |
| Failure Mode | Rate (%) | Base Category |
|---|---|---|
| Repetitions | 6.70 | of failures |
| Hallucinated links | 31.2 | of goto actions |
| Redundant | 41.2 | of all actions |
| Out-of-domain links | 14.7 | of all actions |
| NL | PDDL | |
|---|---|---|
| # High-level steps | 3.63 | 3.19 |
| # Low-level actions | 8.55 | 8.25 |
Web Agents
Web agents use language and vision models to navigate websites, gather information, and complete tasks through interactive interfaces.
See all 167 papers