TL;DR
MAGNET is a novel dual-memory framework designed to make mobile GUI agents adaptive to frequent application updates. By decoupling high-level task planning (procedural memory) from low-level visual execution (stationary memory) and continuously evolving this knowledge base, MAGNET successfully overcomes appearance and workflow drifts without requiring expensive model retraining.
What Problem Does This Paper Address?
Mobile application ecosystems are inherently dynamic. Frequent updates constantly alter user interfaces, presenting a severe challenge for Multimodal Large Language Model (MLLM) GUI agents. When an app updates, it typically introduces two types of disruptions:
- Appearance Drift: UI elements are visually redesigned without changing their underlying function (e.g., the transition from the Twitter bird icon to the X logo).
- Workflow Drift: The operational logic or navigation path required to complete a task is reorganized across app versions (e.g., moving the "change currency" setting to a completely different menu).
Existing specialized GUI models are trained on fixed datasets that quickly become obsolete as apps evolve. Meanwhile, current memory-augmented systems rely primarily on text-based descriptions, leaving them highly vulnerable to visual changes. MAGNET addresses this gap by exploiting two inherent stabilities beneath surface-level updates: semantic stability (functional meanings persist despite visual redesigns) and intent stability (high-level task goals remain unchanged despite workflow re-organizations).
Methods
MAGNET adopts a multi-agent Planner-Actor architecture and introduces a unique dual-level memory system combined with an automated memory evolution mechanism:
- Procedural Memory (The Planner): Captures intent stability by storing abstract workflows distilled from successfully completed tasks. Workflows are structured as sequences of high-level steps containing categorical placeholders (e.g.,
[AppName],[SearchQuery]), allowing them to be reused across different contexts and interface variations. - Stationary Memory (The Actor): Captures semantic stability by linking diverse visual features (cropped UI element patches) to stable functional descriptions (e.g., "click the search icon to start searching"). This enables the actor to ground its actions by reasoning about an element's functionality rather than its exact visual appearance.
- Dynamic Memory Evolution: To keep the memory accurate over time, MAGNET implements a continuous update and ranking mechanism. Inspired by the Ebbinghaus forgetting curve, it calculates a retention score based on retrieval frequency and recency: $$R_i = \exp(-g_i/n_i)$$ where $g_i$ is the inactivity gap and $n_i$ is the total retrieval count. Frequently accessed knowledge decays slowly, while outdated or unused workflows naturally fade out of the agent's active memory pool.
Datasets
The authors evaluated MAGNET using both offline and live online environments:
- UI-40K (New Dataset): The authors introduced this large-scale multimodal dataset containing 41,009 entries across 20,618 unique functional intents. It was automatically constructed from existing datasets using OmniParserV2 for region annotation and Qwen2.5-VL for functional description generation.
- Offline Benchmarks: AITZ, GUI-Odyssey, and Amex. The authors created custom splits (template-shifted, app-shifted, and domain-shifted) to rigorously test the agent's generalization under distribution shifts.
- Online Benchmark: AndroidWorld (Easy split), used to evaluate live, interactive task execution and continual online learning.
Key Insights and Ideas
- Decoupling Planning from Grounding: By separating the how-to-plan (procedural) from the where-to-click (stationary), the agent can handle a visual redesign without breaking its high-level plan, and vice versa.
- Functional Visual Anchors: Storing UI elements as functional descriptions paired with an image list allows the agent to accumulate visual variants of the same function over time, building robust visual invariance.
- Psychological Forgetting for AI: Applying a forgetting curve to agent memory elegantly solves the problem of stale data. The agent doesn't need explicit instructions to delete old workflows; it simply forgets them if an app update makes a new path more frequent.
Key Results
- Online Performance: On the live AndroidWorld benchmark, MAGNET achieved a 42.62% task completion rate, outperforming strong memory-augmented baselines like Agent-S (40.98%) and AppAgent (34.43%).
- Robustness to Distribution Shifts: In offline testing across various architectural backbones (including Qwen2.5-VL and Gemini-2.5-Pro), MAGNET consistently improved Success Rate (SR) and Grounding Accuracy (Grd.). It achieved an average improvement of +2.3% SR and +2.7% Grd. across five different planner-actor configurations.
- Continual Adaptation Success: When deployed iteratively in the wild, MAGNET's success rate rose from 31.14% to 40.98% over three iterations. Crucially, the proportion of retrieved memories originating from the old source dataset dropped sharply (down to 18% for stationary memory), proving that the agent successfully purged outdated knowledge in favor of fresh, environment-specific experiences.
Limitations and Future Work
- Cold-Start Problem: MAGNET relies on successful interaction trajectories to build its initial memory. In entirely novel domains where initial exploration completely fails, the framework cannot bootstrap its memory.
- Rigid Workflow Structures: The clustering-based workflow abstraction mechanism can struggle with highly diverse or unstructured tasks that do not form clear, repetitive linear patterns.
- Future Directions: The authors suggest exploring zero-shot memory initialization techniques and developing more flexible, non-linear workflow representations to accommodate highly complex user behaviors.
Summary updated