Skip to content

Speculative Loop: An Empirical Analysis of Draft Depth for Loop Transformers

Peihao Yang (Alibaba Cloud Computing) Bo Gao (Alibaba Cloud Computing) Teng Ma (Independent Researcher) Tinghe Zhu (Alibaba Cloud Computing) Zheng Liu (Alibaba Cloud Computing) Tao Ma (Alibaba Cloud Computing)
Dec 2026
Artificial Intelligence Machine Learning Natural Language Processing

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 $1.85\times$ on Huginn, $1.93\times$ on Parcae, and $1.83\times$ on Ouro using full-recomputation verification, with target depths from $4$ to $32$. 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 $8$, 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.

View source

Similar papers

#artificial intelligence Preprint Jul 2024

The Llama 3 Herd of Models

It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. · 21,082 citations · ⚡3,832
#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Diffusion models as plug-and-play priors

The possibility of inferring high-dimensional data inference in a model that consists of a prior and an auxiliary differentiable constraint given some additional information is considered, thereby allowing a range of potential applications in adapting models to new domains and tasks.

Alexandros Graikos, Esmeralda S. Whitammer, N. Jojic et al. · 316 citations · ⚡15

Trajectory Balance: Improved Credit Assignment in GFlowNets

It is proved that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution, and empirically demonstrate the benefits of the trajectories balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequenc...

Esmeralda S. Whitammer, Moksh Jain, Emmanuel Bengio et al. · 302 citations · ⚡60

Related blog posts

MIT News · Artificial Intelligence Dec 1, 2026

A new form of memory helps robots learn complex skills

The method uses large vision-language models to teach smaller models how to remember key details about a robot’s surroundings, making the machines more reactive and resourceful.

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.