Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison

Caio Vicentino
3/23/2026
cs.CL

No official code found. Best implementation: caiovicentino/arche (1 star, MIT, last commit 2026-03-23).

Abstract

We present a controlled empirical comparison between autoregressive (AR) and masked diffusion (MDLM) language models. Both models are trained on identical data (50M tokens from TinyStories), identical compute budget (20,000 steps, batch size 32, sequence length 512), and identical hardware (NVIDIA H100 80GB), isolating the generation paradigm as the sole variable. We report three findings. First, both paradigms achieve comparable training throughput (~50K tokens/second), with MDLM requiring only 4.7% more wall-clock time. Second, AR converges faster and begins overfitting by step 14,000, while MDLM converges more slowly and is still improving at step 20,000, suggesting different compute-optimal training regimes. Third, quantitative diversity analysis over 1,000 generated samples reveals a structural diversity-fluency trade-off: AR produces fluent but repetitive outputs (99.8% begin with the same word), while MDLM generates more diverse narratives (93.4% unique 5-word openings, higher Distinct-n, lower Self-BLEU), at the cost of occasional grammatical inconsistencies. All code, trained checkpoints, and data pipelines are released for reproducibility.

View on arXivView PDF

Code Implementations(1)

MIT

Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison

11TeX, ShellMar 23, 20267 months agoMIT

Similar Papers

Cite this paper

@article{vicentino2026autoregressive,
  title  = {Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison},
  author = {Caio Vicentino},
  year   = {2026},
  eprint = {2603.22075},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.22075v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.22075.svg)](https://codeofpaper.com/paper/2603.22075)

Discussion