Diffusion Beats Autoregressive in Data-Constrained Settings

Amir Zadeh (Lambda) · Katerina Fragkiadaki (Carnegie Mellon University) · Mihir Prabhudesai (Carnegie Mellon University) · Mengning Wu (Carnegie Mellon University) · Deepak Pathak (Carnegie Mellon University)
autoregressive modelsclosed-form expressioncompute bottleneckcritical compute thresholddata scarcitydata-constrained settingsdiffusion-based language modelsdownstream performanceimplicit data augmentationleft-to-right factorizationmasked diffusion modelsperformance comparisonrandomized masking objectivescaling lawstoken orderingsvalidation loss

Autoregressive (AR) models have long dominated the landscape of large language models, driving progress across a wide range of tasks. Recently, diffusion-based language models have emerged as a promising alternative, though their advantages over AR models remain underexplored. In this paper, we systematically study masked diffusion models in data-constrained settings—where training involves repeated passes over limited data—and find that they significantly outperform AR models when compute is abundant but data is scarce. Diffusion models make better use of repeated data, achieving lower validation loss and superior downstream performance. We find new scaling laws for diffusion models and derive a closed-form expression for the critical compute threshold at which diffusion begins to outperform AR. Finally, we explain why diffusion models excel in this regime: their randomized masking objective implicitly trains over a rich distribution of token orderings, acting as an implicit data augmentation that AR’s fixed left-to-right factorization lacks. Our results suggest that when data, not compute, is the bottleneck, diffusion models offer a compelling alternative to the standard AR paradigm. Our code is available at: https://diffusion-scaling.github.io