MAGNET: Towards Adaptive GUI Agents with Memory-Driven Knowledge Evolution
Libo Sun, Jiwen Zhang, Siyuan Wang, Zhongyu Wei
TL;DR
This work tackles the challenge of GUI agents failing to generalize under appearance and workflow drift in evolving mobile apps. It introduces MAGNET, a dual-memory framework combining procedural memory for stable task intent and stationary memory for stable UI grounding, augmented by a dynamic memory-evolution mechanism that prioritizes frequently accessed knowledge. The authors provide memory-construction pipelines, a UI-40K multimodal dataset, and a retention-based memory ranking scheme $R_i = \exp(-g_i / n_i)$ to support continual adaptation. Comprehensive offline and online experiments show MAGNET outperforms memory-free baselines and remains competitive with specialized models, demonstrating improved adaptability and generalization in dynamic software environments. The results suggest practical deployment potential for memory-driven GUI agents capable of adapting to interface evolution and restructured workflows.
Abstract
Mobile GUI agents powered by large foundation models enable autonomous task execution, but frequent updates altering UI appearance and reorganizing workflows cause agents trained on historical data to fail. Despite surface changes, functional semantics and task intents remain fundamentally stable. Building on this insight, we introduce MAGNET, a memory-driven adaptive agent framework with dual-level memory: stationary memory linking diverse visual features to stable functional semantics for robust action grounding and procedural memory capturing stable task intents across varying workflows. We propose a dynamic memory evolution mechanism that continuously refines both memories by prioritizing frequently accessed knowledge. Online benchmark AndroidWorld evaluations show substantial improvements over baselines, while offline benchmarks confirm consistent gains under distribution shifts. These results validate that leveraging stable structures across interface changes improves agent performance and generalization in evolving software environments.
