SpecGUI: Co-Designing Phase-Specialised Speculative Decoding and Visual Token Pruning for Efficient GUI Agents

Guanxi Lu, Young D. Kwon, Miles Williams, Stylianos I. Venieris

Imperial College London · Samsung AI Center, Cambridge

Published November 26, 2026 · on the feed December 2, 2026 · ▲ 4 · arXiv 2611.36290

Efficiency & inferenceVision & multimodalAgents No code arXiv ↗Hugging Face ↗

The 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.

The Brief

2:32

A short podcast summary of the paper. Written and voiced by AI.

Transcript

SpecGUI. Co-Designing Phase-Specialised Speculative Decoding and Visual Token Pruning for Efficient GUI Agents. By Guanxi Lu and three others, from Imperial College London and the Samsung AI Center in Cambridge. Published on the twenty-sixth of November.

A GUI agent built on a vision-language model works in turns. It observes the screen, decides on the next action, acts, and then observes again. Every turn is expensive in two separate places. Screenshots accumulate over the episode, and reading all of them in again creates a substantial prefill overhead. Then, once the model has read the screen, it has to produce reasoning and an action, which demands a lot of decoding. Speeding up only one of those two costs leaves the other one standing, so an agent that wants to be fast has to deal with both ends of the pipeline.

SpecGUI is a training-free, plug-and-play framework that treats the two costs together, co-designing speculative decoding and visual token pruning rather than bolting them on separately. Its starting observation concerns decoding. The output of an agent has two phases that behave very differently. The reasoning phase is long and open-ended, which makes it hard to predict. The action phase is short and structured, which makes it easy to draft. That asymmetry suggests the two phases should not be drafted the same way.

For decoding, the authors propose Phase-Specialised Speculative Decoding. It combines Survival-Guided Hybrid Drafting for the reasoning phase with Schema-Constrained Decoding for the action phase, so each phase gets a drafting strategy matched to how predictable it is.

For the prefill that remains, they study how speculative decoding and visual token pruning interact, and two findings come out of it. Acceptance length holds up better when historical screenshots are pruned than when the current screenshot is. And the drafter's attention effectively highlights the regions of the screen that matter for the task. Together those motivate Drafter-Guided Historical Pruning: the drafter's attention decides which visual tokens from past screenshots to prune, while the current screen is left alone.

SpecGUI is implemented in SGLang and evaluated across three GUI agents and two diffusion drafters. Phase-Specialised Speculative Decoding reaches up to three point three five times decoding speedup over autoregressive baselines. Drafter-Guided Historical Pruning removes ninety percent of historical visual tokens while keeping, on average, ninety-six point eight percent of baseline accuracy.

The authors describe this as a new frontier for accelerating the full pipeline of a GUI agent. What ties the two halves together is that the drafter is not only a speed device for decoding. Its attention is reused as a signal for which parts of the screen history can be thrown away, so one component serves both the decoding side and the prefill side of the same agent.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.