TRANSMISSION // 2612.02762v1

SparseGUI helps computer agents look back without rereading everything

Source published

A learned attention system lets a GUI agent search its full screenshot history selectively. In tests, it matched dense attention on long-range recall while reducing decoding time at long contexts.

AI-generated conceptual illustration for SparseGUI helps computer agents look back without rereading everything
AI-generated conceptual illustration; not documentary evidence.

Computer agents may need to recover a tiny detail from a screenshot many actions ago. SparseGUI aims to preserve that evidence without making the model process every historical visual token for every generated token.

A computer-use agent might see a chart, move through several screens, and only later need to enter one of the chart’s values into a spreadsheet. If that value was never written into the agent’s text notes, it may be recoverable only from the earlier screenshot. Keeping every screenshot available can help—but repeatedly attending to all of them makes processing more expensive as a task grows.

SparseGUI, a method from Qianran Ma and colleagues at the University of Pennsylvania, explores a compromise: retain the complete, full-resolution screenshot history, but have a learned system select which parts the model should attend to while generating its next response.

Selecting evidence as the agent works

The researchers tested SparseGUI with EvoCUA-8B, a GUI agent based on Qwen3-VL. They kept the main model’s parameters frozen and trained a lightweight “indexer” to imitate patterns in that model’s dense attention. For each generated token and model layer, the indexer ranks context tokens and selects up to 2,048 eligible tokens for attention. Some tokens, including a short recent window, remain available regardless of that selection. Crucially, tokens not selected for one query are not erased: the complete key-value history remains available for later queries.

The indexer was trained on 5,000 steps from 3,614 GUI trajectories. The researchers evaluated it both on ordinary interaction steps and on a new long-range visual-dependency benchmark: 264 actions from 156 trajectories, each requiring information from a screenshot at least five steps earlier. The median distance to the relevant screenshot was 12 steps, and the maximum was 67.

The benchmark’s strict score required both the predicted action and all annotated memory requirements to be correct. It used fixed checks for items such as text, numbers and click locations, rather than a language model’s open-ended judgment. An audit by the authors found all 100 sampled benchmark items valid, though some had annotation caveats.

Similar accuracy, with a tradeoff

On the long-range benchmark, SparseGUI and full-history dense attention each scored 48.9% strict accuracy. Keeping only the current screenshot and four preceding ones scored 9.8%. Downsampling old screenshots also reduced accuracy: to 34.5% at half resolution and 20.5% at quarter resolution. These results show the value of preserving distant visual evidence in this particular benchmark; they do not mean every GUI task needs a long visual history.

On 2,000 general evaluation steps, SparseGUI scored 55.2% accuracy, compared with 54.8% for dense attention. The paper reports no statistically significant difference for its in-distribution or out-of-distribution subsets. In an end-to-end evaluation on 361 OSWorld-Verified tasks, mean task scores were 45.13% for SparseGUI and 43.17% for dense attention. The paired confidence interval was wide enough to include both a modest disadvantage and an advantage for SparseGUI, so this result does not establish that it improves task success.

The efficiency benefit depended on context length. In five 100-step replays, SparseGUI’s model time per step was 1.48 times faster than dense attention at contexts of 160,000–196,000 tokens; its decoding speedup was 1.84 times. Across the steps both methods completed, overall model time was 1.28 times faster. At shorter contexts, the indexer’s own work can outweigh the savings: the authors report a break-even point at about 23,000 tokens. SparseGUI without offloading also ran out of GPU memory before dense attention in these replays. With optional key-value cache offloading to host memory, it completed all 100 steps using 24.3 GiB peak GPU memory, versus 46.6 GiB for the GPU-resident dense baseline. That memory comparison also reflects different cache placement, not sparse attention alone.

What remains uncertain

These are results from one backbone, one indexer configuration and specific evaluation sets—not evidence that the method will transfer unchanged to other agents or interfaces. The authors say each new backbone needs its own indexer. Their online OSWorld experiments involved one run per setting, and they note possible overlap between some indexer-training environment setups and OSWorld-Verified. Their separate OSWorld-V2 evaluation was too weak across all tested methods to meaningfully compare them. The benchmark also covers selected forms of distant visual recall, not every challenge in computer use.

The method reduces work during decoding, but still uses dense attention during prefill, and offloading moves rather than eliminates the growing history stored in memory. SparseGUI is presented in an arXiv preprint; the findings should be treated as research results pending further testing and independent review.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • QASparse adapts attention budgets to each query region

    Shared method: Both papers describe query-aware sparse attention that selects tokens rather than attending densely to all eligible tokens. SparseGUI selects context tokens for each decoding query and layer in a frozen GUI agent; QASparse adapts token selection and budgets across query regions and attention heads during prefill. This supports a method-level connection, not equivalence or a performance comparison; the supplied evidence is excerpted preprint text.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.02762v1 — Original paper

      Excerpt reference: static/papers/2612.02762v1.md:209-269
      Basis: Paper text
      Source file SHA-256: 30dcd76fe76ec5c70c40d412a2e527eea7595c277be02c531a45ba8c0ea032ff

    • 2611.29280v1 — Original paper

      Excerpt reference: static/papers/2611.29280v1.md:59-103
      Basis: Paper text
      Source file SHA-256: db82d59ca649a2addf83a88047f16dee8da68c72aa78e8776d9f05a7b0a0f1ea

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.