Introduction
Modern GUI agents powered by Large Vision-Language Models (VLMs) demonstrate impressive screen parsing capabilities but suffer from what researchers call "digital amnesia." These agents are typically stateless, treating every task as a novel challenge and failing to leverage past successes or avoid recurring mistakes. This limitation stems from two primary hurdles: the high cost of manually annotating "how-to" data and the difficulty of dynamically applying relevant memories to new, specific tasks.
Methodology: The Learn-Remember-Apply Cycle
EchoTrail-GUI addresses these challenges through a three-stage cognitive framework designed to build and utilize actionable memory autonomously, without requiring model retraining.
Stage I: Critic-Guided Self-Exploration
The agent interacts with the Android environment using a Progressive Intent Focus. It alternates between "Curiosity-Driven Mode" to discover new UI elements and "Target-Focused Mode" to achieve specific sub-goals. A Critic (Reward Model) serves as a gatekeeper, ensuring only high-quality, successful trajectories are archived into the permanent memory database.
Stage II: Dynamic Memory Injection
Upon receiving a new task, the system employs a hybrid retrieval strategy—combining dense vector search (FAISS) and sparse keyword search (BM25)—to identify relevant past experiences. These are formatted into structured, human-readable "actionable memories."
Stage III: Memory-Augmented Inference
Retrieved memories are injected into the agent's prompt as in-context guidance. This operational blueprint helps the agent reason through tasks more effectively, significantly reducing redundant exploration and improving decision-making.
Experimental Evaluation
The framework was evaluated using EchoTrail-4K, a new dataset of over 4,000 autonomously collected trajectories, across two major benchmarks: AndroidWorld and AndroidLab.
As shown in the results, EchoTrail-GUI provides substantial performance boosts:
- AndroidWorld: GPT-4o's success rate increased from 34.5% to 51.7%, setting a new state-of-the-art for both closed and open-source models.
- AndroidLab: The open-source Qwen2.5-VL-72B model saw its success rate more than double, rising from 23.9% to 37.5%.
- Operational Efficiency: Agents demonstrated higher Reversed Redundancy Ratios (RRR) and Reasonable Operation Ratios (ROR), indicating more decisive and error-free execution.
Key Insights
- The Importance of the Critic: Ablation studies confirm that the Critic is the most vital component. Injecting low-quality or "noisy" memories is more detrimental than having no memory at all; a reliable reward model is essential for a trustworthy memory base.
- Optimal Retrieval Density: Researchers identified a "Goldilocks" zone for memory retrieval. Retrieving exactly $K=2$ memories provided the best balance; too many memories lead to "contextual dilution," where the agent becomes overwhelmed by prompt length and conflicting advice.
- Semantic Alignment: UMAP visualizations indicate that the agent's self-generated exploration tasks align closely with human-defined tasks, proving that the self-exploration is meaningful rather than random.
Conclusion and Future Work
EchoTrail-GUI effectively mitigates digital amnesia in GUI agents without requiring manual annotation or retraining. While performance remains capped by the underlying VLM's reasoning limits, the framework establishes a scalable path toward lifelong learning in complex digital environments. Future research will focus on scaling retrieval for massive databases and refining interaction across even more diverse app ecosystems.
Summary updated