Building Fully On-Device GUI Agents with Mobile NPUs
Zhe Dong, Guanyu Cai, Yuchen Jiang, Jiliang Wang
Abstract
Mobile GUI agents are increasingly used to automate everyday smartphone tasks, but most existing systems still rely on cloud-hosted models or remote inference, introducing repeated communication latency, privacy exposure, and dependence on network availability. Modern smartphones integrate neural processing units (NPUs) that provide an attractive substrate for fully on-device LLM inference. However, directly deploying conventional GUI-agent pipelines on mobile NPUs is inefficient. GUI-agent inference is fundamentally a long-input, short-output workload, yet conventional agents spend substantial time on autoregressive reasoning and action generation, while mobile NPUs provide much higher throughput for prompt prefill than token-by-token decoding. Meanwhile, dynamically varying GUI-agent contexts conflict with the fixed context profiles required by statically compiled NPU runtimes. We present DroidPrefill, a prefill-centric inference architecture that reshapes the GUI-agent workload around mobile-NPU execution. DroidPrefill combines Prefill-Centric Inference to reduce unnecessary autoregressive decoding with Efficient Context Management to preserve decision-critical information within a fixed compiled context budget. Experiments on commercial smartphones show that, in controlled comparisons with the autoregressive T3A+ baseline, DroidPrefill reduces per-step inference latency by up to 85.0%, while improving task success rate by up to 24.6%.
Create a lesson
Related papers
ReCIM-HD: A 40 nm On-Device Learning Accelerator with Hyperdimensional Computing via Importance-Based Hybrid Digital-ReRAM CIM
Shared title terminology · Keming Fan, Chang Eun Song, Soumil Jain et al.
Sub-100KB On-Device CNN Training via Dynamic Sparse Updates and Hardware--Software Co-Design
Shared title terminology · I-Hsuan Li, Tian-Sheuan Chang
Mind the Delta: Early Pruning of RTL Variants for Agentic Hardware Optimization
Shared title terminology · Siyang Cai, Cangyuan Li, Haoyu Gao et al.
CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables
Shared title terminology · Hyunjun Park, Seungyub Han, Jason Jaesung Lee et al.
FlashX: Scaling Robotic Experience Reuse for Embodied Agents with CBA-Based NAND Flash
Shared title terminology · Yuseon Choi, Sanghyeon Park, Eunjong Lee et al.
Inference-Time Scaling in Agentic Hardware Verification Workflows: A Multi-Strategy Characterization Across Protocol Complexity
Shared title terminology · Vikash Kumar