dLoop: Looped Diffusion Language Models via Recurrent Latent Refinement

Handa Li, Pengxiang Li, Mingyu Cao, Xilu Wang, Li Shen, Da Li, Lu YinarXiv 2026 · arXiv

Diffusion Language Models (DLMs) offer a tantalizing alternative to standard autoregressive models by allowing for parallel token generation. However, they often stumble in practice: because only a few tokens are "reliable" enough to commit at each denoising step, they end up requiring many iterations, negating their speed advantage.

A new paper, dLoop, proposes a clever architectural shift to solve this. Instead of just trying to be more confident, dLoop gives the model the internal "thinking time" it needs to refine its predictions before making an irreversible commitment.

TL;DR

dLoop introduces recurrent latent refinement to Diffusion Language Models, allowing them to refine uncommitted token representations within a single denoising step. By repeatedly applying a parameter-shared "Loop Block," dLoop achieves state-of-the-art accuracy on reasoning and coding tasks while maintaining a superior efficiency trade-off compared to existing acceleration methods.

What Problem Does This Paper Address?

The core bottleneck in DLM inference is the accuracy-parallelism trade-off. To move fast, a model must commit many tokens per step. But if it commits "immature" predictions—tokens formed before information has fully propagated across the prompt and other masked positions—the generation quality collapses.

Existing solutions like dParallel or d3LLM use "certainty-forcing" distillation to train the model to reach high confidence earlier. While effective for speed, these methods don't fundamentally improve the underlying representations; they just force a decision. The authors of dLoop ask: Can we allow the model to continue computing in latent space before commitment, turning immature predictions into reliable ones?

Methods

The authors restructure a pretrained DLM (specifically LLaDA) into a Prelude–Loop–Coda architecture:

  1. Prelude: Encodes the partially masked input sequence once.
  2. Loop Block: A set of parameter-shared intermediate layers (layers 16–21 in their 32-layer setup) that are executed recurrently.
  3. Coda: Maps the final refined representations to vocabulary logits.
Overview of the dLoop architecture showing the recurrent Loop Block and Prelude anchor.

To keep the recurrence stable, they use a Prelude-anchored update. In each extra loop, the model doesn't just process the previous hidden state; it "re-injects" the original Prelude output. This prevents the internal representations from drifting too far from the actual input while allowing information to circulate and integrate across the sequence.

The model is trained using Multi-Depth Supervised Fine-Tuning (SFT), where it learns to predict tokens across varying loop depths ($k \in \{0, 1, 2, 3\}$). At inference time, a confidence-aware decoder selects tokens that meet a reliability threshold to be committed.

Datasets

The researchers evaluated dLoop on four demanding benchmarks:

  • Mathematical Reasoning: GSM8K and MATH.
  • Code Generation: MBPP and HumanEval.

They compared dLoop against native LLaDA and state-of-the-art acceleration methods: Fast-dLLM, dParallel, and d3LLM.

Key Insights and Ideas

  • The Latent Workspace: One of the most striking findings is that uncommitted (masked) positions aren't just empty placeholders; they act as a "distributed latent workspace." Extra loops allow these positions to exchange information and reorganize their internal states.
  • Stability for "Hard" Examples: Mechanistic analysis showed that extra loops are most beneficial for "unstable" trajectories—cases where the model's top prediction would otherwise flip-flop between denoising steps. The extra compute stabilizes these decisions.
  • Uncommitted Tokens Drive Progress: Using a "source rollback" intervention (Figure 2), the authors proved that the performance gains come specifically from refining the uncommitted representations, rather than the prompt or already-fixed tokens.
Figure 2: Single-step source rollback. H0 = [P0, C0, U0] and H1 = [P1, C1, U1] denote the hidden states produced before and after one extra loop, respectively. P, C, and U denote the hidden states at prompt-token positions, previ- ously committed-token positions, and currently uncommit- ted positions. Subscripts 0 and 1 indicate states before and after the extra loop. The intervention constructs [P1, C1, U0] by rolling back only the uncommitted component from U1 to U0, while retaining P1, C1, and the same Coda and language- model head.

Key Results

dLoop consistently hits the "sweet spot" between quality and speed:

  • Top-Tier Accuracy: dLoop achieved the highest or tied-highest accuracy on every benchmark tested (e.g., 76.3% on GSM8K).
  • Superior Efficiency Trade-off: To ensure a fair comparison, the authors used Adjusted Tokens Per Forward Pass (TPF), which accounts for the extra compute spent in loops. Even with this "tax," dLoop outperformed Fast-dLLM and dParallel in the accuracy-parallelism trade-off.
  • Reliability: Unlike methods that force confidence through loss functions, dLoop's confidence rises "spontaneously" through computation, leading to more robust results.
Comparison of TPF and Accuracy across benchmarks. dLoop shows the best accuracy while maintaining high TPF.

Limitations and Future Work

While dLoop is a significant step forward, the authors note a few areas for growth:

  • Fixed Loop Depth: In this study, the number of extra loops was fixed per task. A more efficient approach would be adaptive looping, where the model decides to "think longer" only on difficult tokens or steps.
  • Training Overhead: The model requires fine-tuning to adapt to the recurrent structure. Exploring training-free ways to "loop" existing models remains an open challenge.
  • Scaling: Future work could investigate how recurrent latent refinement scales to even larger models (e.g., 70B+) and whether it provides similar benefits for non-text modalities.

Summary updated

Abstract

Diffusion language models (DLMs) support parallel generation, yet they often require many denoising steps because only a fraction of token predictions are sufficiently reliable to be committed at each step. Existing acceleration methods primarily optimize confidence learning or commitment policies. However, these approaches operate on the outputs of a single denoising forward pass, in which information from the prompt, previously committed tokens, and uncommitted positions may not yet be fully integrated. Consequently, some predictions remain under-refined when the commitment decision is made, and modifying the commitment policy alone cannot improve their underlying representations. We introduce dLoop, which restructures a pretrained diffusion language model into a Prelude-Loop-Coda architecture and recurrently applies a parameter-shared intermediate block to the same partially masked state. Rather than advancing the denoising process, each additional loop provides further latent computation, allowing information distributed across uncommitted positions to continue interacting and become more fully integrated before commitment. Experiments on GSM8K, MATH, MBPP, and HumanEval show that dLoop achieves the highest or tied-highest accuracy on every benchmark. With tokens per forward pass (TPF) adjusted for loop computation, it outperforms Fast-dLLM in both accuracy and TPF on all four benchmarks and dParallel on three, and is more accurate than d3LLM on all four, while d3LLM attains higher TPF; no compared method surpasses dLoop in both. Mechanistic analyses show that extra loops mainly help on slow, unstable trajectories and that updates at uncommitted positions drive changes in token decisions and later generation. Pre-commitment latent computation thus makes predictions more reliable, offering a route to DLM acceleration distinct from forcing confidence through the training loss.
BibTeX
@misc{li2026dloop,
  author = {Handa Li and Pengxiang Li and Mingyu Cao and Xilu Wang and Li Shen and Da Li and Lu Yin},
  title = {{dLoop: Looped Diffusion Language Models via Recurrent Latent Refinement}},
  year = {2026},
  eprint = {2611.26275},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26275},
}
Figure