Accelerating Mobile Language Model via Speculative Decoding and NPU-Coordinated Execution
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
also in 1 more
Abstract (arXiv)
Performing Retrieval-Augmented Generation (RAG) directly on mobile devices is promising for data privacy and responsiveness but is hindered by the architectural constraints of mobile NPUs. Specifically, current hardware struggles with the variable workloads intrinsic to RAG: the transition between processing extensive contexts and generating tokens incurs significant overhead due to static graph constraints, while the memory-bound generation phase leaves computational resources underutilized. In this work, we propose a holistic acceleration framework sd.npu, designed to maximize NPU efficiency for on-device RAG ecosystem. To address the latency caused by NPU graph switching during phase transitions, we introduce a pipelined execution strategy. This approach masks the overhead of model reconfiguration by parallelizing the loading of decoding graphs with the computation of partitioned context chunks (chunked prefill), thereby ensuring continuous execution flow. Furthermore, to mitigate low hardware utilization during the decoding phase, we develop an NPU-centric speculative decoding mechanism. By calibrating generation distributions and extending draft sequences, our method effectively converts idle NPU cycles into valid token throughput. Experiments on commercial smartphones show that our framework significantly outperforms existing baselines, delivering 1.06×--3.81× speedups and 1.07×--4.71× energy savings across various RAG tasks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 54 of its 84 references that are in the map. First posted on arXiv 17 Oct 2025.
Builds on
54 of 84 references.
Closest ancestors · 3
Same direction, newest first
- 2025MobileRAG: A Fast, Memory-Efficient, and Energy-Efficient Method for On-Device RAG1 Jul
- 2024EdgeRAG: Online-Indexed RAG for Edge Devices30 Dec
- 2024MeMemo: On-device Retrieval Augmentation for Private and Personalized Text Generation2 Jul
Other references · 51
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
38 more
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 564
- 2023LaMP: When Large Language Models Meet Personalizationcited by 425
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 362
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verificationcited by 359
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 289
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
- 2025Small Language Models are the Future of Agentic AIcited by 254
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 242
- 2023AutoDroid: LLM-powered Task Automation in Androidcited by 178
- 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 101
- 2024Not All Layers of LLMs Are Necessary During Inferencecited by 95
- 2024GliDe with a CaPE: A Low-Hassle Method to Accelerate Speculative Decodingcited by 74
- 2023EdgeMoE: Empowering Sparse Large Language Models on Mobile Devicescited by 65
- 2024Understanding the Weakness of Large Language Model Agents within a Complex Android Environmentcited by 60
- 2025Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignmentcited by 59
- 2024Fast On-device LLM Inference with NPUscited by 58
- 2023Explore, Select, Derive, and Recall: Augmenting LLM with Human-like Memory for Mobile Task Automationcited by 57
- 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insightscited by 51
- 2024SAM Decoding: Speculative Decoding via Suffix Automatoncited by 38
- 2024EDGE-LLM: Enabling Efficient Large Language Model Adaptation on Edge Devices via Layerwise Unified Compression and Adaptive Layer Tuning and Votingcited by 26
- 2024BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devicescited by 25
- 2025Characterizing Mobile SoC for Accelerating Heterogeneous LLM Inferencecited by 20
- 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUscited by 17
- 2024PLD+: Accelerating LLM inference by leveraging Language Model Artifactscited by 16
- 2025RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decodingcited by 14
- 2025Fuzzy Speculative Decoding for a Tunable Accuracy-Runtime Tradeoffcited by 14
- 2025LeanRAG: Knowledge-Graph-Based Generation with Semantic Aggregation and Hierarchical Retrievalcited by 14
- 2025Agent.xpu: Efficient Scheduling of Agentic LLM Workloads on Heterogeneous SoCcited by 11
- 2025Fast and Cost-effective Speculative Edge-Cloud Decoding with Early Exitscited by 8
- 2024DecDEC: A Systems Approach to Advancing Low-Bit LLM Quantizationcited by 7
- 2025Accelerating Edge Inference for Distributed MoE Models with Latency-Optimized Expert Placementcited by 7
- 2025DReSD: Dense Retrieval for Speculative Decodingcited by 6
- 2025FlexiGPT: Pruning and Extending Large Language Models with Low-Rank Weight Sharingcited by 4
- 2025TokenSwift: Lossless Acceleration of Ultra Long Sequence Generationcited by 4
- 2025ShadowNPU: System and Algorithm Co-design for NPU-Centric On-Device LLM Inferencecited by 4
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Efficient Mixture-of-Experts LLM Inference with Apple Silicon NPUscited by 2
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabulariescited by 1
- 2026ValueDiff: Value-Geometric KV Cache Eviction for Sink-Suppressed LLMscited by 0
- 2026Empowering Hybrid Attention Models on NPUscited by 0
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
- 2026ValueDiff: Value-Geometric KV Cache Eviction for Sink-Suppressed LLMs20 Sep 2026
- 2026Efficient Mixture-of-Experts LLM Inference with Apple Silicon NPUs20 Apr 2026
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabularies8 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Energy-Efficient On-Device RAG on a Mobile NPU: System Design and Benchmark on Snapdragon X Elite
- 2026Lever: Speculative LLM Inference on Smartphones
- 2025Efficient Distributed Retrieval-Augmented Generation for Enhancing Language Model Performance
- 2024AMUSD: Asynchronous Multi-Device Speculative Decoding for LLM Acceleration
- 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving
- 2026Unlocking the Edge deployment and ondevice acceleration of multi-LoRA enabled one-for-all foundational LLM
- 2026Compiler-Assisted Speculative Sampling for Accelerated LLM Inference on Heterogeneous Edge Devices
- 2024HADES: Hardware Accelerated Decoding for Efficient Speculation in Large Language Models