Research
WebGraphEval: Multi-Turn Trajectory Evaluation for Web Agents using Graph Representation
Overview Research area: Evaluation methodology for LLM-based web navigation agents (AI agents that operate browsers to complete tasks). Technical level: Intermediate. The paper is readable without dee
- arXiv
- 2510.19205
- Published
- 2025-10-22
- Authors
- Yaoyao Qian, Yuanli Wang, Jinda Zhang, Yun Zong, Meixu Chen, Hanhan Zhou, Jindan Huang, Yifan Zeng, Xinyu Hu, Chan Hee Song, Danqing Zhang
AI summary
Overview
- Research area: Evaluation methodology for LLM-based web navigation agents (AI agents that operate browsers to complete tasks).
- Technical level: Intermediate. The paper is readable without deep math, but familiarity with web-agent benchmarks (WebArena, Mind2Web), LLM-as-a-Judge evaluation, and basic graph concepts helps.
- Scope: The paper proposes WebGraphEval, a framework that aggregates thousands of agent trajectories from six web-agent frameworks into a single weighted action graph and derives evaluation metrics (reward propagation, success-weighted edge classification, action necessity, efficiency) from that graph.
What This Paper Is About
Current web-agent evaluation reduces performance to a binary success/failure verdict or to how closely a trajectory matches one reference path, which discards the information contained in the many valid ways a task can be solved. WebGraphEval instead merges trajectories from many agents into one directed, weighted graph of canonicalized actions and transitions, then analyzes that graph to reveal shared strategies, redundant or inefficient behavior, and critical decision points. The goal is a multi-path, cross-agent, efficiency-aware evaluation method that works directly on top of existing benchmarks such as WebArena without modifying the environments.
Key Contributions
- WebGraphEval framework. A graph-based evaluation framework that aggregates multiple trajectories into a weighted action graph, capturing both shared strategies and divergent behaviors that outcome-based or conformity-based methods overlook.
- Cross-agent and benchmark compatibility. The framework is applied to leaderboard trajectories plus newly collected runs from WebArena, covering six different agents, showing it works directly with existing benchmarks and enables systematic cross-model comparison.
- Analytical methods. Canonicalization of actions, node merging, reward propagation, and success-weighted edge statistics, which allow task difficulty, agent efficiency, and decision points to be studied in a unified way.
- Practical protocol and tool. An LLM-based annotation protocol that assigns necessity labels with 78% agreement against human judgments, plus a visualization interface (https://web-graph-eval.vercel.app/) for exploring trajectories before and after graph construction.
Main Findings
- Wide performance spread across agents. Zeta Labs Jace.AI is the strongest overall performer at 64.78% success rate, while OpenAI-CUA is lowest at 27.97%; total success across the dataset is 45.75% (2,180 successes, 2,588 failures). Over three evaluation runs, rates were Jace.AI 64.86% ± 0.43, IBM CUGA 59.70% ± 0.14, Learn by Interact 53.74% ± 0.43, UI-TARS 38.88% ± 0.35, OpenAI-CUA 28.55% ± 0.07, and BrowserUse 27.66% ± 0.15.
- Efficiency and effectiveness are decoupled. IBM CUGA averages 5.3 steps and BrowserUse 15.6 steps. UI-TARS has the highest necessity rate (82.0%) but only a 38.74% success rate, showing that minimizing redundant actions alone does not guarantee correct decisions at critical points.
- Necessity is a learnable signal. Necessity rises from 68% on first attempts to over 83% after ten attempts on the same tasks.
- Most actions are necessary, but a sizeable minority are not. 76.7% of the 40,888 actions are labeled necessary, leaving 23.3% exploratory or redundant. By action type: Type 82.0%, Select 79.7%, Click 78.2%, and "other" actions 70.2%.
- Necessity falls as complexity rises. The share of unnecessary actions grows from 15.8% on simple tasks to 31.1% on very complex tasks. Early actions matter most (84.3% necessity in the first three steps) versus 71.2% later.
- Confidence predicts necessity. High-confidence actions (>0.95) are necessary in 83.4% of cases versus 61.7% for low-confidence actions (<0.85), with r = 0.67, p < 0.001.
- Task complexity shows an inverted-U with success. Simple tasks succeed 44.1%, medium-complexity tasks peak at 54.0%, complex tasks fall to 45.3%, and very complex tasks to 31.0%, a 7.9% degradation from low to high complexity.
- Trajectory length follows an inverted U. Medium-length trajectories (6–10 steps) achieve the highest success rate (53.4%), while short (47.6%) and very long (30.9%) trajectories underperform.
- Step inflation is worst on easy tasks. Average inflation is 2.14× versus the shortest successful path. Simple tasks show the largest inflation (3.18×), while complex and very complex tasks show 1.12× and 0.60×, attributed to survival bias toward near-optimal solutions.
- Agents rarely agree on outcomes. Of 761 tasks attempted by all six agents, only 29 (3.8%) were solved universally and 99 (13.0%) failed universally; the majority (83.2%) showed mixed outcomes.
- Shared structural backbones exist. 89% of successful trajectories begin with similar initial sequences, and 37% of failed trajectories terminate prematurely relative to their successful counterparts.
- Distinct navigation styles. 43% of successful trajectories use direct navigation, 31% exploratory, and 26% hybrid approaches.
- Graph structure predicts difficulty. The paper defines Complexity = (nodes × edges) / trajectories and reports an overall R² = 0.47 for success predictors, with individual weights of 0.31 for trajectory length, 0.28 for task category, 0.19 for graph complexity, and 0.15 for action distribution.
Methodology in Plain English
The pipeline has four stages.
-
Canonicalize trajectories. Each trajectory is an ordered list of actions, where an action has a text description and a URL. Because agents describe the same action differently ("clicked on the 'Submit' button" versus "press Submit"), an LLM maps each description into a standardized function-call schema, for example
click(text='Submit', element='button'). An LLM-as-Judge (using task-specific rules) then labels each trajectory successful or failed. Each action also gets a binary necessity label indicating whether it was essential. -
Build a consensus graph. Actions that are semantically similar are merged into single nodes. Similarity is measured with normalized edit distance, and merging happens in two passes: same-step merging (preserving temporal role) and cross-step merging (capturing recurrent actions anywhere in a trajectory). A deterministic union–find procedure makes merging order-independent, with a similarity threshold of θ = 0.9. Edges are added between adjacent actions in each trajectory, storing occurrence counts, counts under successful versus failed trajectories, and the resulting empirical success rate.
-
Apply two reward mechanisms. Reward backpropagation seeds each terminal state with +1 (success) or −1 (failure) and propagates those values backward through the graph with discount γ = 0.9, so earlier actions inherit credit or blame. Separately, success-weighted edge classification labels each edge by frequency and success ratio into trap edges (frequent but almost always failing), critical edges (rare but consistently successful), bottleneck edges (high-frequency, mixed success, such as form submissions), and normal edges. Node importance is scored by averaging incoming and outgoing edge success ratios and multiplying by visitation frequency.
-
Evaluate behavior multi-dimensionally. Trajectory-level measures include path optimality (observed length versus shortest successful path), necessary-versus-redundant action counts, and where action types fall in early, middle, and late phases. These aggregate into agent-level profiles across task categories, complexity levels, and trajectory lengths. Cross-agent comparison uses entropy-based metrics and clustering over trajectory distributions to measure strategy diversity.
The evaluation data comes from WebArena: 4,768 trajectories from six frameworks attempting 812 unique tasks, yielding 40,431 nodes and 45,656 edges (averaging 49.79 nodes and 56.23 edges per task, and 8.58 steps per trajectory). Of 40,888 actions, 19,380 were clicks (47.4%), 8,312 were type actions (20.3%), and 1,302 were select operations (3.2%). Success judgments used o4-mini-2025-04-16 at temperature 0.1, and necessity labels used GPT-4o-2024-08-06. Canonicalization reached 91% agreement with human annotators (376/411) and necessity judgments 78% (404/520); LLM confidence scores ranged from 0.926 to 0.976. 87.4% of tasks involved at least one merge, though only 5.6% of nodes were merged overall.
Why This Matters
Web-agent leaderboards currently report a single success number per model, which hides whether an agent succeeds by efficient goal-directed action or by luck and detours, and it penalizes valid alternative strategies. WebGraphEval shows that trajectories can be pooled into a shared structure that separates these behaviors, and it argues that structural complexity, step inflation, and action necessity are measurable signals that binary metrics cannot express. The paper also shows cross-framework agreement is very low (only 3.8% of shared tasks solved by all six agents), which argues against treating any one reference path as the definition of correctness.
Real-world applications implied by the work:
- Browser automation vendors could use graph-derived efficiency metrics to diagnose whether an agent wastes steps on easy tasks (where inflation reaches 3.18×) versus hard ones.
- Enterprise task automation such as structured form updates, where IBM CUGA leads at 61%, and content creation, where Jace.AI leads at 66%, could use cross-agent analysis to route tasks to the best-suited agent.
- Agent training and tuning could use necessity labels and the learning curve (68% to over 83% with repeated attempts) as a feedback signal for reducing redundant actions.
- Benchmark maintainers could extend existing datasets with graph analysis without changing environments, since WebGraphEval operates on recorded trajectories.
Industry relevance: the evaluated frameworks come from or are associated with Zeta Labs, IBM, OpenAI, ByteDance (UI-TARS), and BrowserUse, indicating direct relevance to commercial browser-agent deployment. The framework's limitation that many trajectories lack full screenshots also points to a practical constraint for any industry pipeline relying on rich environment context.
Future Directions
- Reduce data dependence. Few-shot graph construction and transfer learning across related tasks could extend the framework to sparse or novel domains where few trajectories exist, since consensus graph reliability depends on having diverse trajectories.
- Improve abstraction. Replace heuristic and LLM-prompt-based canonicalization with learned, semantically informed models for more robust state and action representations, and possibly replace the fixed θ = 0.9 edit-distance threshold with embedding-based similarity or learned clustering.
- Close the loop. Move beyond diagnosis so that consensus graphs inform online decision-making, either by guiding agent exploration at inference time or by serving as a structured reward signal in reinforcement learning.
- Scale up graph construction. The pairwise similarity computation is quadratic in the number of actions; approximate blocking strategies (for example, by action type or host) could reduce it to near-linear, which the authors list as future work.
Target Audience
Researchers and engineers working on web agents, browser automation, and agent benchmarks will get the most from this paper, particularly those who build or maintain evaluation harnesses such as WebArena and want evaluation beyond binary success. It is also relevant to practitioners selecting among commercial web agents on task categories, and to reinforcement-learning researchers interested in using graph structure as a reward or exploration signal. Readers who only need a leaderboard-style comparison may find the framework-level tables (Table 2 and Table 4) sufficient on their own.
Authors’ abstract
Current evaluation of web agents largely reduces to binary success metrics or conformity to a single reference trajectory, ignoring the structural diversity present in benchmark datasets. We present WebGraphEval, a framework that abstracts trajectories from multiple agents into a unified, weighted action graph. This representation is directly compatible with benchmarks such as WebArena, leveraging leaderboard runs and newly collected trajectories without modifying environments. The framework canonically encodes actions, merges recurring behaviors, and applies structural analyses including reward propagation and success-weighted edge statistics. Evaluations across thousands of trajectories from six web agents show that the graph abstraction captures cross-model regularities, highlights redundancy and inefficiency, and identifies critical decision points overlooked by outcome-based metrics. By framing web interaction as graph-structured data, WebGraphEval establishes a general methodology for multi-path, cross-agent, and efficiency-aware evaluation of web agents.