MobiInfer: Accelerating On-Device GUI Agents with Workload-Aware Inference
Abstract
Mobile GUI agents assist users in executing phone tasks through iterative observe-reason-act loops. However, deploy ing multimodal GUI agents directly on smartphones is challenging due to strict end-to-end latency requirements and significant memory overhead. We observe that GUI-agent work loads exhibit recurring workflows and structured I/O: their prompts contain reusable context, while their outputs follow fixed schemas with phase-dependent predictability. Based on this observation, we present MobiInfer, a workload-aware inference engine for on-device multimodal GUI agents. MobiInfer combines trajectory-aware prefix reuse, phase-indexed vocabulary specialization, and schema-guided speculative decoding to eliminate redundant prefill computation and reduce structured-generation overhead. We implement MobiInfer on top of MNN and evaluate it on AndroidWorld and a real world dataset using three real Android devices. Across the four model-benchmark settings, MobiInfer achieves average speedups of 2.6x in prefill and 2.5x in decoding, reduces end-to-end task latency by 2.4x on average, and cuts total deployment storage by 30%, while limiting task-success degradation to less than one percentage point.
Create a lesson
Related papers
EngineAgent: Agentizing On-Device LLM Inference Engines with Inference Stack Hierarchy Awareness and Hardware Abilities
Shared title terminologycs.OSZhengxiang Huang, Yujie Sun, Shengheng Chen et al.
Tideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices
Shared title terminologycs.OSYifei Wang, Tsun-yu Yang, Yechen Xu et al.
MorphSched: Workload-Aware Adaptive Scheduler Generation for Linux
Shared title terminologycs.OSYifan Zhang, Hengxuan Lou, Xinkui Zhao et al.
From LLM Inference to Agentic Workloads: Characterization and Implications for Serving Systems
Shared title terminologycs.OSChaokun Chang, Yukun Zhou, Kaihua Fu et al.
ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System
Shared title terminologycs.OSHao Kang, Ziyang Li, Weili Xu et al.
SARIA: Persistence-Aware KV Caching with Coordinated DRAM--SSD Reload for LLM Agents
Shared title terminologycs.OSHui Li, Qihui Zhou, Xiao Yan et al.