TL;DR
Diffusion Language Models (DLMs) promise fast, parallel text generation, but in practice, they consistently lag behind traditional Autoregressive (AR) models. This paper systematically evaluates DLM efficiency using empirical benchmarks and theoretical roofline modeling, revealing that while DLMs utilize GPU compute efficiently, their massive per-token computational cost negates their parallelization benefits—especially at larger batch sizes and sequence lengths.
Introduction
Autoregressive (AR) models like GPT and LLaMA dominate natural language generation but suffer from a sequential bottleneck: they must generate text one token at a time. Diffusion Language Models (DLMs) have emerged as a promising alternative because they generate multiple tokens in parallel via an iterative denoising process.
Theoretically, DLMs should be much faster. Practically, a "paradox" exists: current open-source DLMs are significantly slower than AR models of the same size. The authors argue that current literature is often muddied by flawed evaluation practices, such as testing only at a batch size of 1 or using fixed output lengths, which obscures the underlying efficiency challenges.
Methodology
The researchers conducted a systematic comparison of three foundational architectures:
- Autoregressive (AR): LLaMA-3.1-8B-Instruct
- Diffusion (DLM): LLaDA-8B-Instruct
- Block Diffusion: Fast-dLLM v2-7B (a hybrid approach)
They paired empirical benchmarks on the GSM8K dataset with a theoretical analysis using the Roofline model. This allowed them to decompose inference throughput into hardware-side performance (FLOPs/s) and model-side efficiency (FLOPs/token).
Key Insights: The Efficiency Paradox
The study reveals that DLMs have high arithmetic intensity, allowing them to hit the GPU's compute ceiling easily. However, their model-side efficiency is poor: the number of FLOPs required to generate a single token scales quadratically with sequence length.
Conversely, AR models are memory-bound due to KV-cache reads but require vastly fewer FLOPs per token. This algorithmic efficiency allows AR models to achieve higher overall throughput despite lower hardware utilization.
Results and Scaling Analysis
Sequence Length Penalty
DLM throughput drops drastically as generation length increases. For example, throughput can drop by ~75% at short lengths and ~50% at 1024 tokens. In contrast, AR and Block Diffusion throughputs remain stable up to 2,000 tokens.
Batch Size Scaling
As batch size increases, AR and Block Diffusion throughput grows steadily. DLM throughput stays nearly flat and quickly hits Out-Of-Memory (OOM) errors. This highlights that DLMs are compute-bound; adding more concurrent requests does not improve efficiency because the GPU is already saturated by the massive per-token math requirements.
Acceleration Limits
Popular DLM acceleration strategies, such as "parallel decoding," often show impressive results in papers because they are tested at a batch size of 1. However, the study found that once the batch size exceeds 2 to 4, the standard AR model reclaims the performance lead.
Conclusion and Future Work
The authors suggest that the community needs standardized benchmarks for non-autoregressive models. Future DLM research should focus on reducing the computational cost of forward passes and sampling steps. While DLMs currently struggle with high-throughput server tasks, they remain promising for on-device inference and non-sequential tasks like code synthesis.
Summary updated