SparkUI-Parser: Enhancing GUI Perception with Robust Grounding and Parsing

Hongyi Jing, Jiafu Chen, Chen Rao, Ziqiang Dang, Jiajie Teng, Tianyi Chu, Juncheng Mo, Shuo Fang, Huaizhong Lin, Rui Lv, Chenguang Ma, Lei ZhaoarXiv 2025 · DOI

Abstract

SparkUI-Parser is a novel end-to-end framework that shifts GUI perception from slow, discrete text-based coordinate prediction to a high-speed "route-then-predict" architecture. By utilizing continuous coordinate modeling and a robust rejection mechanism, it achieves state-of-the-art accuracy across major benchmarks while running up to 5x faster than traditional multimodal LLMs.

Introduction

Graphical User Interface (GUI) agents must accurately perceive and interpret screens to function effectively. While Multimodal Large Language Models (MLLMs) have advanced this field, they are often hindered by three critical bottlenecks: the "discrete" accuracy gap caused by predicting coordinates as text tokens, the lack of full-scale parsing capabilities for entire layouts, and the tendency to hallucinate locations for non-existent elements. SparkUI-Parser addresses these challenges by decoupling semantic understanding from spatial localization through a specialized architectural design.

Methods: The Route-then-Predict Framework

The authors propose SparkUI-Parser, which introduces a "route-then-predict" framework to optimize GUI interaction.

The SparkUI-Parser architecture featuring the Token Router and Coordinate Decoder.

The architecture consists of several key components:

  • Token Router: Instead of forcing the MLLM to output coordinates, the model outputs semantic text tokens and special functional tokens: [VG] (Visual Grounding) and [REJ] (Rejection).
  • Coordinate Decoder: When a [VG] token is detected, a lightweight Transformer-based decoder takes over. It combines the MLLM’s internal features with high-resolution visual features from a Vision Adapter to regress directly to continuous numerical coordinates.
  • Rejection Mechanism: If the model determines an element doesn't exist, it outputs a [REJ] token, effectively "muting" the coordinate decoder and preventing false positives.
  • Element Matcher: During training, a modified Hungarian matching algorithm ensures the model is penalized based on the content of its predictions rather than the order of elements.

Datasets and Benchmarks

The model was trained on a curated mix of 515k samples. To evaluate full-interface structural perception, the authors introduced ScreenParse, a new benchmark containing 800 diverse images across mobile, desktop, and web environments with dense annotations. Other evaluation benchmarks include ScreenSpot, ScreenSpot-v2, and CAGUI-Grounding.

Key Results and Insights

SparkUI-Parser sets a new standard for both performance and efficiency in GUI tasks.

Qualitative comparison of SparkUI-Parser against Qwen2.5-VL in grounding and parsing tasks.
  • State-of-the-Art Accuracy: The model achieved 88.0% on ScreenSpot and 89.5% on ScreenSpot-v2, outperforming much larger models like Qwen2.5-VL-72B.
  • Efficiency Gains: The model is 5x faster at grounding and 4x faster at full-screen parsing compared to traditional autoregressive methods. This is primarily due to moving coordinate prediction into a continuous regression space, where one [VG] token replaces multiple text tokens.
  • Parsing and Robustness: On the ScreenParse benchmark, SparkUI-Parser achieved significantly higher Recall (77.2% English, 87.1% Chinese) than baselines. Its rejection mechanism also allows it to correctly handle instructions for non-existent elements, a common failure point for other MLLMs.

Conclusion

SparkUI-Parser demonstrates that decoupling semantics from spatial regression is a superior approach for GUI perception. By replacing discrete token prediction with continuous numerical regression and implementing a robust rejection mechanism, the framework provides a faster, more accurate, and more reliable solution for autonomous GUI agents. Future work will focus on expanding language support and integrating deeper structural relationships for complex workflow navigation.

Summary updated

BibTeX
@misc{jing2025sparkui,
  author = {Hongyi Jing and Jiafu Chen and Chen Rao and Ziqiang Dang and Jiajie Teng and Tianyi Chu and Juncheng Mo and Shuo Fang and Huaizhong Lin and Rui Lv and Chenguang Ma and Lei Zhao},
  title = {{SparkUI-Parser: Enhancing GUI Perception with Robust Grounding and Parsing}},
  year = {2025},
  eprint = {2509.04908},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.04908},
}
Figure