← All entries
Paper2026#504

Looped Diffusion Language Models

Summary

LoopMDM shares a small early-middle block (typically 2 layers) for S applications while keeping head/tail unshared; S is sampled uniformly in {1..S_max} at train time. Iso-parameter 170M DiT matches same-size MDM test NLL with up to 3.3x fewer training FLOPs on FineWeb-Edu/OWT/LM1B; GSM8K +8.5pp vs same-size MDM and beats a deeper 21-layer MDM at matched per-step FLOPs. Adaptive loop stopping (~5 vs 12 loops) keeps downstream acc. Attention analysis: looping raises mask-to-mask attention, using masked positions as a workspace (Sudoku under forced L2R order). No official code on abs.

Venue
arXiv / KAIST / KRAFTON / UC Berkeley
Purpose
Selectively loop early-middle transformer layers in MDMs for training-FLOP efficiency and inference-time compute scaling
Scale
170M 12L DiT on FineWeb-Edu/OWT/LM1B, seq 1024/128, 4xA100; 125M Qwen2-style 14L on TinyGSM 11.8M; Sudoku 100k train / 1k test; S_max=12 (LM) / 8 (GSM8K)
Time period
2026-05-25 (arXiv 2605.26106 v1); 23 pages. HF paper publishedAt 2026-05-25.
Added
Oct 1, 2026
Research status
done

From the source

Published
May 25, 2026
arXiv categories
cs.LG
Author comment
23 pages
Citations
0
References
79

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Masked diffusion models (MDMs) have emerged as a promising alternative to autoregressive models for language modeling, yet the effective design of transformer architectures for MDMs remains underexplored. In this paper, we show that selectively looping the early-middle transformer layers significantly improves both training efficiency and model performance in MDMs. We call this approach LoopMDM(Looped Masked Diffusion Model), which brings two key benefits: looping layers at training-time yields a depth-scaling effect without adding parameters, while varying the number of loops at inference-time enables flexible compute scaling. Despite the simplicity, the results are striking: across multiple pre-training corpora, LoopMDM matches the performance of same-size MDMs with up to 3.3 fewer training FLOPs, while its final performance outperforms them on various reasoning benchmarks, including up to 8.5 points on GSM8K. It even surpasses deeper non-looped MDMs trained with comparable per-step compute, indicating that selective looping is more effective than naive depth scaling. Furthermore, LoopMDM can scale inference-time compute by increasing the number of loops. Adaptively adjusting the number of loops throughout the sampling process further yields additional gains in compute efficiency while maintaining performance. Lastly, with attention analysis, we provide evidence that looping is effective in MDMs by promoting interactions among masked positions. Our code and weights will be publicly released.

Tags

loopmdmmasked-diffusionlooped-transformerfineweb-edugsm8kkraftonkaisttest-time-compute

Topics

masked diffusion, looped transformers, language modeling

Research notes

  • Primary: arxiv abs (cs.LG). CC BY 4.0 on abs HTML. KAIST (Lee internship at KRAFTON) / KRAFTON / UC Berkeley. Correspondence lsh83210/hoarer/seungryong.kim@kaist.ac.kr, jonghyunlee/dongmin.park@krafton.com, jjhpark@berkeley.edu. No official code on abs. HF paper page 0 upvotes. Discord posted PDF. Pretrains on public FineWeb-Edu/OWT/LM1B/TinyGSM; no new corpus, so no datasets_local row.

Cites, within this collection 4

Similar entries