学习如何记忆:GUI智能体的记忆模态选择

·

研究论文 · 2026/10/14

近期视觉语言模型(VLM)的进展显著提升了GUI智能体的能力,而记忆增强已成为复用过去交互知识的一种有前景的方法。然而,现有的记忆增强GUI智能体通常采用固定的表示策略,将检索到的经验作为静态模态提供。目前尚不清楚单一记忆模态是否始终最优,以及模态偏好如何随交互步骤变化。在这项工作中,我们对基于VLM的GUI智能体中的记忆模态进行了系统研究。在GUI基准测试中,我们发现首选的记忆表示强烈依赖于步骤。受此发现启发,我们提出了SwitchMem,一个在每一步动态选择文本或视觉记忆表示的路由框架。在三个GUI基准测试中,SwitchMem优于依赖静态记忆表示的记忆增强基线。我们的发现验证了我们的主张:记忆模态是步骤依赖的决策,而非固定的设计选择。代码和项目资源可在https://txxnrd.github.io/switchmem获取。

该研究挑战了记忆增强GUI智能体中固定记忆模态的常见做法,揭示了模态偏好随步骤变化的规律,并提出了动态选择框架,在多个基准上取得提升,为未来GUI智能体的记忆设计提供了新方向。

Recent advances in vision-language models (VLMs) have substantially improved the capabilities of GUI agents, while memory augmentation has emerged as a promising approach for reusing knowledge from past interactions. However, existing memory augmented GUI agents typically adopt a fixed representation strategy, providing retrieved experience as a static modality. It remains unclear whether a single memory modality is consistently optimal, or how modality preference changes across interaction steps. In this work, we conduct a systematic study of memory modality in VLM based GUI agents. Across GUI benchmarks, we find that the preferred memory representation is strongly step dependent. Motivated by the finding, we introduce SwitchMem, a routing framework that dynamically selects between textual and visual memory representations at each step. Across three GUI benchmarks, SwitchMem outperforms memory augmented baselines that rely on static memory representations. Our findings validate our claim that memory modality is a step dependent decision rather than a fixed design choice. Code and project resources are available at https://txxnrd.github.io/switchmem

阅读原文

参与讨论