mlsanityData to 7 Oct 2026

LLMCad: Fast and Scalable On-device Large Language Model Inference

arXiv 2309.04255 ↗First posted 8 Sep 2023cs.NI cs.AIcited by 45

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  8. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  10. 2020Scaling Laws for Neural Language Modelscited by 6,411
  11. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  12. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
38 more
  1. 2016Pointer Sentinel Mixture Modelscited by 2,992
  2. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  3. 2022Emergent Abilities of Large Language Modelscited by 2,483
  4. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  5. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  6. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  7. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  8. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  9. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  10. 2022Token Merging: Your ViT But Fastercited by 995
  11. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  12. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  13. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  14. 2016Generative Adversarial Text to Image Synthesiscited by 735
  15. 2022Efficiently Scaling Transformer Inferencecited by 529
  16. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
  17. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  18. 2022Confident Adaptive Language Modelingcited by 297
  19. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
  20. 2022Unified Scaling Laws for Routed Language Modelscited by 249
  21. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
  22. 2020Semantic Photo Manipulation with a Generative Image Priorcited by 178
  23. 2021Learned Token Pruning for Transformerscited by 138
  24. 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
  25. 2022Revisiting Neural Scaling Laws in Language and Visioncited by 129
  26. 2019Convergence of Edge Computing and Deep Learning: A Comprehensive Surveycited by 120
  27. 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 104
  28. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
  29. 2020PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruningcited by 75
  30. 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 69
  31. 2018NestDNN: Resource-Aware Multi-Tenant On-Device Deep Learning for Continuous Mobile Visioncited by 68
  32. 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
  33. 2023Language Models are Few-shot Learners for Prognostic Predictioncited by 37
  34. 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applicationscited by 32
  35. 2019MobiSR: Efficient On-Device Super-Resolution through Heterogeneous Mobile Processorscited by 27
  36. 2021SpeechMoE2: Mixture-of-Experts Model with Improved Routingcited by 26
  37. 2021LegoDNN: Block-grained Scaling of Deep Neural Networks for Mobile Visioncited by 20
  38. 2022STI: Turbocharge NLP Inference at the Edge via Elastic Pipeliningcited by 14

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 28; 2025: 13; 2026: 3.

45 papers.

Sort:

By area:

  1. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
  2. 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
  3. 2024Mobile Edge Intelligence for Large Language Models: A Contemporary Surveycited by 125
  4. 2024Small Language Models: Survey, Measurements, and Insightscited by 109
  5. 2024Sequoia: Scalable, Robust, and Hardware-aware Speculative Decodingcited by 103
  6. 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
  7. 2024On-Device Language Models: A Comprehensive Reviewcited by 101
  8. 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
  9. 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunitiescited by 83
  10. 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 73
  11. 2024HYDRA: Model Factorization Framework for Black-Box LLM Personalizationcited by 59
  12. 2024Fast On-device LLM Inference with NPUscited by 58
33 more
  1. 2024Octopus v2: On-device language model for super agentcited by 45
  2. 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devicescited by 45
  3. 2024A Survey on Transformer Compressioncited by 44
  4. 2024MELTing point: Mobile Evaluation of Language Transformerscited by 35
  5. 2024A Theoretical Perspective for Speculative Decoding Algorithmcited by 28
  6. 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
  7. 2024ProPD: Dynamic Token Tree Pruning and Generation for LLM Parallel Decodingcited by 12
  8. 2024Training and Serving System of Foundation Models: A Comprehensive Surveycited by 11
  9. 2025Edge-First Language Model Inference: Models, Metrics, and Tradeoffscited by 11
  10. 2025Cognitive Edge Computing: A Comprehensive Survey on Optimizing Large Models and AI Agents for Pervasive Deploymentcited by 10
  11. 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learningcited by 8
  12. 2024Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Modelscited by 7
  13. 2024Resource Allocation for Stable LLM Training in Mobile Edge Computingcited by 7
  14. 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systemscited by 6
  15. 2025PICE: A Semantic-Driven Progressive Inference System for LLM Serving in Cloud-Edge Networkscited by 5
  16. 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 5
  17. 2024DroidCall: A Dataset for LLM-powered Android Intent Invocationcited by 4
  18. 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
  19. 2025FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inferencecited by 4
  20. 2025Token Level Routing Inference System for Edge Devicescited by 4
  21. 2025Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmissioncited by 4
  22. 2024Elastic On-Device LLM Servicecited by 3
  23. 2025Dissecting the Impact of Mobile DVFS Governors on LLM Inference Performance and Energy Efficiencycited by 3
  24. 2024Edge Graph Intelligence: Reciprocally Empowering Edge Networks with Graph Intelligencecited by 2
  25. 2025DiSCo: Device-Server Collaborative LLM-Based Text Streaming Servicescited by 2
  26. 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inferencecited by 1
  27. 2025Ghidorah: Fast LLM Inference on Edge with Speculative Decoding and Hetero-Core Parallelismcited by 1
  28. 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devicescited by 1
  29. 2024SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inferencecited by 0
  30. 2025Atom: Efficient On-Device Video-Language Pipelines Through Modular Reusecited by 0
  31. 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generationcited by 0
  32. 2026AsymSpec: Efficient Cloud-Edge Speculative Decoding over Asymmetric Networkscited by 0
  33. 2026DLoop: Looped Speculative Decodingcited by 0