Saved in:
Bibliographic Details
Main Authors: Kong, Yi, Shi, Dianxi, Yang, Guoli, ke-di, Zhang, Huang, Chenlin, Li, Xiaopeng, Jin, Songchang
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.21953
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912509004349440
author Kong, Yi
Shi, Dianxi
Yang, Guoli
ke-di, Zhang
Huang, Chenlin
Li, Xiaopeng
Jin, Songchang
author_facet Kong, Yi
Shi, Dianxi
Yang, Guoli
ke-di, Zhang
Huang, Chenlin
Li, Xiaopeng
Jin, Songchang
contents The recent advancement of autonomous agents powered by Large Language Models (LLMs) has demonstrated significant potential for automating tasks on mobile devices through graphical user interfaces (GUIs). Despite initial progress, these agents still face challenges when handling complex real-world tasks. These challenges arise from a lack of knowledge about real-life mobile applications in LLM-based agents, which may lead to ineffective task planning and even cause hallucinations. To address these challenges, we propose a novel LLM-based agent framework called MapAgent that leverages memory constructed from historical trajectories to augment current task planning. Specifically, we first propose a trajectory-based memory mechanism that transforms task execution trajectories into a reusable and structured page-memory database. Each page within a trajectory is extracted as a compact yet comprehensive snapshot, capturing both its UI layout and functional context. Secondly, we introduce a coarse-to-fine task planning approach that retrieves relevant pages from the memory database based on similarity and injects them into the LLM planner to compensate for potential deficiencies in understanding real-world app scenarios, thereby achieving more informed and context-aware task planning. Finally, planned tasks are transformed into executable actions through a task executor supported by a dual-LLM architecture, ensuring effective tracking of task progress. Experimental results in real-world scenarios demonstrate that MapAgent achieves superior performance to existing methods. The code will be open-sourced to support further research.
format Preprint
id arxiv_https___arxiv_org_abs_2507_21953
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MapAgent: Trajectory-Constructed Memory-Augmented Planning for Mobile Task Automation
Kong, Yi
Shi, Dianxi
Yang, Guoli
ke-di, Zhang
Huang, Chenlin
Li, Xiaopeng
Jin, Songchang
Human-Computer Interaction
Artificial Intelligence
The recent advancement of autonomous agents powered by Large Language Models (LLMs) has demonstrated significant potential for automating tasks on mobile devices through graphical user interfaces (GUIs). Despite initial progress, these agents still face challenges when handling complex real-world tasks. These challenges arise from a lack of knowledge about real-life mobile applications in LLM-based agents, which may lead to ineffective task planning and even cause hallucinations. To address these challenges, we propose a novel LLM-based agent framework called MapAgent that leverages memory constructed from historical trajectories to augment current task planning. Specifically, we first propose a trajectory-based memory mechanism that transforms task execution trajectories into a reusable and structured page-memory database. Each page within a trajectory is extracted as a compact yet comprehensive snapshot, capturing both its UI layout and functional context. Secondly, we introduce a coarse-to-fine task planning approach that retrieves relevant pages from the memory database based on similarity and injects them into the LLM planner to compensate for potential deficiencies in understanding real-world app scenarios, thereby achieving more informed and context-aware task planning. Finally, planned tasks are transformed into executable actions through a task executor supported by a dual-LLM architecture, ensuring effective tracking of task progress. Experimental results in real-world scenarios demonstrate that MapAgent achieves superior performance to existing methods. The code will be open-sourced to support further research.
title MapAgent: Trajectory-Constructed Memory-Augmented Planning for Mobile Task Automation
topic Human-Computer Interaction
Artificial Intelligence
url https://arxiv.org/abs/2507.21953