ASSISTGUI: Task-Oriented Desktop Graphical User Interface Automation

Difei Gao, Lei Ji, Zechen Bai, Mingyu Ouyang, Peiran Li, Dongxing Mao, Qinchen Wu, Weichen Zhang, Peiyi Wang, Xiangwu Guo, Hengxu Wang, Luowei Zhou, Mike Zheng ShouarXiv 2023 · DOI

The Challenge of Desktop Automation

While AI agents have made significant strides in automating tasks within structured environments like the web or mobile applications, the desktop environment remains a formidable challenge. Professional software suites, such as Adobe After Effects or Microsoft Excel, feature dense graphical user interfaces (GUIs) with hundreds of interactive elements, nested menus, and complex timelines. Unlike web pages, these applications often lack accessible metadata (like HTML DOM), requiring agents to rely purely on visual perception and precise motor control.

Complex GUI interaction in After Effects requiring precise parameter adjustment and timeline navigation.

The ASSISTGUI Benchmark

To address this, researchers introduced ASSISTGUI, a benchmark designed to evaluate agents on 100 tasks across 9 popular Windows applications. These tasks span five categories: office work, design, widget usage, system settings, and file manipulation. Each task is accompanied by a textual query, an instructional video (under 5 minutes), and initial project files to ensure reproducibility. This benchmark highlights the "semantic gap" in vision, where standard models struggle to ground actions to specific pixel coordinates in professional-grade software.

The ACE Framework

The core contribution of the paper is the Actor-Critic Embodied (ACE) framework. ACE moves beyond simple "text-in, action-out" loops by employing a hierarchical planning strategy. This planner decomposes high-level user goals into manageable milestones and granular subtasks based on instructional context provided by video subtitles and user queries.

A multimodal GUI parser—utilizing OCR (Google OCR), icon detection (YOLO-v8), and layout analysis—translates raw screenshots into a structured text representation. The system then operates in an Actor-Critic loop: the Actor generates Python code (via the PyAutoGUI library) to execute actions, while the Critic evaluates the visual outcome by comparing "before" and "after" screenshots to provide feedback or trigger retries.

Performance and Insights

ACE achieved a 46% overall success rate on the ASSISTGUI benchmark, significantly outperforming standard LLM baselines like Chain-of-Thought (12%) and ReAct (32%). However, a substantial gap remains compared to human performance, which reaches 85% after minimal instruction.

Automating a system settings task, which typically involves simpler UI elements and higher success rates for the agent.

Analysis reveals that performance varies drastically by category. Tasks in "System Settings" and "File Manipulation" saw success rates between 72-75%, as these often involve standard Windows UI elements. Conversely, the "Design" category (32% success) and "Office" category (40% success) proved the most difficult due to their visual density and the requirement for long, precise sequences of operations. Ablation studies further underscored the importance of the multimodal parser; removing the OCR component caused the success rate to plummet from 46% to just 4%, confirming that text remains the primary anchor for navigation in these environments.

Conclusion

The ASSISTGUI benchmark and ACE framework represent a significant step toward autonomous desktop assistants. Future work must focus on improving "last-mile" visual precision—the ability to click exact pixels in dense environments—and developing better spatial reasoning for non-standard UI elements and continuous visual tasks like video editing.

Summary updated

BibTeX
@misc{gao2023assistgui,
  author = {Difei Gao and Lei Ji and Zechen Bai and Mingyu Ouyang and Peiran Li and Dongxing Mao and Qinchen Wu and Weichen Zhang and Peiyi Wang and Xiangwu Guo and Hengxu Wang and Luowei Zhou and Mike Zheng Shou},
  title = {{ASSISTGUI: Task-Oriented Desktop Graphical User Interface Automation}},
  year = {2023},
  eprint = {2312.13108},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.13108},
}
Figure