Manuscript Offprint

arXiv:2610.06011

D-Loop: Looped Diffusion Drafting for Speculative Decoding

Kecheng Chen, Yuyang He, Cheng Gong, Hui Liu, Guoping Long, Jiajun Li, Shi Wu, Suiyun Zhang, Haoliang Li, Ziru Liu, Rui Liu

ABSTRACT

Block diffusion accelerates speculative decoding by drafting multiple tokens in one forward pass. However, each position predicts a marginal distribution without observing earlier proposed tokens, limiting draft quality and acceptance length. We identify a concrete failure, the repetition trap, in which neighboring positions produce redundant copies of the same token. We explain this tendency theoretically and empirically examine its association with shorter accepted drafts. Recent methods refine marginal predictions with an additional causal head or a separately trained drafter, increasing parameter storage and introducing separate training objectives. We instead propose D-Loop, which introduces intra-block causal conditioning within the original diffusion drafter without additional model components. Inspired by semi-autoregressive generation and parameter sharing, D-Loop reuses the same backbone across looped passes. The first pass proposes a block, and the second conditions on a selected prefix to regenerate the suffix in parallel. A complementary prefix–suffix objective trains the shared drafter for both anchor-only prefix prediction and prefix-conditioned suffix prediction. Across eight math, code, and chat benchmarks, D-Loop can beat DFlash and DSpark on Qwen3-4B and Qwen3-8B with obvious gains.

1 INTRODUCTION

Large language models generate outputs through a sequence of autoregressive forward passes. Speculative decoding reduces this cost by using a lightweight draft model (a.k.a. drafter) to propose several tokens and a stronger target model to verify them in parallel (Leviathan et al., 2023; Chen et al., 2023). Its effectiveness depends on both the cost of producing a proposal and the length of the prefix that survives verification. Compared to a small autoregressive drafter, diffusion drafting offers an appealing way to reduce proposal latency. As a pioneer, DFlash (Chen et al., 2026), inspired by diffusion language models (DLMs), conditions a lightweight block diffusion model on target-model features and predicts a block of masked tokens in one forward pass. This parallel computation permits a deeper drafter than is typically affordable in token-by-token speculation. However, its central modeling limitation is the lack of intra-block causal conditioning, i.e., each position predicts a marginal distribution without observing the tokens realized earlier in the same block, causing compromised proposal quality and limiting the accepted draft length.

In this paper, we identify a concrete failure of marginal modeling that we call the repetition trap, where neighboring positions produce redundant copies of the same token within a draft block. In Section 2, we provide a theoretical explanation of why marginal predictions can overproduce such repetitions and quantify their prevalence in actual draft outputs. These findings highlight the need to improve marginal draft predictions by accounting for dependencies among proposed tokens.

To this end, several recent methods improve marginal draft predictions by introducing additional refinement modules. For example, DSpark (Cheng et al., 2026) augments a parallel drafter with lightweight causal heads or refiners, while D 2^{2}SD (Zhang et al., 2026) introduces a separately trained diffusion drafter for prefix-conditioned redrafting. These approaches improve draft quality but require additional model parameters. Frameworks such as DSpark also combine multiple training objectives. This raises a simple question: can we alleviate the limitations of marginal modeling within the original drafter, without introducing any additional components? Such a design would be attractive for memory-constrained deployment by avoiding the storage of a separate refinement module or a second set of drafter weights. It also motivates a simpler training formulation that supports refinement without auxiliary head-specific objectives.

Notably, an well-established approach to strengthening generative quality of DLMs is semi-autoregressive generation, where each block conditions on previously generated blocks while retaining parallel prediction within a block (Arriola et al., 2025). Such an inter-block causal conditioning is devised without adding a separate model component. Drawing on this principle and parameter sharing in recurrent-depth models (Geiping et al., 2025), we propose D-Loop, a looped diffusion drafter that operates on discrete proposal states. The core idea of D-Loop is to introduce intra-block causal conditioning through looped shared-parameter forward passes. An earlier pass proposes a token block, and a later pass conditions on a selected prefix to regenerate the suffix in parallel. Both passes reuse the full drafter with the same parameters.

Our preliminary experiments found that the vanilla full-masking loss adopted by DFlash and DSpark is insufficient to enable looped forward passes. To make one drafter effective at both initial proposal and prefix-conditioned refinement, we develop a complementary prefix–suffix training objective. An anchor-only view supervises the prefix, and a revealed-prefix view supervises the suffix. Both views update shared parameters under one normalized objective. Despite an additional looped forward pass with a double drafting time (see Table 6), D-Loop still achieves better speedup performance (see Tables 3 and 4) due to its increased acceptance length compared to DFlash and DSpark.

Our contributions are threefold:

• We identify a repetition trap in block diffusion drafting for speculative decoding and provide a theoretical explanation of how marginal modeling can produce it. We quantify repetition in actual draft outputs and examine its association with shorter accepted drafts.

• Without adding a causal head or a second drafter, we propose D-Loop, which introduces intra-block causal conditioning within the diffusion drafter itself through shared-parameter looped passes. We train both passes with a complementary prefix–suffix objective.

• Experiments on math, code, and chat tasks with Qwen3-4B and Qwen3-8B demonstrate D-Loop’s effectiveness across model scales and task domains.

References (29)