TL;DR
This paper introduces ScreenParse, a massive dataset for complete screen parsing, providing dense annotations for all UI elements on a webpage. They also present ScreenVLM, a compact vision-language model trained on this data, which significantly outperforms larger models in understanding screen structure and transfers well to other tasks. This work highlights the importance of dense, structured supervision for building more capable AI agents that can interact with user interfaces.
What Problem Does This Paper Address?
Modern AI agents designed to interact with computer interfaces (like web browsers or operating systems) need to understand the visual layout and structure of screens to perform tasks effectively. However, existing datasets for training these agents often provide "sparse" supervision. This means they only label a small, task-specific subset of UI elements on a screen, limiting the agent's ability to grasp the overall screen structure and generalize to new interfaces. This sparse supervision can lead to models that learn shortcuts, failing to build a robust internal representation of the UI, which hinders their performance on unseen tasks or layouts. Furthermore, deploying these agents efficiently on devices requires compact models, which are often difficult to train effectively with limited supervision.
Methods
The authors tackle this problem by introducing two main innovations:
- ScreenParse Dataset & Webshot Pipeline: They created a large-scale dataset called ScreenParse, containing 771K web screenshots with dense annotations for all visible UI elements. This includes bounding boxes, 55 distinct UI element types, and associated text. The dataset is generated using an automated pipeline called Webshot. Webshot renders diverse web pages, extracts UI elements from the Document Object Model (DOM), and then uses a Vision-Language Model (VLM) for refinement and quality filtering. This pipeline aims to provide comprehensive and high-quality annotations without manual effort.
- ScreenVLM Model & Structure-Aware Loss: They developed ScreenVLM, a compact 316M-parameter vision-language model. ScreenVLM is designed to output a structured representation of the screen called ScreenTag, which is an XML-like markup. To improve the model's focus on structural integrity, they introduced a structure-aware weighted cross-entropy loss. This loss function upweights the importance of tokens representing UI element types and their locations, ensuring that structural accuracy is prioritized over simple transcription.
Datasets
- ScreenParse (New Dataset): This is the core dataset introduced in the paper. It comprises 771K web screenshots with 21 million UI element annotations across 55 classes. It's designed for complete screen parsing, meaning nearly all visible UI elements are annotated, providing dense, structured supervision.
- GroundCUA: Used for evaluating out-of-distribution transfer. It contains UI screenshots from various software platforms.
- ScreenSpot: Used for evaluating grounding-style performance under sparse annotations. It covers web, PC, and mobile interfaces.
Key Insights and Ideas
- Dense Supervision is Key for UI Understanding: The paper strongly argues that sparse supervision, common in existing datasets, is insufficient for building robust UI understanding. Dense, complete annotations are crucial for models to learn holistic screen structures and generalize better.
- Structure Matters: Simply identifying elements isn't enough; understanding their spatial and hierarchical relationships is vital. The proposed structure-aware loss directly addresses this by prioritizing structural accuracy in the model's output.
- Compact Models Can Be Powerful with the Right Data: ScreenVLM, despite being significantly smaller than many foundation VLMs, achieves superior performance on dense parsing tasks when trained on ScreenParse. This demonstrates that specialized, large-scale datasets can enable efficient models to excel.
- Transferable Structural Priors: Training on ScreenParse not only benefits ScreenVLM but also improves the performance of existing foundation VLMs and detector-based parsers, suggesting that dense screen supervision imparts generalizable structural knowledge.
Key Results
- ScreenVLM Performance: ScreenVLM achieved a PageIoU of 0.606 on the ScreenParse test set, significantly outperforming larger foundation VLMs like Qwen3-VL-8B (0.294 PageIoU) and InternVL3-2B (0.111 PageIoU).
- Transfer Learning Gains: Fine-tuning foundation VLMs (like InternVL3-2B and Qwen3-VL-2B) on ScreenParse led to substantial improvements in their performance on both ScreenParse and out-of-distribution datasets like GroundCUA. For instance, InternVL3-2B's PageIoU on GroundCUA increased from 0.025 to 0.203 after fine-tuning.
- Detector Performance: Detector-based models like RT-DETRv2 also showed strong performance when trained on ScreenParse, achieving a PageIoU of 0.600. However, ScreenVLM's output is more directly usable for downstream agents due to its structured, language-aligned representation.
- Efficiency: ScreenVLM is significantly more efficient, achieving ~4x higher throughput and being ~6x smaller than 2B-scale VLMs, making it practical for low-latency, on-device deployment.
- Structure-Aware Loss: The structure-aware loss improved ScreenVLM's performance on ScreenParse (0.606 vs. 0.592 PageIoU) and showed consistent gains on transfer tasks, particularly on the challenging ScreenSpot PC split (Recall 0.222 vs. 0.129).
Limitations and Future Work
- Domain Gap: ScreenParse is primarily web-centric. This creates a domain gap for models intended for native desktop/mobile applications or different UI toolkits.
- Annotation Noise: Despite filtering, DOM extraction can still introduce noise from dynamic content, ads, or rendering artifacts, potentially affecting a subset of annotations.
- Future Work:
- Expand dense parsing supervision to cover native desktop/mobile UIs and richer interaction contexts.
- Leverage ScreenParse-pretrained models as visual backbones for vision-language-action agents by fine-tuning them on downstream interaction tasks.
- Explore using the holistic, language-aligned screen state to improve grounding and decision-making for agents.
Summary updated