GUITAR: Structured Failure Diagnosis of GUI Agents via State Transitions

Zhang, Shaoqing, Chen, Kehai, Bai, Xuefeng, Zhang, Zhuosheng, Zhang, Pengfei, Xiang, Yang, Zhang, Min

–arXiv.org Artificial Intelligence 

Understanding where and why Graphical User Interface (GUI) agents fail is essential for building more reliable systems, yet current evaluation relies on step-level success rate (SR), a metric that treats each screen independently and overlooks the underlying structure of GUI environments. This leads to two critical blind spots: (1) functionally equivalent screens are evaluated in isolation, obscuring systematic failure patterns across shared screens; and (2) the long-tailed GUI distribution renders failures on rare but critical screens invisible under standard metrics. To address these issues, we propose GUITAR, a state-centric diagnostic framework that maps visually diverse screens to shared functional states and uses the resulting State Transition Graph (STG) to perform structured failure analysis over both states and transitions. Across 8 agents and 6 tasks from AndroidControl and Mind2Web, GUITAR reveals that 60.4% of failures occur in 20% of states, localizing errors to a small set of bottlenecks. Bottleneck-targeted guidance improves SR by 2.8 percentage points and retains an average gain of 1.88 percentage points across 7 agents under three-fold trajectory-held-out evaluation with fully automatic STGs. These findings demonstrate the diagnostic and actionable value of structure-aware evaluation within the evaluated mobile and web tasks.