DroidPrefill:面向移动NPU的端侧GUI Agent预填充推理架构
Building Fully On-Device GUI Agents with Mobile NPUs
DroidPrefill是一种以预填充为中心的端侧推理架构,将GUI Agent的长输入、短输出负载重新适配移动NPU执行,结合预填充推理与高效上下文管理,在固定编译上下文预算内保留决策关键信息。在商用智能手机上与自回归T3A+基线对比,每步推理延迟最高降低85.0%,任务成功率最高提升24.6%。
arXiv:2611.20772v1 Announce Type: new 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%.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org