cs.SEOct 22, 2026

Reuse, Rewrite, or Reject: Evidence-Constrained Trace Reuse for Repeated Mobile GUI Control

Authors: Bingyu Bai, Cheng Zhang, Erhu Feng

Organizations: Institute of Parallel and Distributed Systems (IPADS), Shanghai Jiao Tong University

Abstract

Mobile GUI agents frequently perform repetitive tasks with similar interaction procedures. Reusing previous executions can reduce redundant LLM inference and execution overhead, but variations in user instructions and execution environments may invalidate previously successful actions. We systematically characterize these variations into six representative categories and observe that such changes do not necessarily invalidate entire procedures: individual transitions can remain reusable when validated against the current task context and interface state. Based on this insight, we propose graph-text templates for selective execution-trace reuse. The graph captures UI states and action transitions, while the text encodes task intent, procedural structure, and typed slots for variable content. A record-template-replay framework constructs templates from verified executions and leverages the current instruction and live UI state to reuse, adapt, or discard individual transitions. Given an execution trace, our framework reduces LLM inference token consumption by approximately 80% on average across five base agents on AndroidWorld, with most agents achieving at least 1.5-fold execution speedup over LLM-only execution. In real-device evaluations on Android and HarmonyOS, our framework achieves action reuse ratios of 70.7-79.8% while maintaining over 2-fold execution speedup in most evaluated configurations.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. DeltaReplay: Task-Relative Memory Reuse for Mobile GUI Agents

    Oct 8, 2026Yudong Bai, Yihong Chen, Quanming Yao +1Mobile GUI AgentsAgent Memory Management

  2. PastForward: Faster On-Device GUI Agents via Computational Experience Reuse

    Sep 26, 2026Taehwan Park, Changmin Lee, Hayeon Lee +1Mobile GUI AgentsOn-Device Inference

  3. Executable Agentic Memory for GUI Agent

    May 12, 2026Zerui Qin, Sheng Yue, Xingyuan Hua +2GUI AgentsLLM Agent Memory