WebGraphEval: Multi-Turn Trajectory Evaluation for Web Agents using Graph Representation
Yaoyao Qian, Yuanli Wang, Jinda Zhang, Yun Zong, Meixu Chen, Hanhan Zhou, Jindan Huang, Yifan Zeng, Xinyu Hu, Chan Hee Song, Danqing Zhang
TL;DR
WebGraphEval addresses the limitation of outcome-only evaluation by proposing a graph-based framework that aggregates diverse web-agent trajectories into a single consensus graph, enabling multi-path, cross-model, and efficiency-aware analysis. The methodology combines trajectory canonicalization, two-pass consensus graph construction, and dual reward mechanisms (reward backpropagation with a discount factor $\gamma$ and edge-based success weighting) to reveal structual decision points and shared strategies. Empirical results on 4,768 trajectories across 812 tasks from six agents demonstrate meaningful cross-model variation, efficiency patterns, and complementary strengths, with a reliable annotation pipeline and a visualization tool. The framework provides a practical, scalable approach for advancing web agent evaluation and can inform online decision-making and transfer learning across tasks and interfaces.
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.
