
ZM
Ziyang Ma, Zihong Zhang, Tinghao Dong, Zuchao Li, Lefei Zhang
· 1 min read
ResearcharXiv cs.AI
Meet the Future Halfway: Foresight-Guided Speculative Decoding for Looped Transformers
arXiv:2611.40037v1 Announce Type: new
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.
Original source
This story was published by arXiv cs.AI and written by Ziyang Ma, Zihong Zhang, Tinghao Dong, Zuchao Li, Lefei Zhang. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


