LOON: Efficient Self-Speculative Decoding for Looped Language Models on Mobile NPUs
Abstract
Looped language models reuse weights across rounds, allowing deeper computation to improve reasoning within a fixed weight memory budget. This makes them attractive for smartphones. Sharing weights saves parameters, but generating each token still requires multiple sequential rounds of computation, slowing autoregressive decoding. We use self-speculative decoding on mobile NPUs to accelerate generation. Cross-round methods let a draft token start its first round while an earlier token advances through later rounds. This exposes parallelism within a decoding step, but existing methods struggle to exploit it fully on mobile NPUs. Tokens ready in the same step can share projection weights across rounds, but small batches can finish computing before the next weight block is ready. Even at the same batch size, attention becomes more expensive when tokens span more rounds and must read more distinct histories. At the output head, spare matrix rows offer a way to check drafts early and avoid further work on an incorrect continuation. We present LOON, a training-free inference system that accelerates self-speculative decoding for looped language models on mobile NPUs. StepPack batches projections by step to share weights. Its pipeline transfers and prepares the next block while the NPU multiplies the current one. RoundKV groups queries by round and writes KV entries in the attention kernel's native layout for direct reads. TileCheck uses spare rows in the output projection to check intermediate drafts and correct errors early. We evaluate all 27 combinations of three commercial phones, three looped models, and three benchmarks. Under the same speculative strategy, LOON delivers 1.31 to 3.94 times the decode throughput of the fastest baseline in each configuration, with no statistically significant accuracy loss and lower estimated energy per request.
Create a lesson
Metadata
- Comments
- 16 pages, 14 figures
Related papers
Glimpse: Exploiting Draft Attention for Bandwidth-Efficient Verification in Mobile Edge Speculative Decoding
Shared title terminologycs.ARChao Fang, Xiaodong Liu, Robin Geens et al.
SiblingAttention: Efficient Prefill-Decode Attention Parallelism via Tensor-Vector Specialization
Shared title terminologycs.ARJianxing Xu, Yuanbo Wen, Yihan Wang et al.
EdgeALM: An Efficient and Unified Edge Accelerator for Large Audio Language Models via Full-Stack Hardware-Software Co-Design and Agent-Driven Recursive Optimization
Shared title terminologycs.ARChenglin Yang, Feifan Xu, Xingyuan Li et al.
FOREST: Coordinating Tree-based HBF, RRAM, and HBM for Efficient Speculative LLM Inference
Shared title terminologycs.ARHao Ding, Zheng Shi, Dongxue Zhao et al.
PDG-CORDIC: A Posit-Decode-Guided Low-Latency CORDIC for Activation Function
Shared title terminologycs.ARYibo Rui, Jiajun Zhang
HARP: Rethinking ATPG-Augmented On-Chip Random Patterns to Enhance Test Efficiency
Shared title terminologycs.ARMd Rezoan Ferdous, Aritra Dasgupta, Sudipta Paria et al.