TL;DR
MementoGUI is a plug-in, training-free memory framework that equips multimodal GUI agents with a learned memory controller called MementoCore. By actively managing short-term working memory (text summaries + visual regions of interest) and long-term episodic memory (past trajectories), it significantly boosts an agent's performance on complex, long-horizon tasks without requiring any finetuning of the underlying action model.
What Problem Does This Paper Address?
While Multimodal Large Language Models (MLLMs) have gotten remarkably good at single-step graphical user interface (GUI) tasks—like clicking a button on a single screen—they remain incredibly brittle over long sequences of actions. As an agent navigates through multiple apps or webpages, it must track its progress, remember user constraints, and recall transient interface states (like a selected checkbox or a temporary dropdown menu).
Existing agents usually handle this in one of two flawed ways:
- Raw History Replay: They feed every previous screenshot into the context window, quickly overwhelming the model with redundant visual data and exhausting token limits.
- Text-Only Summaries: They discard screenshots entirely in favor of text logs, which strips away the localized visual evidence crucial for making future UI decisions.
The authors reframe long-horizon GUI control not as a context-length problem, but as an active multimodal memory-management problem.
Methods
Instead of finetuning the core GUI action model, MementoGUI introduces an external, learned memory controller called MementoCore. Built on top of a frozen Qwen3-VL backbone, MementoCore uses four task-specific LoRA adapters to handle different memory operations:
- Step Processor ($f_{\text{step}}$): Evaluates each step's importance, generates concise textual event summaries, and extracts Region-of-Interest (ROI) bounding boxes for visual changes.
- WM Compressor ($f_{\text{cmp}}$): When working memory hits capacity, it condenses older entries into compact summaries while preserving representative visual identifiers.
- Episodic Writer ($f_{\text{write}}$): Converts successfully completed trajectories into reusable episodic memories.
- Episodic Selector ($f_{\text{sel}}$): Employs a two-stage retrieval process (coarse vector similarity followed by fine-grained relevance filtering) to inject helpful past experiences into the current context.
Crucially, these memory components are serialized into standard text and images. This allows MementoGUI to act as a universal, plug-in layer that works out-of-the-box with any frozen GUI action backbone.
To train this controller without expensive human labeling, the authors built an automatic data curation pipeline. It takes raw computer-use videos, extracts frame- and subgoal-level annotations, and applies Direct Preference Optimization (DPO) by intentionally corrupting memory outputs and using a VLM judge to filter the best training pairs.
Datasets
- Training: Memory controllers were trained on data curated from the PSAI computer-use dataset.
- Evaluation Benchmarks: The framework was validated on standard benchmarks GUI-Odyssey (cross-app mobile navigation) and Multimodal-Mind2Web (web environments).
- New Benchmark: The authors introduced MementoGUI-Bench, a new offline benchmark specifically tailored for memory-dependent, long-horizon GUI decision-making, consisting of 200 trajectories and nearly 7,000 interaction steps.
Key Insights and Ideas
- Active Gating Beats Passive Replay: Rather than passively flooding the agent's context window with history, selectively gating when to write to memory and what to compress prevents the agent from getting confused by redundant information.
- Visual Grounding in Memory is Non-Negotiable: Text summaries are insufficient for complex GUIs. Retaining cropped ROI images of modified UI elements provides the exact visual grounding agents need to verify past actions.
- Decoupled Architecture Scales Better: Because the memory controller is completely decoupled from the action policy, you can scale up the memory model (e.g., from a 2B to an 8B parameter controller) to get better memory management without touching the underlying action backbone.
Key Results
MementoGUI consistently outperformed no-history, raw-history, and text-only memory baselines across multiple open-source backbones (UI-Venus, MAI-UI, GUI-Owl).
- Substantial Performance Gains: On GUI-Odyssey using the UI-Venus-1.5-8B backbone, adding both working and episodic memory improved the Action Matching Score (AMS) from 54.58% to 68.32% and more than doubled the Trajectory Success Rate.
- Robustness to Length: As interaction trajectories grew longer (20+ steps), baselines collapsed to near-zero success rates, whereas MementoGUI maintained steady performance.
- Proprietary Model Augmentation: When applied to commercial, API-based models like GPT-5.5 and Gemini-3.1-Pro in a stateless single-step setup, MementoGUI's structured context significantly improved task progress and memory consistency scores.
Limitations and Future Work
- Inference Latency: Running a separate memory controller model at every step introduces computational overhead. While it saves on action-model token costs via compression, it increases the overall end-to-end trajectory time.
- Low Absolute Success Rates: Although the relative improvements are impressive, absolute trajectory success rates on long-horizon benchmarks remain low across the entire field (often under 5% on highly complex tasks). This underscores how incredibly difficult autonomous, multi-step computer use still is.
- Future Directions: The authors suggest exploring more lightweight controller architectures to mitigate latency, as well as integrating online reinforcement learning to continuously refine memory operations.
Summary updated