LoopSkim: Lossless Multi-Depth Speculative Decoding for Looped Language Models
Abstract
Looped language models such as Ouro and Raven apply one weight-shared block several times per token, so autoregressive decoding (AR) runs every loop of every token in sequence. Pipelined self-speculative decoders overlap these loops by drafting tokens from shallow readouts and verifying them at full depth. Yet every loop of a looped LM ends in a readout of the next token, and draft tokens pass through every depth anyway, so each depth can check them without an extra pass. We introduce LoopSkim, in which the depth of the pipeline is the verifier. Draft tokens copied from the context, as in prompt lookup decoding, enter after the first loops, any later readout that contradicts one replaces it at that depth, and only full-depth readouts commit tokens. LoopSkim fixes the random draws of every position in advance, so each check compares two tokens and decoding stays lossless in exact arithmetic under sampling for any number of checks and draft chains. Without training, its speedup over AR averages 1.73x that of LoopSpec across greedy decoding and sampling, and its checks between the first loops and full depth speed it up on every model. An optional draft head adds a second chain and raises this average to 1.99x.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CL
- Comments
- 23 pages, 3 figures, 16 tables
Related papers
PackLoop: Row-Packed Self-Speculative Decoding for Looped Language Models under Concurrency
Shared title terminologycs.LGRunguo Li, Dezhen Lu
LoopFill: Pipelined Multi-Token Speculative Decoding for Looped Transformers
Shared title terminologycs.LGSiqi Zhu, Suozhi Huang, Yi Zhao et al.
VisHead-Spec: Head-Routed Visual Attention for Multimodal Speculative Decoding
Shared title terminologycs.LGXin Guo, Arushi Rai, Xiang Zhou et al.
Memory-Efficient Speculative Decoding with Quantized Draft KV Cache
Shared title terminologycs.LGSaksham Gupta, Michael Li
Scaling large language model-assisted line-of-therapy adjudication with human-in-the-loop evidence-calibrated selection
Shared title terminologycs.LGOlatunji Oni, Sanhita Sengupta, Marc De Benedetti et al.
Architectures and KV Replay for Depth-Recurrent Language Models
Shared title terminologycs.LGLucia Licakova, Niklas Schmidinger, Lukas Hauzenberger et al.