Agentic AI
New Technique Cuts GUI Agent Memory Use Nearly in Half While Boosting Accuracy
Researchers introduce a cache compression method tailored to visual interface automation that exploits how screenshots repeat and change over time.
Vision-language model (VLM) agents that automate computer tasks by interpreting screenshots face a significant efficiency bottleneck. Processing long sequences of high-resolution images to complete multi-step workflows consumes enormous amounts of memory and compute, making these systems slow and costly to run. A new approach called GUI-KV, detailed in research from arXiv, tackles this problem by intelligently compressing the cache of model activations that most systems rely on to speed up inference.
Why Standard Cache Compression Falls Short#
Vision transformers typically use key-value (KV) caching—storing precomputed representations to avoid redundant work. For image-heavy workloads like GUI automation, maintaining the full cache becomes prohibitively expensive. Existing cache-compression strategies don't account for the unique structure of screenshots: they often feature significant spatial redundancy (regions that look similar) and temporal redundancy (frames that are nearly identical between steps).
A Fresh Look at Attention in GUI Tasks#
The researchers analyzed how transformer models pay attention when processing GUI workflows and discovered something unexpected. Unlike in natural images, attention remains uniformly sparse across every layer of the model. This finding suggests a simpler approach than existing layer-specific budget allocation schemes—just spread the cache reduction evenly. This uniform strategy outperformed more complex alternatives in testing.
GUI-KV's Dual Strategy#
The method combines two techniques designed specifically for interface automation:
- Spatial saliency guidance: Augments attention scores using the L2 norm of hidden states, ensuring that visually and semantically important tokens stay in the cache rather than redundant background areas.
- Temporal redundancy scoring: Projects previous frames' activations onto the current frame's representation space to identify and prune history that adds little new information.
Neither approach requires retraining the underlying model—GUI-KV works as a plug-in.

