2025-10-02 · 进阶 · 计算机视觉 · 机器学习

GUI-KV: Efficient GUI Agents via KV Cache with Spatio-Temporal Awareness

该论文提出了一种名为GUI-KV的GUI代理KV缓存压缩方法,通过空间显著性和时间冗余评分机制,有效地提高了GUI代理的性能和效率。

更新于 2025-10-02。作者:Kung-Hsiang Huang、Haoyi Qiu、Yutong Dai、Caiming Xiong、Chien-Sheng Wu。

中文摘要

图形用户界面(GUI)代理建立在视觉-语言模型之上,已成为自动化人机工作流程的一种有希望的途径。然而,它们也面临着处理长序列高分辨率截图和解决长期任务的低效挑战,这使得推理变得缓慢、成本高昂且受内存限制。尽管键值(KV)缓存可以缓解这一问题,但在图像密集型环境中存储完整的缓存是受限的。现有的缓存压缩方法效率不高,因为它们没有考虑到GUI的空间和时间冗余。在本研究中,我们首先分析了GUI代理工作负载中的注意力模式,并发现与自然图像不同,注意力稀疏性在所有Transformer层中都是均匀高的。这一发现促使我们采用了一种简单的均匀预算分配策略,我们通过实证研究表明,这种策略比更复杂的层变方案表现更好。在此基础上,我们引入了GUI-KV,这是一种为GUI代理提供的即插即用型KV缓存压缩方法,它无需重新训练。GUI-KV结合了两种新颖的技术:(i)空间显著性引导,通过将隐藏状态的L2范数添加到注意力得分中,更好地保留语义上重要的视觉标记;(ii)时间冗余评分,将前一帧的键投影到当前帧的键子空间中,优先剪枝冗余历史。在标准的GUI代理基准和模型中,GUI-KV优于竞争性的KV压缩基线,在适度的预算下与全缓存精度相匹配。值得注意的是,在AgentNetBench基准上的5张截图设置中,GUI-KV将解码FLOPs减少了38.9%,同时将步骤准确性提高了4.1%,超过全缓存基线。这些结果表明,利用GUI特定的冗余可以实现高效且可靠的代理性能。

英文摘要

Graphical user interface (GUI) agents built on vision-language models have emerged as a promising approach to automate human-computer workflows. However, they also face the inefficiency challenge as they process long sequences of high-resolution screenshots and solving long-horizon tasks, making inference slow, costly and memory-bound. While key-value (KV) caching can mitigate this, storing the full cache is prohibitive for image-heavy contexts. Existing cache-compression methods are sub-optimal as they do not account for the spatial and temporal redundancy of GUIs. In this work, we first analyze attention patterns in GUI agent workloads and find that, unlike in natural images, attention sparsity is uniformly high across all transformer layers. This insight motivates a simple uniform budget allocation strategy, which we show empirically outperforms more complex layer-varying schemes. Building on this, we introduce GUI-KV, a plug-and-play KV cache compression method for GUI agents that requires no retraining. GUI-KV combines two novel techniques: (i) spatial saliency guidance, which augments attention scores with the L2 norm of hidden states to better preserve semantically important visual tokens, and (ii) temporal redundancy scoring, which projects previous frames' keys onto the current frame's key subspace to preferentially prune redundant history. Across standard GUI agent benchmarks and models, GUI-KV outperforms competitive KV compression baselines, closely matching full-cache accuracy at modest budgets. Notably, in a 5-screenshot setting on the AgentNetBench benchmark, GUI-KV reduces decoding FLOPs by 38.9% while increasing step accuracy by 4.1% over the full-cache baseline. These results demonstrate that exploiting GUI-specific redundancies enables efficient and reliable agent performance.

解读

一句话总结

该论文提出了一种名为GUI-KV的GUI代理KV缓存压缩方法,通过空间显著性和时间冗余评分机制,有效地提高了GUI代理的性能和效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt