arXiv · 2611.40037
Meet the Future Halfway: Foresight-Guided Speculative Decoding for Looped Transformers
Abstract
Looped transformers gain effective depth through repeated use of shared layers, but sequential recurrence makes autoregressive generation expensive. Existing self-speculative pipelines overlap shallow prediction with full-depth verification, while their lookahead remains token-wise. We propose \textbf{LoopAhead}, a training-free decoding framework that uses early bonus logits to sustain longer drafts and advance them through the pipeline as blocks. An online draft automaton incorporates first-stage top-$k$ predictions before final verification completes, supplying fresh contextual candidates for compact draft trees. Shallow verification selects token sequences whose computed states advance together through the remaining loops in a block wavefront pipeline, overlapping drafting with verification. Across six models and five benchmarks, our method achieves average speedups of $3.75$--$7.97\times$ over SGLang autoregressive decoding under greedy generation. Code: https://github.com/whucs21Mzy/loopahead.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ziyang Ma, Zihong Zhang, Tinghao Dong, Zuchao Li, Lefei Zhang. 2026-11-29. Meet the Future Halfway: Foresight-Guided Speculative Decoding for Looped Transformers. https://searcharxiv.org/abs/2611.40037
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.