LoopFill: Pipelined Multi-Token Speculative Decoding for Looped Transformers
Abstract
Looped Transformers improve parameter efficiency by repeatedly applying the same Transformer layers. During autoregressive decoding, however, generating each token requires several sequential passes through these layers, leading to high decoding latency. Pipelined self-speculative methods use shallow-loop predictions to process tokens at different loops in the same batch, but each token must reach the drafting depth before the next can enter the pipeline. We introduce LoopFill, a training-free speculative decoding algorithm for looped LLM that combines multi-token suffix drafts with shallow-loop predictions in a single draft tree. Both drafters contribute to one tree, so a suffix lookup can immediately extend a shallow prediction and several future tokens can enter the pipeline together. The shared block computes the highest-scoring draft candidates at different loop depths in one batch, and full-depth verification preserves the model's autoregressive output distribution. Across seven benchmarks, LoopFill's average speedup over greedy autoregressive decoding is on Ouro-2.6B and on Huginn-3.5B. The speedups exceed those of LoopAhead, the strongest baseline, by on Ouro-2.6B and on Huginn-3.5B.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
LoopSkim: Lossless Multi-Depth Speculative Decoding for Looped Language Models
Shared title terminologycs.LGMuhan Xiao, Shijian Li
PackLoop: Row-Packed Self-Speculative Decoding for Looped Language Models under Concurrency
Shared title terminologycs.LGRunguo Li, Dezhen Lu
Tokenization and Architecture Jointly Allocate Component Roles in Time Series Transformers
Shared title terminologycs.LGMingyu Kim, Doguk Kim
SwiftLoop: Selective Refinement for Adaptive Implicit Reasoning in Looped Transformers
Shared title terminologycs.LGTianyi Zhao, Ke Wan, Chen Chen
Memory-Efficient Speculative Decoding with Quantized Draft KV Cache
Shared title terminologycs.LGSaksham Gupta, Michael Li
Multi-Branch Transformer
Shared title terminologycs.LGGaotang Li, Lingjie Chen, Chunyuan Deng et al.