Papers
arxiv:2612.02762

SparseGUI: Accelerating Long-Horizon GUI Agents with Learned Sparse Attention

Published on Dec 1
Authors:
,
,
,

Abstract

SparseGUI uses learned query-aware sparse attention to retain full-resolution screenshot history for GUI agents, matching dense attention accuracy while reducing attention cost and memory.

Graphical user interface (GUI) agents often need precise visual details from screenshots observed many steps earlier. Retaining the full screenshot history preserves this evidence but increases attention costs, while truncating or downsampling history risks losing important visual information. We introduce SparseGUI, a learned query-aware sparse attention framework that accelerates GUI agents while retaining the full screenshot history at its original resolution. A lightweight indexer learns from a frozen agent's dense attention and selects context tokens for each decoding query and layer. We also construct a long-range visual-dependency benchmark containing 264 actions that require evidence from distant screenshots. On this benchmark, SparseGUI achieves 48.9% strict accuracy, matching full-history dense attention, compared with 9.8% for short history. It also achieves comparable accuracy on a general evaluation set and comparable mean task scores on OSWorld-Verified. Across five 100-step replays with EvoCUA-8B, SparseGUI achieves a 1.28times overall model-time speedup over shared steps and a 1.48times per-step model-time speedup at 160-196k context tokens, with a 1.84times decoding speedup. With optional KV offloading, SparseGUI completes 100-step replays at 24.3 GiB peak GPU memory, compared with 46.6 GiB for the GPU-resident dense baseline, which runs out of memory before completing all steps.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.02762
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 1

Datasets citing this paper 1

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.02762 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.