HuggingFace Daily Papers· Siqi Zhu, Suozhi Huang, Yi Zhao, Jiaxuan You·· 12 天前AI 评分44
LoopFill:面向循环Transformer的流水线多Token投机解码
LoopFill: Pipelined Multi-Token Speculative Decoding for Looped Transformers
AI 导读
LoopFill是一种无需训练的投机解码算法,将多Token后缀草稿与浅层循环预测合并到同一草稿树中,使多个未来Token可同时进入流水线。在七个基准上,其相对贪心自回归解码的平均加速为Ouro-2.6B上5.85倍、Huginn-3.5B上5.13倍,分别比最强基线LoopAhead高40%和25%。
正文 · 原文
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 $5.85\times$ on Ouro-2.6B and $5.13\times$ on Huginn-3.5B. The speedups exceed those of LoopAhead, the strongest baseline, by \(40\%\) on Ouro-2.6B and \(25\%\) on Huginn-3.5B.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.19649 [cs.LG] |
| (or arXiv:2611.19649v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2611.19649 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Siqi Zhu [view email]
[v1]
Sat, 14 Nov 2026 22:35:41 UTC (424 KB)
来源:HuggingFace Daily Papers · arxiv.org