Hardware Characterization of Diffusion vs. Autoregressive Language Model Inference: Compute vs. Memory Bottlenecks
Abstract
Autoregressive (AR) language models dominate today’s LLM deployments. Masked diffusion language models (MDLMs) have recently achieved quality comparable to similarly scaled AR models, yet their inference behavior on modern GPUs remains largely uncharacterized. We present a hardware-level characterization of representative diffusion language models and show that, although MDLMs and AR models share similar Transformer building blocks, diffusion inference exhibits fundamentally different bottlenecks at the hardware level, breaking the assumptions underlying modern AR serving architectures and systems.First, we find that each denoising forward pass is compute-bound and operates near the GPU roofline, shifting the bottleneck from HBM bandwidth in AR decode to tensor-core throughput. Second, under standard (uncached) implementation, diffusion inference is activation-dominated rather than KV-cache-dominated. Third, block diffusion interpolates between AR and full-sequence diffusion behavior. In particular, block size emerges as a hardware operating parameter that allows block diffusion models to be tuned to match the available system resources. Lastly, several AR-inherited optimizations exhibit qualitatively different behavior under diffusion workloads. Building on these observations, we analyze the transferability of the modern AR optimization stack to diffusion workloads and identify emerging hardware and system optimization directions for diffusion-oriented inference accelerators.