Abstract
Graphical User Interface (GUI) agents often struggle with generalization and long-horizon planning due to the limitations of text-based memory systems. This paper introduces CoMEM, a continuous memory system that compresses complex GUI trajectories into compact "plug-and-play" embeddings. By leveraging an autonomous data flywheel to collect over 100,000 trajectories, the authors enable a 7B parameter open-source model to outperform industry leaders like GPT-4o and Claude-4 on real-world web navigation benchmarks.
Introduction
GUI agents—AI capable of interacting with applications through clicks, typing, and scrolling—face significant hurdles when encountering unfamiliar environments or tasks requiring extensive steps. Traditional memory systems store past actions as text, which suffers from significant information loss (missing visual nuances) and the "context wall"—a phenomenon where performance degrades as prompt length increases due to semantic noise.
Methodology: CoMEM and the Data Flywheel
The proposed solution consists of two integrated components: Continuous Memory (CoMEM) and an Auto-scaling Data Flywheel.
Continuous Memory (CoMEM)
Instead of textual summaries, CoMEM utilizes a Q-Former to compress multimodal trajectories (screenshots and actions) into a fixed sequence of just 8 continuous embeddings. These embeddings are injected directly into the Vision-Language Model's (VLM) input layer. This approach preserves fine-grained visual details while drastically reducing context token usage from over 15,000 tokens to effectively 8 vectors.
Auto-scaling Data Flywheel
To populate this memory, the authors developed an autonomous pipeline that discovers new websites via search engines, synthesizes tasks using a VLM, executes them, and verifies success. Only successful trajectories are added to the memory bank, creating a high-quality, massive-scale experience library for a fraction of the cost of human annotation.
Experiments and Results
The system was evaluated on three major benchmarks: MMInA, Multimodal-Mind2Web, and Webvoyager. The researchers utilized a custom dataset containing over 100,000 trajectories across 10,000+ environments.
Performance and Scaling
A key finding is the monotonic scaling of CoMEM. Unlike text-based memory, which often introduces "semantic noise" and degrades performance after approximately 10 retrieved items, CoMEM's accuracy continues to improve as both the memory size and the number of retrieved samples increase.
On the Webvoyager benchmark, a Qwen-2.5-VL-7B model equipped with CoMEM achieved a 54.5% success rate, significantly surpassing GPT-4o (31.8%) and Claude-4 (40.9%). The system also demonstrated superior robustness in out-of-distribution (OOD) scenarios, where maintaining visual fidelity is critical for navigating unseen user interfaces.
Discussion and Conclusion
CoMEM represents a significant shift toward visual-centric memory for GUI agents. By maintaining high visual fidelity through continuous embeddings and scaling data collection autonomously, the approach overcomes the inherent limitations of text-based retrieval. Future work will focus on optimizing the management of massive memory banks and addressing privacy concerns related to autonomous screenshot collection.
Summary updated