Speculative Loop: An Empirical Analysis of Draft Depth for Loop Transformers
Abstract
Loop Transformers reuse a shared block to increase computation per token, but every iteration lengthens autoregressive decoding. This report examines draft depth in native self-speculation: fewer loop iterations produce proposals, and standard full-depth verification preserves the target output distribution. We document this procedure in Speculative Loop and analyze its cost per emitted token. Joint loop depth and draft window examinations on Huginn show that additional draft iterations can retain longer prefixes while reducing throughput. Across three released checkpoints and four public benchmarks, mean vLLM speedups are on Huginn, on Parcae, and on Ouro using full-recomputation verification, with target depths from to . We also evaluate a PyTorch implementation and give a sufficient condition for reusing draft states. On Huginn's HumanEval and MT-Bench workloads, the trained EAGLE-1 drafter is faster than native drafting at depth , despite the native drafter retaining longer prefixes without additional parameters or training. The results characterize how draft depth, draft window size, and workload affect the cost of native drafting.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.CL
- Comments
- 15 pages, 5 figures, 6 tables
Related papers
RIVET: Router-Informed, Verifier-Guided Expert Tailoring for MoE Self-Speculative Decoding
Shared title terminologycs.LGYunhao Wang, Hongyu Zhao, Zhenjia Mo et al.
How Do RNNs and Transformers Divide Labor in Hybrid Language Models?
Shared title terminologycs.LGKe Cheng, Xin Xu, Yixiao Chen et al.
Does Cross-Panel Pretraining Transfer Under Marker Heterogeneity? A Large-Scale Empirical Study in Clinical Flow Cytometry
Shared title terminologycs.LGZixin Zhuang, Benjamin S. Mashford, T. Daniel Andrews
Exact Fits, Unstable Loops: Finite-Step Distribution Matching with Rebuilt Targets
Shared title terminologycs.LGXiaoqian Zhang, Xing Zhang
Knowing Without Saying: How Contextual Evidence Survives but Fails to Surface in Transformers
Shared title terminologycs.LGRuochen Jin, Tianyu Pang, Chenxi Lin et al.