Computer Science > Artificial Intelligence
Title:SpecGUI: Co-Designing Phase-Specialised Speculative Decoding and Visual Token Pruning for Efficient GUI Agents
Abstract:Vision-Language Model (VLM)-based GUI agents operate in multi-turn cycles, observing the screen and determining the next action. This process is computationally expensive: accumulating screenshots incurs substantial prefill overhead, while generating reasoning and actions demands extensive decoding. We present SpecGUI, a training-free, plug-and-play framework that co-designs speculative decoding and visual token pruning for efficient GUI agent inference. First, to accelerate decoding, we observe a pronounced asymmetry in the decoding stage. The long, open-ended reasoning phase is hard to predict, whereas the short, structured action phase is easy to draft. To exploit this asymmetry, we propose Phase-Specialised Speculative Decoding, combining Survival-Guided Hybrid Drafting for reasoning with Schema-Constrained Decoding for actions. Second, to reduce the remaining prefill latency, we study the interaction between speculative decoding and visual token pruning. We find that acceptance length is more robust to pruning historical screenshots than the current one, and that drafter attention effectively highlights task-relevant regions. Motivated by this, we propose Drafter-Guided Historical Pruning to guide historical visual token pruning with drafter attention. We implement SpecGUI in SGLang and evaluate it across three GUI agents and two diffusion drafters. Phase-Specialised Speculative Decoding achieves up to $3.35\times$ decoding speedup over autoregressive baselines. Drafter-Guided Historical Pruning prunes 90% of historical visual tokens while retaining 96.8% of baseline accuracy on average. Our work sets a new frontier for full-pipeline GUI agent acceleration.
| Comments: | Preprint. Under Review |
|---|---|
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.36290 [cs.AI] |
| (or arXiv:2611.36290v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.36290 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.