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.35times 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.
Community
This paper presents SpecGUI, an efficient framework that co-designs phase-specialised speculative decoding and visual token pruning for accelerating GUI Agent inference.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- MMFlash: Faster Speculative Decoding for Vision-Language Models (2026)
- GUIFlow: Temporal Redundancy-Aware Incremental Inference for GUI Agents (2026)
- ReCue: Hidden-State Recycling for Vision-Language Speculative Decoding (2026)
- Seeing What Matters, Verifying What Pays: Load-Adaptive Speculative Decoding for Vision-Language Models (2026)
- DLite: History-free Speculative Decoding for Agentic AI (2026)
- VisHead-Spec: Head-Routed Visual Attention for Multimodal Speculative Decoding (2026)
- DMTP: A Better First Token for Block Drafting via MTP (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2611.36290 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper