paper-with-me

홈 › Papers

Lever: Speculative LLM Inference on Smartphones

2026-05-16 · Tuowei Wang, Fengzu Li, Yanfan Sun, Wei Gao, Ju Ren arxiv

Large language models (LLMs) are increasingly needed for interactive mobile applications, but high-quality models exceed the limited DRAM available on smartphones. Flash storage can hold larger models, yet flash-backed inference is slow because autoregressive decoding repeatedly invokes the target model and incurs costly I/O. We observe that speculative decoding is a natural fit for this setting: a small draft model can remain in DRAM, while a larger flash-resident target model verifies multiple candidate tokens per invocation. However, existing methods assume server-class accelerators and fail to account for prolonged I/O latency, limited computation parallelism, and irregular speculation execution. We present Lever, an end-to-end system for efficient flash-backed LLM inference on smartphones. Lever jointly optimizes the three stages of speculative decoding under mobile constraints. For drafting, it builds token trees using an I/O- and compute-aware gain-cost objective. For verification, it prunes low-value branches through early-exit prediction to reduce target-model computation. For execution, it maps speculation efficiently across mobile CPU-NPU hardware to improve utilization. Comprehensive evaluations show that Lever reduces inference latency by an average of 2.93x over baseline flash-offloaded inference and 1.50x over conventional speculative decoding, narrowing the latency gap between flash-backed and memory-resident LLM inference.

📄 PDF Abstract BibTeX arXiv:2605.16786

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Efficient On-Device Diffusion LLM Inference with Mobile NPU

2026-06-11 · Tuowei Wang, Yanfan Sun, Ju Ren arxiv

Diffusion large language models (dLLMs) accelerate generation by denoising multiple tokens in parallel, making them attractive for latency-sensitive mobile inference. However, repeated denoising introduces substantial co…

Speculative Sampling via Exponential Races

2025-04-21 · Szymon Kobus, Deniz Gündüz

Speculative decoding accelerates large language model inference using a smaller draft model. In this paper, we establish a surprising connection between speculative decoding and channel simulation, which aims at simulati…

Language ModelingLanguage ModellingLarge Language Model

CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Drafter

2025-02-24 · Yepeng Weng, Dianwen Mei, Huishi Qiu, Xujie Chen 외

Speculative decoding is a powerful technique that accelerates Large Language Model (LLM) inference by leveraging a lightweight speculative draft model. However, existing designs suffers in performance due to misalignment…

Large Language Model

Faster Cascades via Speculative Decoding

2024-05-29 · Harikrishna Narasimhan, Wittawat Jitkrittum, Ankit Singh Rawat, Seungyeon Kim 외

Cascades and speculative decoding are two common approaches to improving language models' inference efficiency. Both approaches involve interleaving models of different sizes, but via fundamentally distinct mechanisms: c…

CAS-Spec: Cascade Adaptive Self-Speculative Decoding for On-the-Fly Lossless Inference Acceleration of LLMs

2025-10-30 · Zhiyuan Ning, Jiawei Shao, Ruge Xu, Xinfei Guo 외 arxiv

Speculative decoding has become a widely adopted as an effective technique for lossless inference acceleration when deploying large language models (LLMs). While on-the-fly self-speculative methods offer seamless integra…