LLMCad: Fast and Scalable On-device Large Language Model Inference
Not on the map. Why?
Abstract (arXiv)
Generative tasks, such as text generation and question answering, hold a crucial position in the realm of mobile applications. Due to their sensitivity to privacy concerns, there is a growing demand for their execution directly on mobile devices. Currently, the execution of these generative tasks heavily depends on Large Language Models (LLMs). Nevertheless, the limited memory capacity of these devices presents a formidable challenge to the scalability of such models. In our research, we introduce LLMCad, an innovative on-device inference engine specifically designed for efficient generative Natural Language Processing (NLP) tasks. The core idea behind LLMCad revolves around model collaboration: a compact LLM, residing in memory, takes charge of generating the most straightforward tokens, while a high-precision LLM steps in to validate these tokens and rectify any identified errors. LLMCad incorporates three novel techniques: (1) Instead of generating candidate tokens in a sequential manner, LLMCad employs the smaller LLM to construct a token tree, encompassing a wider range of plausible token pathways. Subsequently, the larger LLM can efficiently validate all of these pathways simultaneously. (2) It employs a self-adjusting fallback strategy, swiftly initiating the verification process whenever the smaller LLM generates an erroneous token. (3) To ensure a continuous flow of token generation, LLMCad speculatively generates tokens during the verification process by implementing a compute-IO pipeline. Through an extensive series of experiments, LLMCad showcases an impressive token generation speed, achieving rates up to 9.3x faster than existing inference engines.
Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). Builds on 51 of its 77 references that are in the map. First posted on arXiv 8 Sep 2023.
Builds on
51 of 77 references.
References · 51
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
38 more
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 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
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2022Token Merging: Your ViT But Fastercited by 995
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2016Generative Adversarial Text to Image Synthesiscited by 735
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2022Confident Adaptive Language Modelingcited by 297
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
- 2022Unified Scaling Laws for Routed Language Modelscited by 249
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
- 2020Semantic Photo Manipulation with a Generative Image Priorcited by 178
- 2021Learned Token Pruning for Transformerscited by 138
- 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
- 2022Revisiting Neural Scaling Laws in Language and Visioncited by 129
- 2019Convergence of Edge Computing and Deep Learning: A Comprehensive Surveycited by 120
- 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 104
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2020PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruningcited by 75
- 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 69
- 2018NestDNN: Resource-Aware Multi-Tenant On-Device Deep Learning for Continuous Mobile Visioncited by 68
- 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
- 2023Language Models are Few-shot Learners for Prognostic Predictioncited by 37
- 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applicationscited by 32
- 2019MobiSR: Efficient On-Device Super-Resolution through Heterogeneous Mobile Processorscited by 27
- 2021SpeechMoE2: Mixture-of-Experts Model with Improved Routingcited by 26
- 2021LegoDNN: Block-grained Scaling of Deep Neural Networks for Mobile Visioncited by 20
- 2022STI: Turbocharge NLP Inference at the Edge via Elastic Pipeliningcited by 14
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 28; 2025: 13; 2026: 3.
45 papers.
Sort:
By area:
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024Mobile Edge Intelligence for Large Language Models: A Contemporary Surveycited by 125
- 2024Small Language Models: Survey, Measurements, and Insightscited by 109
- 2024Sequoia: Scalable, Robust, and Hardware-aware Speculative Decodingcited by 103
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024On-Device Language Models: A Comprehensive Reviewcited by 101
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunitiescited by 83
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 73
- 2024HYDRA: Model Factorization Framework for Black-Box LLM Personalizationcited by 59
- 2024Fast On-device LLM Inference with NPUscited by 58
33 more
- 2024Octopus v2: On-device language model for super agentcited by 45
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devicescited by 45
- 2024A Survey on Transformer Compressioncited by 44
- 2024MELTing point: Mobile Evaluation of Language Transformerscited by 35
- 2024A Theoretical Perspective for Speculative Decoding Algorithmcited by 28
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
- 2024ProPD: Dynamic Token Tree Pruning and Generation for LLM Parallel Decodingcited by 12
- 2024Training and Serving System of Foundation Models: A Comprehensive Surveycited by 11
- 2025Edge-First Language Model Inference: Models, Metrics, and Tradeoffscited by 11
- 2025Cognitive Edge Computing: A Comprehensive Survey on Optimizing Large Models and AI Agents for Pervasive Deploymentcited by 10
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learningcited by 8
- 2024Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Modelscited by 7
- 2024Resource Allocation for Stable LLM Training in Mobile Edge Computingcited by 7
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systemscited by 6
- 2025PICE: A Semantic-Driven Progressive Inference System for LLM Serving in Cloud-Edge Networkscited by 5
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 5
- 2024DroidCall: A Dataset for LLM-powered Android Intent Invocationcited by 4
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inferencecited by 4
- 2025Token Level Routing Inference System for Edge Devicescited by 4
- 2025Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmissioncited by 4
- 2024Elastic On-Device LLM Servicecited by 3
- 2025Dissecting the Impact of Mobile DVFS Governors on LLM Inference Performance and Energy Efficiencycited by 3
- 2024Edge Graph Intelligence: Reciprocally Empowering Edge Networks with Graph Intelligencecited by 2
- 2025DiSCo: Device-Server Collaborative LLM-Based Text Streaming Servicescited by 2
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inferencecited by 1
- 2025Ghidorah: Fast LLM Inference on Edge with Speculative Decoding and Hetero-Core Parallelismcited by 1
- 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devicescited by 1
- 2024SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inferencecited by 0
- 2025Atom: Efficient On-Device Video-Language Pipelines Through Modular Reusecited by 0
- 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generationcited by 0
- 2026AsymSpec: Efficient Cloud-Edge Speculative Decoding over Asymmetric Networkscited by 0
- 2026DLoop: Looped Speculative Decodingcited by 0
- 2026DLoop: Looped Speculative Decoding6 Oct 2026
- 2026AsymSpec: Efficient Cloud-Edge Speculative Decoding over Asymmetric Networks5 Aug 2026
- 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generation15 Apr 2026
- 2025Atom: Efficient On-Device Video-Language Pipelines Through Modular Reuse18 Dec 2025
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
- 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devices12 Aug 2025
- 2025Dissecting the Impact of Mobile DVFS Governors on LLM Inference Performance and Energy Efficiency2 Jul 2025
- 2025Ghidorah: Fast LLM Inference on Edge with Speculative Decoding and Hetero-Core Parallelism29 May 2025
- 2025Edge-First Language Model Inference: Models, Metrics, and Tradeoffs22 May 2025
- 2025Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmission17 May 2025
- 2025Token Level Routing Inference System for Edge Devices10 Apr 2025
- 2025FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inference4 Mar 2025
33 more
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inference1 Mar 2025
- 2025DiSCo: Device-Server Collaborative LLM-Based Text Streaming Services17 Feb 2025
- 2025PICE: A Semantic-Driven Progressive Inference System for LLM Serving in Cloud-Edge Networks16 Jan 2025
- 2025Cognitive Edge Computing: A Comprehensive Survey on Optimizing Large Models and AI Agents for Pervasive Deployment4 Jan 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systems12 Dec 2024
- 2024DroidCall: A Dataset for LLM-powered Android Intent Invocation30 Nov 2024
- 2024A Theoretical Perspective for Speculative Decoding Algorithm30 Oct 2024
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learning10 Oct 2024
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Models8 Oct 2024
- 2024Resource Allocation for Stable LLM Training in Mobile Edge Computing30 Sep 2024
- 2024Small Language Models: Survey, Measurements, and Insights24 Sep 2024
- 2024Elastic On-Device LLM Service8 Sep 2024
- 2024On-Device Language Models: A Comprehensive Review26 Aug 2024
- 2024Mobile Edge Intelligence for Large Language Models: A Contemporary Survey9 Jul 2024
- 2024Fast On-device LLM Inference with NPUs8 Jul 2024
- 2024Edge Graph Intelligence: Reciprocally Empowering Edge Networks with Graph Intelligence7 Jul 2024
- 2024HYDRA: Model Factorization Framework for Black-Box LLM Personalization5 Jun 2024
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devices4 Jun 2024
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengths30 May 2024
- 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunities17 May 2024
- 2024Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Models23 Apr 2024
- 2024Octopus v2: On-device language model for super agent2 Apr 2024
- 2024MELTing point: Mobile Evaluation of Language Transformers19 Mar 2024
- 2024SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inference11 Mar 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024ProPD: Dynamic Token Tree Pruning and Generation for LLM Parallel Decoding21 Feb 2024
- 2024Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding19 Feb 2024
- 2024A Survey on Transformer Compression5 Feb 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding15 Jan 2024
- 2024Training and Serving System of Foundation Models: A Comprehensive Survey5 Jan 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024Sequoia: Scalable, Robust, and Hardware-aware Speculative Decodingcited by 103
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 73
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devicescited by 45
- 2024A Theoretical Perspective for Speculative Decoding Algorithmcited by 28
- 2024ProPD: Dynamic Token Tree Pruning and Generation for LLM Parallel Decodingcited by 12
- 2024Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Modelscited by 7
- 2025PICE: A Semantic-Driven Progressive Inference System for LLM Serving in Cloud-Edge Networkscited by 5
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inferencecited by 1
- 2025Ghidorah: Fast LLM Inference on Edge with Speculative Decoding and Hetero-Core Parallelismcited by 1
12 most cited of 14 All 14 (JSON)
- 2026DLoop: Looped Speculative Decoding6 Oct 2026
- 2026AsymSpec: Efficient Cloud-Edge Speculative Decoding over Asymmetric Networks5 Aug 2026
- 2025Ghidorah: Fast LLM Inference on Edge with Speculative Decoding and Hetero-Core Parallelism29 May 2025
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inference1 Mar 2025
- 2025PICE: A Semantic-Driven Progressive Inference System for LLM Serving in Cloud-Edge Networks16 Jan 2025
- 2024A Theoretical Perspective for Speculative Decoding Algorithm30 Oct 2024
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devices4 Jun 2024
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengths30 May 2024
- 2024Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Models23 Apr 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024ProPD: Dynamic Token Tree Pruning and Generation for LLM Parallel Decoding21 Feb 2024
- 2024Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding19 Feb 2024
12 newest of 14 All 14 (JSON)
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024DroidCall: A Dataset for LLM-powered Android Intent Invocation30 Nov 2024
- 2024Octopus v2: On-device language model for super agent2 Apr 2024
- 2024Mobile Edge Intelligence for Large Language Models: A Contemporary Surveycited by 125
- 2024Small Language Models: Survey, Measurements, and Insightscited by 109
- 2024On-Device Language Models: A Comprehensive Reviewcited by 101
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024HYDRA: Model Factorization Framework for Black-Box LLM Personalizationcited by 59
- 2024Fast On-device LLM Inference with NPUscited by 58
- 2024A Survey on Transformer Compressioncited by 44
- 2024MELTing point: Mobile Evaluation of Language Transformerscited by 35
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
- 2024Training and Serving System of Foundation Models: A Comprehensive Surveycited by 11
- 2025Edge-First Language Model Inference: Models, Metrics, and Tradeoffscited by 11
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learningcited by 8
12 most cited of 25 All 25 (JSON)
- 2025Atom: Efficient On-Device Video-Language Pipelines Through Modular Reuse18 Dec 2025
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
- 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devices12 Aug 2025
- 2025Dissecting the Impact of Mobile DVFS Governors on LLM Inference Performance and Energy Efficiency2 Jul 2025
- 2025Edge-First Language Model Inference: Models, Metrics, and Tradeoffs22 May 2025
- 2025Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmission17 May 2025
- 2025Token Level Routing Inference System for Edge Devices10 Apr 2025
- 2025FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inference4 Mar 2025
- 2025DiSCo: Device-Server Collaborative LLM-Based Text Streaming Services17 Feb 2025
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systems12 Dec 2024
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learning10 Oct 2024
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Models8 Oct 2024
12 newest of 25 All 25 (JSON)