Manuscript Offprint

arXiv:2608.23807

Serving Masked Diffusion LLMs: Characterization and Design Principles from Real Hardware

Farhana Amin, Sabiha Afroz, Mona Moghadampanah, Dimitrios S. Nikolopoulos

Farhana Amin

Dept. of Computer Science

Virginia Tech

Blacksburg, VA, USA

afarhana@vt.edu

Sabiha Afroz

Dept. of Computer Science

Virginia Tech

Blacksburg, VA, USA

sabihaafroz@vt.edu

Mona Moghadampanah

Dept. of Computer Science

Virginia Tech

Blacksburg, VA, USA

monamp@vt.edu

Dimitrios S. Nikolopoulos

Dept. of Computer Science

Virginia Tech

Blacksburg, VA, USA

dsn@vt.edu

Abstract—Masked diffusion language models (dLLMs) can in principle generate text faster than autoregressive (AR) models, since they denoise many tokens at once. Recent systems have begun building serving infrastructure for dLLMs, but none first measure how these models behave under real, concurrent serving load. Serving systems built without this grounding risk carrying over assumptions from AR serving that may not hold for dLLMs. We characterize dLLM serving to close this gap, using LLaDA-8B-Instruct with a D2F (Discrete Diffusion Forcing) LoRA adapter on a single NVIDIA H200 GPU, evaluated on GSM8K (tier structure, predictability, batching, scheduling) and HumanEval (block-size invariance and variance structure). We report three findings. First, request difficulty, the number of denoising steps a request needs, is discrete rather than continuous: requests fall into 11 fixed step-count levels (178 + 29k), and no signal we test predicts the level before generation starts (best R2=0.150R^{2} = 0.150, far below the 0.5 floor we treat as scheduling-useful). Second, benchmarks with short generation budgets (< 320 tokens) understate serving variance, since requests are cut off before the latency spread appears. Third, only 24% of single-request wall-clock time is GPU computation; the rest is CPU-side dispatch overhead. Batching mainly helps by amortizing this overhead: sharing one forward pass per denoising step improves throughput by 16.0× at batch size 16 over a per-request-dispatch baseline. We also argue structurally that output quality should not degrade with batch size, stating three assumptions this rests on; we measure 74–76% GSM8K accuracy at single-request scale. Finally, we derive a batch-timeout rule for fixed-fill synchronized batching under Poisson arrivals. Together, these results show that serving diffusion language models needs parallelism at the level of each denoising step, which differs from AR serving in how admission and eviction interact with an already-shared forward pass, not in whether a forward pass is shared at all.

Index Terms—masked diffusion language models, LLM serving, batching, GPU characterization, inference systems

I. INTRODUCTION

Masked diffusion language models (dLLMs) [1], [2] generate text in a different way from standard autoregressive (AR) models [3]. Instead of writing tokens one by one from left to right, they start from a fully masked sequence and slowly denoise it over several steps. Because one forward pass can update a whole block of tokens at once, dLLMs promise higher throughput than AR decoding. Recent work such as D2F (Discrete Diffusion Forcing) [4] delivers part of this promise, combining block-wise KV caching with adaptive scheduling to reach large speedups. However, these gains have only been shown for a single request running alone.

The shift toward LLM inference as shared infrastructure is already underway at HPC facilities. Department of Energy (DOE) and academic centers increasingly run LLM inference as an allocation-based service rather than a commercial cloud offering. The Argonne Leadership Computing Facility's (ALCF) Inference Service, for example, gives researchers across the DOE laboratory ecosystem cloud-like access to LLMs running directly on HPC systems [5]. The workload properties we study in this paper connect directly to what these facility operators care about. For dLLMs specifically, per-request compute cost cannot be predicted at admission time ( §III−A§III-A): unlike AR inference, where cost scales roughly with prompt and output length known or estimable in advance, a dLLM request's denoising-step count is not observable until generation is underway. This unpredictability makes backfill scheduling [6], which depends on reasonably accurate runtime estimates to pack jobs into scheduling gaps, harder to apply to dLLM workloads, and it complicates service-level agreement (SLA) commitments on shared, allocation-managed hardware. The latency-optimal operating point we find at ρ≈0.70\rho \approx 0.70 ( §V\S V) gives operators a concrete utilization target for running dLLM endpoints. We therefore treat this work as a characterization of dLLM serving as a facility workload, not as a cloud-serving benchmark.

Most existing work on speeding up dLLMs, however, only looks at this single-request case. Methods such as dKV-Cache [7], Fast-dLLM [8], dLLM-Cache [9], FlashDLM [10], Sparse-dLLM [11], and Spiffy [12] all reuse computation across denoising steps, through caching, sparsity, or speculation, and each reports large reductions in per-request latency. What remains open is how these models behave under real serving conditions, where many requests share one GPU at the same time and each needs a different number of denoising steps.

Modern AR serving systems, such as vLLM [13] and Orca [14], rely on one key property of AR decoding: each request moves forward by one token per step, mostly on its own, without depending on the other requests in its batch. This independence is exactly what makes continuous batching simple and effective for AR systems. We show that masked diffusion serving does not have this property. Applying AR-style continuous batching to it without change can make throughput worse, not better.

Here is why. If a continuous batcher were applied directly to masked diffusion decoding, each active request would still need its own forward pass at every denoising step, because dLLM requests do not share the same simple, uniform update that AR next-token decoding does. Requests also need different numbers of denoising steps ( §III−A§III-A). Together, this means more GPU dispatch calls per step for every active request, instead of the single shared forward pass that masked diffusion serving actually allows ( §IV§IV).

We use two terms in this paper, and define them here so they are clear before §IV. Continuous batching is the standard AR-serving approach used by vLLM [13] and Orca [14]: active requests share one forward pass per iteration, and finished requests are swapped out for new ones as they arrive. Synchronized batching is different: all requests in a batch move forward together, through one shared forward pass per denoising step. This is not a serving strategy we propose; it is the natural consequence of how block-parallel masked-diffusion decoding already computes each step (§II), and is the mode existing dLLM inference code, including the D2F implementation we build on, already executes when a batch is dispatched together. We adopt the term to name it precisely and contrast it with continuous batching, not to claim priority over the mechanism itself.

A small number of recent systems have started to address dLLM serving directly. dInfer [15] gives a modular inference framework for batched throughput. DiLaServe [16], Sangam [17], and dLLM-Serve [18] look at scheduling, prefill/decode partitioning, and memory management, respectively. Our goal is different and complementary. Rather than build a serving system, we give an empirical, measurement-grounded characterization of why dLLM serving behaves the way it does. Concretely, this characterization establishes four things not previously reported: that dLLM difficulty is discrete rather than continuous and cannot be predicted at admission time (§III); that per-request dispatch overhead tracks batch size closely, within 20 to 27% at smaller batch sizes and matching almost exactly by B=8B = 8 (§IV); that 76% of single-request latency is host-side dispatch rather than device compute (§IV-C); and that short generation-length benchmarks systematically understate real serving variance (§III). These are mechanistic explanations, we use them to derive concrete, testable principles, the batch-timeout stability rule (§V) and the step-level-parallelism argument against naive continuous batching for this workload class (§IV), that existing and future dLLM serving systems, including those cited above, could use as measurement-grounded design inputs rather than assumptions carried over from AR serving.

Our measurements come from a single GPU. Two categories of finding generalize differently to shared, multi-tenant HPC facilities.

First, the workload-level properties we characterize, discrete, admission-time-unpredictable difficulty tiers (denoising step counts cluster into 11 discrete values that cannot be inferred before generation begins, §III), high service-time variance, and the step-level dispatch cost structure (§IV), are properties of the model's computation itself, not of the single-GPU measurement setup. A cluster scheduler allocating GPUs to dLLM jobs faces the same unpredictable, high-variance, discretely-tiered service times regardless of whether that GPU is dedicated or shared; these properties are inputs a multi-tenant scheduler would need to account for, and single-GPU measurement is the correct way to isolate them from confounding cluster-level effects.

Second, effects that arise specifically from sharing, contention for memory bandwidth or streaming multiprocessor (SM) resources between co-located jobs, scheduler preemption, and multi-GPU parallelism strategies for serving larger models, are not measured here and do not follow directly from our results. We propose this characterization as future work.

The batch-timeout stability rule we derive ( §V§V) should be read in this light: it is a single-GPU, single-tenant service model, not a complete multi-tenant scheduling policy. Its role for facilities running cluster schedulers such as Slurm [19] is as a building block, a per-job service-time characterization that a multi-tenant scheduler could take as input when making admission and allocation decisions, rather than a drop-in replacement for existing cluster scheduling logic. A scheduler that instead assumes AR-style, predictable per-token service costs would misallocate GPU-hours for dLLM jobs regardless of tenancy model, which is the more general point our single-GPU results support; validating the stability rule itself under real multi-tenant contention is the natural next step.

Concretely, we make three measurement-based observations, and we use them to motivate a serving design that departs from AR practice. Each finding pairs a measured result with the mechanism that produces it, and the design implication it motivates:

  1. dLLM request difficulty is discrete, not continuous ( §III−A§III-A)

Mechanism: block-addition rule, new blocks start only at fixed completion checkpoints.

Implication: admission-time signals cannot predict difficulty; scheduling must treat cost as unpredictable per-request.

  1. Short budgets understate variance ( §III−D§III-D)

Mechanism: truncation before natural completion length hides the real latency spread.

Implication: benchmarks must run to natural completion length ( ∼\sim320 tokens here) to report representative variance.

  1. CPU dispatch, not GPU compute, dominates latency ( §\SIV-C)

Mechanism: the per-block control loop (masking, thresholds, synchronization) runs once per step, independent of batch size.

Implication: parallelism belongs at the step level, sharing one forward pass per step amortizes the fixed dispatch cost across a batch.

Building on finding (3), we show that independent per-request batching pays the dispatch overhead once per request per step, while step-level sharing pays it once per step for the whole batch ( §\SIV). We also derive a closed form batch timeout rule from measured service time statistics ( §\SV).

References (24)