Skip to content

LOON: Efficient Self-Speculative Decoding for Looped Language Models on Mobile NPUs

Zhe Dong, Guanyu Cai, Jiliang Wang

cs.AR

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