ScopeMem: Latent Memory That Learns Where to Revise Frozen GUI Agents
Abstract
Latent memory is gaining ground as a lightweight history supplement for GUI agents. It supplies history to a frozen vision-language model via prefix vectors trained with step-wise cross-entropy (CE). While resulting gains are naturally attributed to encoded history, our controlled experiments show they primarily stem from action revision. The prefix learns to alter the model's default actions. However, this revision is unscoped because step-wise CE pushes outputs toward reference actions at every step without explicitly preserving correct decisions. Consequently, it repairs errors but also breaks 8-13% of initially correct answers. Overall accuracy metrics hide these losses. We therefore propose ScopeMem, a latent-memory method for scoped revision. Its encoder conditions prefix generation on the model's initial answer and is trained to correct errors while preserving correct decisions. On the controlled ablation set, ScopeMem reduces the share of broken correct decisions to 5.6% while repairing more errors than any evaluated CE-trained prefix. On AndroidControl, GUI-Odyssey, and zero-shot AITW, ScopeMem outperforms all evaluated prompting and latent-memory baselines, enabling a frozen Qwen3-VL-8B to match or surpass GUI-specialized agents and Qwen3-VL-32B.
Create a lesson
Metadata
- Comments
- 13 pages, 5 figures, 9 tables. Zhicheng Zheng and Cheng Zhang contributed equally
Related papers
Engram: Multi-Stage Memory for Agentic Tuning of Heterogeneous Models
Shared title terminologycs.AIHuanran Li, Nhat X. T. Le, Kevin De Angeli et al.
PerMIT: Securing Persistent Memory for LLM Agents via Machine-Checked Integrity Theorems and Scalable Community Trust
Shared title terminologycs.AITanqiu Jiang, Min Bai, Sadat Shahriar et al.
Hidden Messages Between Diffusion Language Model Agents: Causal Evidence for Latent Communication
Shared title terminologycs.AIAlan-Barsag Gazzaev, Alexey Gavrilov, Sergey Muravyov et al.
LatBridge: Efficient and Stable Model Replacement in Latent-Communication Multi-Agent Systems
Shared title terminologycs.AIJiajun Zhu, Haobo Li, Zixin Chen et al.
GRADUS: Discovering and Recovering Agent Lessons from the Environment's Latent Syllabus
Shared title terminologycs.AIQing Ping, Wei Yang, Panpan Xu et al.
When Does Experience Memory Help Closed-Loop LLM Driving Agents? A Controlled Evaluation with Resampled Warmup Pools, Token-Matched Fillers, and Audited Baselines
Shared title terminologycs.AIYingxin Jia, Xuanyi Li