TLDR: This research paper compares the performance of Autoregressive Language Models (ARMs) and Diffusion Language Models (DLMs). It finds that while ARMs are dominant, DLMs offer parallel generation potential. However, naive DLMs struggle with long contexts due to full sequence re-processing. The paper introduces block-wise decoding with KV caching to improve DLM scaling and arithmetic intensity. It also shows ARMs generally have better throughput in batched inference. The key to making open-source DLMs competitive is reducing the number of sampling steps, which can significantly improve latency and throughput, especially in small-batch scenarios.
Large Language Models (LLMs) have transformed the landscape of artificial intelligence, powering everything from code generation to complex dialogue. For a long time, Autoregressive Language Models (ARMs) have been the dominant architecture, generating text one token at a time, building on all previously generated content. While highly accurate, this sequential nature creates a bottleneck, limiting how efficiently they can perform computations.
Recently, Diffusion Language Models (DLMs) have emerged as a promising alternative. Unlike ARMs, DLMs generate text by iteratively refining a sequence of random noise into coherent output, updating all tokens in parallel at each step. This parallel processing capability suggests a potential for much faster generation, breaking free from the sequential constraints of ARMs.
However, the real-world performance implications of DLMs compared to the widely used ARMs haven’t been fully understood, especially for open-source implementations. A recent research paper, titled “Beyond Next-Token Prediction: A Performance Characterization of Diffusion versus Autoregressive Language Models,” delves deep into this comparison. The authors, Minseo Kim, Coleman Hooper, Aditya Tomar, Chenfeng Xu, Mehrdad Farajtabar, Michael W. Mahoney, Kurt Keutzer, and Amir Gholami, provide a comprehensive study, combining theoretical analysis with practical profiling data to highlight the trade-offs.
Understanding the Core Differences
The paper explains that ARMs, during their initial processing of a prompt (prefill), can be compute-bound, meaning their speed is limited by how fast they can perform calculations. However, during the actual text generation (decode), they become memory-bound, bottlenecked by the speed at which they can access stored information (known as KV caching). This caching helps avoid recomputing past tokens but puts pressure on memory bandwidth.
Naive DLMs, on the other hand, process the entire sequence at each refinement step. This means they exhibit higher arithmetic intensity (more computation per memory operation) but struggle with longer contexts because they have to re-process the full sequence repeatedly. This leads to a sharp increase in latency as the generated text length grows.
Introducing Block-wise Decoding for DLMs
To address the scaling issues of naive DLMs, the researchers explored “block-wise decoding” with approximate KV caching. This innovative approach combines the best of both worlds: it processes text in blocks, reusing cached information from completed blocks (like ARMs), while updating tokens within the active block in parallel (like DLMs). This method significantly reduces latency and makes the arithmetic intensity more consistent, allowing DLMs to scale better to longer contexts, similar to ARMs.
Batching Performance: ARMs Still Lead
When it comes to serving multiple users simultaneously (batched inference), the paper found that ARMs generally offer superior throughput. ARMs are more effective at leveraging parallelism across different sequences in a batch, especially during their memory-bound decoding phase. DLMs, even with block-wise decoding, tend to hit performance plateaus earlier due to their compute-heavy block generation and the cumulative cost of many iterative refinement steps.
Also Read:
- DiffuSpec: Accelerating LLM Inference with Diffusion Language Models
- Coevolutionary Continuous Discrete Diffusion: A New Paradigm for Language Models
The Path Forward for Open-Source DLMs
A critical finding is that while closed-source DLMs (like Google’s Gemini Diffusion or Inception Labs’ Mercury) claim substantial speedups, current open-source DLMs often lag behind ARMs. The main bottleneck identified is the high cost of iterative refinement, specifically the large number of sampling steps (K) required, which often scales with the length of the generated text.
The paper emphasizes that reducing these sampling steps is crucial for open-source DLMs to become competitive. Techniques like multi-token finalization, confidence-based early finalization, and distillation into simpler models are highlighted as promising avenues to cut down on steps without sacrificing quality. This reduction in steps, particularly in scenarios with smaller batch sizes, could enable DLMs to surpass ARMs in throughput.
This research provides valuable insights into the architectural trade-offs and performance characteristics of these two major LLM paradigms, paving the way for more efficient and faster text generation in the future. You can read the full research paper for more details: Beyond Next-Token Prediction: A Performance Characterization of Diffusion versus Autoregressive Language Models.


