alphaFeedback

WorksComputer Science

DWISE: Denoising Workload-Informed Scheduling Engine

AI contributions
Not recorded for this paper
View details

Abstract

Unlike autoregressive large language models (AR-LLMs), diffusion LLMs (dLLMs) generate text by iteratively denoising many tokens in parallel, offering a promising path to efficient inference. Existing serving frameworks, however, schedule dLLM requests with policies designed for AR models, namely first-come-first-served (FCFS) admission and prefill priority. We find that both policies are ill-suited to dLLMs, wasting much of their speed. FCFS ignores that a dLLM request's decoding cost is highly heterogeneous and unknown at arrival, causing severe head-of-line blocking. Prefill priority, widely used in AR-LLM serving to keep time-to-first-token low, sharply cuts dLLM efficiency, as rounds that run only prompts leave most of the batch idle. We present DWISE, a Denoising Workload-Informed Scheduling Engine for efficient dLLM serving. DWISE schedules requests by their remaining work, measured in a block-level unit shared by prefill and denoising, so both phases share a round. To predict the unknown denoising workload, DWISE combines a lightweight prompt-based predictor at admission with a single refinement from the first denoising round's hidden states, which capture model-specific information absent from the prompt and require no additional model execution. Implemented in SGLang and evaluated on five models from three dLLM families under bursty workloads, DWISE reduces mean end-to-end latency over SGLang by 5.4×\times on average and up to 14.9×\times while preserving task accuracy. The code will be released publicly.

Introduction

Recently, diffusion large language models (dLLMs) have emerged rapidly as an alternative to autoregressive (AR) LLMs [9]. Since 2025, they have grown from 8B research models [34] to 100B-parameter releases [6, 8], and Google has released the open-weight DiffusionGemma, fine-tuned from Gemma 4 [16]. Instead of emitting one token at a time, a dLLM iteratively denoises a fully masked sequence, resolving many tokens in parallel per round [3, 37, 43]. At comparable model scale, dLLMs are now competitive with AR models on language, mathematical reasoning, and coding tasks (Ye et al., 2025), while parallel decoding removes the token-by-token bottleneck for much faster generation [25].

This speed matters most in deployment, where a model serves large and variable streams of requests, making inference efficiency a major systems concern: already in 2021, inference took 70% of Meta’s AI infrastructure power capacity, 3.5× that of training (Wu et al., 2022). dLLMs thus offer a promising path to more efficient inference than AR LLMs, and the serving system must turn faster generation into high throughput and low latency. Serving systems have begun to

adapt; frameworks such as SGLang [55] now support diffusion decoding, and dedicated dLLM systems target memory [17], recurring prefills from KV refresh [29], and SLO attainment [10]. Yet request scheduling in these frameworks has not adapted: under policies inherited from AR serving, prefill takes priority over decoding, in rounds of its own, leaving most of the batch empty while running requests wait. Long-context agentic workloads [7] make this worse: longer prompts take more such rounds. In serving, dLLMs thus lose much of their speed, and recovering it requires scheduling built for how they generate text, which remains largely unexplored.

These inherited policies decide which requests run, wait, or retain accelerator resources per iteration (Yu et al., 2022), and thus affect serving throughput and request latency. Two of them make requests wait: first-come-first-served (FCFS) admission [30], which ignores execution cost, and prefill priority [1], under which processing new prompts (prefill) precedes generating output (decoding). FCFS is attractive because it requires no prior knowledge of request cost, but under heterogeneous workloads it allows long-running requests to occupy scarce batch capacity while shorter requests queue behind them, and the resulting head-of-line (HOL) blocking inflates latency (Wu et al., 2024). Multi-level feedback queues (MLFQ) mitigate this blocking without such knowledge by demoting requests as they run, so short requests finish first [15]. The wait under prefill priority, in contrast, is a deliberate trade-off that pays off for AR models: running requests pause for one step, but the new request gets its first token in that same step.

In practice, a dLLM denoises its output one block at a time, not all at once (Arriola et al., [2]). A block is a fixed-size span of consecutive tokens (e.g., 32). Each output block starts fully masked, and every denoising round unmasks, in parallel, the tokens the model is confident about (Wu et al., 2025), so a block needs a variable number of rounds. During serving, prompts are also split into blocks, and each round is one batched forward pass over one block per selected request: a prompt block (prefill) or its current output block (decoding). Hence, dLLMs break two properties AR scheduling relies on: that output length measures work, and that processing a prompt yields the first token.

Losing these properties raises two scheduling challenges: (1) Accurate workload prediction, which efficient scheduling requires, is hard for dLLMs. Prefill work is determined by the prompt length, but decoding time depends on the number of denoising rounds, which is unknown at arrival and highly heterogeneous, ranging from a few to hundreds of rounds across requests. Length-based LLM schedulers instead predict output length from the prompt (Jin et al., [26]; Zheng et al. [56]; Fu et al. (2024)) or during generation (Shahout et al., [40]). A size-based scheduler therefore has no reliable estimate to act on. (2) For dLLMs, prefill priority keeps the cost but loses the benefit: the first output block still needs several rounds, which later prompts keep deferring. Admitting a new request stalls running requests for as many rounds as its prompt has blocks. Yet prompt and output blocks can share a round, so both challenges concern one decision: which blocks run each round.

To address these challenges, we present DWISE, a Denoising Workload-Inform-

ing Workload-Informed Scheduling Engine that predicts denoising workload from the model’s own hidden states and schedules prefill and decoding as the same block-level work. For challenge (1), we observe that a prompt-based predictor sees only the input tokens and misses how the model will process them. The model’s hidden states capture both, and those after the first denoising round predict the remaining rounds significantly better than any prompt-side signal (Figure 1). Since every request runs this round anyway, DWISE estimates denoising workload from prompt features at admission and refines the estimate once from the first-round hidden states, without extra model execution. For challenge (2), DWISE drops prefill priority: it measures a request’s remaining work in blocks, as its remaining prefill blocks plus its estimated denoising rounds, and fills each round with the requests that have the least remaining work, whether they are in prefill or decoding. New arrivals thus no longer stall running requests, and short requests finish first.

Bar chart showing Spearman correlation with true denoising workload for prompt features, prompt hidden state, and hidden state after the first denoising round

Figure 1. The first denoising round reveals remaining work. Spearman ρ\rho (Spearman, [46]) between true denoising workload and estimates from prompt features, the prompt hidden state, and the first-round hidden state on LLaDA2.1-mini (five-fold CV).

In summary, we make the following contributions.

  • Based on the intrinsic difference between block-wise (dLLM) and token-wise (AR) text generation, we design DWISE, to our knowledge the first dLLM scheduler that orders requests by their remaining work measured in denoising rounds, not output tokens. Instead of prioritizing prefill as AR serving does, DWISE counts prefill blocks in the same unit and serves the requests with the least remaining work first.

  • We show that a dLLM’s first denoising round reveals what the prompt cannot. Its hidden state raises the rank correlation with remaining work from 0.74 to 0.87 (Figure 1), and from 0.16 to 0.64 within a request category, where prompt features barely order requests (Table 7). DWISE refines each estimate once, and the gain holds for unseen categories.

Admission ρ\rhoRefined ρ\rho
Within category, seen in training0.160.64
Within category, held out−0.060.54
All requests, MCQ seen0.720.89
All requests, MCQ held out0.360.89

Table 7. Generalization to unseen request categories on LLaDA2.1-mini. Within-category ρ\rho is averaged over seven categories, each held out in turn (long context excluded; see Appendix § 15).

  • We implement DWISE in SGLang and evaluate it on five models from three dLLM families against FCFS and five prior LLM schedulers. It achieves the lowest mean latency in every setting, reducing it over SGLang by 5.4×5.4\times on average (up to 14.9×14.9\times) and raising throughput by up to 2.2×2.2\times, with accuracy within one point.

Background and Related Work

dLLM Serving

Diffusion Language Models. Diffusion models (Ho et al., (2020); Sohl-Dickstein et al. [45]), first popularized in computer vision, generate through iterative denoising, and discrete diffusion formulations (Austin et al., [3]) extend them to language tokens. Recent dLLMs, such as the LLaDA family (Nie et al., [34]), scale masked diffusion to large language models and denoise multiple token positions in parallel. To retain this parallelism while supporting causal, variable-length generation, block-diffusion models [2] factorize the output into a sequence of blocks: blocks are generated causally, while tokens within each block are denoised in parallel.

Serving Execution. To sustain high GPU utilization under dynamic request arrivals, LLM serving systems use continuous batching, as in vLLM [31] and SGLang [55]. In autoregressive models, requests first process their prompts during prefill and then generate one token per decoding iteration. Prefill and decoding differ in execution characteristics [35, 57], motivating chunked prefill in Sarathi-Serve [1] to reduce interference. dLLMs, however, generate through iterative denoising [32] (Wu et al. 2025). In SGLang’s dLLM path, each serving round is one batched forward pass, and each selected request processes one block, prompt or output. Prefill advances through a known number of blocks, whereas decoding an output block takes a variable number of denoising rounds. We refer to the rounds a request still needs as its denoising workload.

Scheduling Optimization for LLM Serving

Request Scheduling in Shared Systems. When job sizes are known, shortest-job-first (SJF) [44] prioritizes shorter jobs, while shortest-remaining-processing-time (SRPT) [38] extends this principle through preemption and minimizes mean response time under standard assumptions. In practice, however, exact job sizes are often unavailable before execution. Non-clairvoyant policies such as multilevel feedback queues (MLFQ) [15] and other age-based policies [39] infer job characteristics from observed execution progress, while prediction-based policies [33] replace unknown service times with estimated ones.

Request Scheduling for LLM Serving. LLM serving faces the same problem, since generation cost is unknown at arrival. FastServe (Wu et al., 2024) infers priority from attained service with a preemptive skip-join MLFQ. Prediction-based approaches estimate size from the prompt: S3S^3 [26] and response-length-aware scheduling [56] predict output length, and LTR (Fu et al., 2024) predicts relative order. TRAIL [40] refines the estimate during execution from intermediate representations. All of them use remaining output tokens as a proxy for remaining work. This proxy does not hold for dLLMs, whose output blocks each take a variable number of denoising rounds. dLLM serving systems have so far targeted memory [17], recurrent prefills from KV refresh [29], or SLO attainment [10], not ordering by remaining work.

Motivation

For a dLLM request, the work that matters to scheduling is not how many tokens it will produce but how many denoising rounds it still needs. Policies inherited from AR serving overlook three properties of this workload: first, it varies by more than 100×100\times across requests (§ 3.1); second, the first denoising round already predicts it far better than the prompt does (§ 3.2); and third, its blocks occupy the same kind of slot in a round as prefill blocks (§ 3.3).

Denoising Workload Is Highly Heterogeneous

Denoising workload varies by up to two orders of magnitude across requests in the models and workloads we study. In the LLaDA2.1-mini workload of Figure 2, a quarter of requests finish within 14 denoising rounds, the median needs 46, and the 90th percentile needs 149. Task type explains part of this spread: instruction-following and chat requests dominate the long tail, yet requests of the same task type still span a wide range of rounds. This heterogeneity is the condition under which size-based scheduling pays off: under arrival-order scheduling, a request that needs 14 rounds can wait behind one that needs 149. Exploiting it requires the right measure of size. Two requests that emit the same number of blocks can consume very different amounts of GPU time, because each block is resolved over its own number of denoising rounds. Generation-side work in dLLMs should therefore be measured in denoising rounds rather than output tokens.

Box plots of denoising workload by workload category

Figure 2. Denoising workload varies substantially across requests (LLaDA2.1-mini). Boxes p25–p75, line median, whiskers p5–p95.

First Denoising Round Reveals Remaining Work

A request’s remaining denoising workload is unknown at arrival, but one round of execution reveals much of it. At admission, a scheduler sees only the prompt, which is what existing length-aware schedulers predict from. The prompt, however, carries only the input tokens, not how the model will process them. Under the threshold-based parallel decoding used by LLaDA2.0 [6], a block finishes once every position’s predicted token clears the confidence threshold, so the number of rounds it takes depends on how quickly the model’s confidence rises during denoising, a trajectory that becomes visible only once denoising begins.

The first denoising round exposes this trajectory. On LLaDA2.1-mini (Figure 1), the hidden state after this round reaches a Spearman correlation of 0.868 with true denoising workload, against 0.740 for prompt features and 0.789 for the prompt hidden state, and the same holds across all five models we study (Appendix § 8). The signal is also free: the first round is a forward pass the request executes anyway. A dLLM scheduler can therefore rank a request from its prompt at admission and correct that ranking once, after the first denoising round. This correction comes early enough to matter. After one round, the median request in Figure 2 still has 45 of its 46 rounds ahead, so a request whose prompt-based estimate was wrong can still be reordered before most of its work is done.

Prefill and Denoising Blocks Can Share a Round

A request’s remaining service also includes prompt prefill, which, unlike denoising, is known exactly from the number of unprocessed prompt blocks. SGLang’s dLLM path inherits the prefill-first policy of autoregressive serving, where admitting new prompts quickly protects first-token latency ([19, 47]). Each serving round is either a prefill round or a denoising round, and whenever prompts are waiting, the round goes to prefill and advances no denoising requests. Under a backlog, prompts keep coming, so denoising is interrupted round after round. A short request that remaining-work ordering would finish first instead waits behind new prompts. Prefill rounds also waste capacity: a waiting prompt enters the pool only as a running request finishes, and each prompt advances one block per round, so a prefill round carries one or two blocks and leaves its other slots idle (Figure 3). § 6.3 shows that these nearly empty rounds dominate SGLang’s runtime.

Comparison of prefill-first execution and DWISE scheduling, showing prompt and denoising blocks across one GPU round.

Figure 3. Prefill-first execution can stall denoising, while both phases share the same block-level scheduling granularity.

Block diffusion removes the reason for this separation. AR serving separates the two phases because they differ in cost: a prefill step processes a whole prompt, a decode step only one token, so mixing them slows decoding, a prefill step and a denoising step each process one block of tokens against the KV cache of earlier blocks, so they cost the same and can share a round. The idle slots of a prefill round can then carry denoising blocks, and a scheduler can fill each round by how much work each request has left, whichever phase it is in.

DWISE: Key Ideas

DWISE is a runtime scheduler for block-diffusion LLM serving. Its key idea is to treat a prefill block and a denoising block as the same unit of work, since the two cost the same. A request’s remaining work is its unprocessed prefill blocks plus its remaining denoising rounds, and both phases compete for the same block slots of each forward pass. Since denoising rounds are unknown at arrival, DWISE first estimates them from the prompt. Before each round, it ranks requests by remaining work and fills the slots from the top, pausing any request that drops out, with its KV cache kept. After the first denoising round, a diffusion-involved predictor, a small network on the model’s final layer trained offline in under three minutes, refines this estimate from the hidden states. Figure 4 shows this loop on four requests: SGLang and MLFQ leave short requests C and D behind longer requests and prompt rounds, whereas DWISE finishes them first and lowers average completion time from 8.5 rounds to 6.0. Since DWISE only decides which blocks enter each round, it composes with decoding-level accelerations such... as KV caching and parallel decoding (Wu et al., 2025); all evaluated models already run with both. Figure 5 shows how the loop splits across CPU and GPU.

Overview of DWISE, illustrating block-level scheduling under SGLang, MLFQ, and DWISE.

Figure 4. Overview of DWISE. Toy example illustrating block-level scheduling under SGLang, MLFQ, and DWISE.

DWISE per-round scheduling loop

Figure 5. DWISE per-round scheduling loop.

Round-Based Workload Accounting

DWISE expresses request demand in the unit the runtime schedules. A remaining prefill block and a remaining denoising round each occupy one slot of one future round, so DWISE counts them equally. The remaining work of request ii is

Ri=Pi+r^i,(1)R_i = P_i + \hat{r}_i, \tag*{(1)}

where PiP_i is the exact number of unprocessed prefill blocks and r^i\hat{r}_i is the estimated number of remaining denoising rounds. Size-based policies such as SRPT presuppose that all jobs’ remaining service is measured on one scale [21]. Eq. (1) supplies that scale, so DWISE can compare a request still in prefill with one already denoising. Which term dominates depends on the block size, so both are needed.

In-Path Workload Estimation

DWISE estimates r^i\hat{r}_i twice, once from each signal in § 3.2. At admission, the admission predictor on the CPU estimates it from prompt features. After the first denoising round, the diffusion-involved predictor refines it from the final-layer hidden states. It runs asynchronously on the GPU, and its output is collected at the existing end-of-round synchronization, so refinement adds neither model execution nor a synchronization point. One refinement suffices: the first round already exposes how the request will denoise, and refining more often only adds preemptions (§ 6.3).

Prompt-based Predictor. Our admission predictor is a LightGBM regressor (Ke et al., 2017) (100 trees, at most 15 leaves) trained over three prompt features: word count, newline count, and token count after the chat template. It predicts total denoising rounds in log space, and its inference takes 29 μ\mus per request on the CPU. Among the regressors

we compared, it ranks best at the lowest cost (Appendix § 9).

Diffusion-involved Predictor. The diffusion-involved predictor takes the final-layer hidden rows of the first denoising round, the model’s parallel draft of the whole block, mean-pooled into one vector and concatenated with the normalized prompt length and output budget. It is a discrete-time survival model [20]: a two-layer MLP (width 256, GELU, dropout 0.2) that outputs one hazard logit per future round up to KK, the largest round count in training (K=279K=279 on LLaDA2.1-mini), and the refined estimate is the mean of the resulting distribution over remaining rounds. An isotonic mapping [5], fitted on the training split, maps this output to actual remaining rounds, the scale the admission predictor targets, so requests holding admission and refined estimates are ranked consistently in Eq. (1). The predictor averages three such MLPs trained with different seeds. Together they total 1.79M parameters (0.01% of the model) and take about 0.8 ms of GPU time per round, under 1% of the 95 ms median round, so refinement is effectively free.

Preemptive Mixed-Phase Batching

Each serving round runs one batched forward pass over BB block slots. DWISE selects the BB resident requests with the smallest RiR_i and packs the next block of each into the batch, prompt or denoising. Prefill and denoising thus share every forward pass, and new prompts no longer stall generation. DWISE recomputes the ranking every round, so a running request is displaced as soon as it is outranked, either by a newly arrived shorter request or by a refinement that raises its own estimate. A displaced request is paused with its KV cache and partially denoised block kept on the GPU rather than swapped out [47], and resumes without recomputation. The policy is preemptive SRPT [38] with the serving round as its quantum.

Preemption pays off only with mixed-phase batching: under prefill-first, each prefill round stalls all residents. It is safe because residency is controlled separately from execution. A waiting request becomes resident only when it ranks among the top BB and the worst-case KV footprint of all residents still fits in the pool, with at most kBkB residents for a resident-set multiplier kk. Every resident request is thus guaranteed the memory to finish, so preemption never overcommits or deadlocks the pool.

System Implementation

We implement DWISE in SGLang’s dLLM serving path as a runtime patch, without modifying SGLang’s source. The implementation splits along SGLang’s existing boundary between scheduling and execution and has two parts: a CPU-side scheduler that takes over admission and batch

Algorithm 1 DWISE per-round scheduling.
Require: waiting set $W$, resident set $S$, block slots $B$, resident-set multiplier $k$
1: for each serving round do
2: sort $W \cup S$ by $R_i = P_i + \hat{r}_i$
3: for $i \in W$ in sorted order do
4: if $i$ ranks in the top $B$ and $|S| < kB$ and its KV reservation fits then
5: move $i$ from $W$ to $S$
6: end if
7: end for
8: $E \leftarrow B$ requests in $S$ with the smallest $R_i$
9: pause $S \setminus E$
10: run one forward pass over the next blocks of $E$
11: for $i \in E$ do
12: if $i$ processed a prompt block then
13: $P_i \leftarrow P_i - 1$
14: else if $i$ finished its first denoising round then
15: $\hat{r}_i \leftarrow$ refined estimate
16: else
17: $\hat{r}_i \leftarrow \max(\hat{r}_i - 1, 0)$
18: end if
19: end for
20: drop finished requests from $S$ and free their KV
21: end for

formation, and a GPU-side refinement path that evaluates the diffusion-involved predictor inside the forward pass. All other components, such as the model, denoising kernels, KV memory manager, and CUDA-graph path, stay unchanged.

Scheduler Integration

The scheduler keeps three fields per request: the unprocessed prompt blocks PiP_i, the remaining-rounds estimate r^i\hat{r}_i, and a residency state (waiting, running, or paused). Algorithm 1 shows the resulting per-round loop. DWISE intervenes at four points of each serving round. At admission, it applies the global remaining-work order together with the KV reservation policy of § 4.3. At batch formation, it picks the next block of the highest-priority resident requests, which removes SGLang’s prefill-first phase barrier. At result processing, SGLang already walks the batch to commit outputs, and DWISE updates the three fields in that same pass. After the first denoising round, it records each request’s refined estimate once.

None of these steps touches memory management. The token pool, the radix prefix cache, and the pause/resume path are reused, so reordering execution needs neither a separate memory manager nor reconstruction of request state. Keeping the control loop on the CPU is deliberate. Its per-round work is many small, irregular operations, and an earlier GPU-resident planner was slower because kernel-launch cost dominated at that granularity.

GPU Refinement Path

The diffusion-involved predictor is the one component that runs on the GPU, since its input is the hidden state of the first denoising round. The round’s final-layer hidden rows are pooled with tensor operations and passed through the predictor in one batched GEMM for every request refined in that round. The predictor’s scalar inputs, normalized prompt length and output budget, arrive through pinned host memory without blocking, and the predictor is enqueued on the forward pass’s stream. Because the hidden-state operations and refinement hooks are registered before CUDA-graph capture, SGLang’s graph-replay path stays enabled.

Evaluation

Experiment Settings

Hardware. Each serving instance runs on one NVIDIA GH200 Grace Hopper Superchip, which pairs a Hopper GPU (132 SMs, 96 GB of HBM3) with a 72-core Arm Neoverse-V2 Grace CPU over NVLink-C2C.

Software and configuration. All policies run on SGLang v0.5.20’s dLLM path. Within each model, policies use the same block slots per round (B=128B = 128; B=16B = 16 for DiffusionGemma) and the same KV pool (50.8, 65.9, and 13.1 GiB for LLaDA2.2, SDAR-8B, and DiffusionGemma). DWISE uses k=8k = 8 (at most kBkB resident requests), two blocks of reservation slack per resident request, and a 90% KV reservation limit. We report the mean of three runs.

Workloads. The workload mixes open-ended, single-answer, and long-context requests (Table 1): 4,096 requests for evaluation and a prompt-disjoint set of 2,048 with the same composition, used only to train DWISE and the learned baselines. Long-context requests are synthetic multi-needle retrieval prompts ([27, 24]) of about 10K tokens, each embedding 2–4 target facts among distractor sentences and querying all of them. They are prefill-heavy and automatically checkable.

WorkloadServingTrain
Open-ended1,973986
ShareGPT ([41])1,085542
MBPP ([4])505250
HumanEval ([11])8746
IFEval ([58])296148
Single-answer1,973987
MATH (Level 5) ([22])421203
GSM8K ([14])345180
MGSM ([42])258129
MMLU-Pro ([48])637319
ARC-C ([13])312156
Long-context: Multi-needle ([27])15075
Total4,0962,048

Table 1. Serving and predictor-training requests.

Models. We evaluate five block-diffusion LLMs: three LLaDA2.x-mini models (2.0, 2.1, and 2.2) ([6, 8 a]) (16B MoE, 32-token blocks), SDAR-8B-Chat ([12]) (dense, 4-token blocks), and DiffusionGemma-26B-A4B ([16]) (MoE, 256-token blocks, prompt encoded in a separate pass). DWISE runs on all five with the same policy. All models use their official decoding settings, a 256-token output budget, greedy decoding, and bfloat16 precision.

Arrival patterns. In burst, all 4,096 requests arrive at t=0t = 0, modeling a backlogged server. In burst+Poisson, half arrive at t=0t = 0 and the rest follow a Poisson process ((Zhang et al., 2025)) with a rate above SGLang’s service rate, so new requests keep arriving while the backlog is served. The rates are λ=16\lambda= 16, 0.85, and 8 req/s for LLaDA, SDAR, and DiffusionGemma, giving Poisson phases of about 128 s, 2,410 s, and 256 s. Request order and arrival times are generated with fixed seeds, so all policies of a model see the identical arrival trace. Appendix § 10 shows that DWISE’s speedup is stable across seeds.

Baselines. We compare against SGLang’s FCFS scheduler with prefill priority ([55]), MLFQ following FastServe ((Wu et al., 2024)), and four learned schedulers retrained on DWISE’s 2,048 training requests with labels from FCFS profiling. SSJF ([36]), S3^{3} ([26]), and LTR ((Fu et al., 2024)) predict output length (LTR: its rank) from the prompt at admission, and TRAIL ([40]) refines its remaining-output-length estimate from runtime embeddings every round. All four thus rank requests by output tokens, which do not order dLLM requests: code and math emit more tokens than chat yet need fewer denoising rounds (Appendix § 11). All baselines run on SGLang’s prefill-first batch former, as originally designed.

Metrics. Following common LLM serving practice ([31]), we report mean, p50, and p99 end-to-end request latency and throughput. Because DWISE ranks requests by predicted workload, we evaluate workload prediction by Spearman rank correlation (ρ\rho) ([46]) between predicted and true workload. Rank-based LLM scheduling likewise depends on relative request order rather than exact cost ((Fu et al., 2024)). We also report predictor and scheduler overhead, the predicted-to-actual ratio of remaining work, and task accuracy on single-answer and long-context requests.

End-to-End Performance

Mean latency and throughput. On the LLaDA2.x models (Table 2), DWISE reduces mean latency over SGLang by 4.7–7.1× under burst arrivals and 6.2–11.1× under burst+Poisson arrivals, and raises throughput from 3.34–3.90 to 6.39–8.21 req/s. On SDAR-8B, running long-context requests last lets DWISE reduce mean latency by 13.4–14.9×; the geometric mean over the ten settings is 5.4×. On DiffusionGemma, where the two phases cannot share a round, ordering alone gains 1.1×, against at most 1.02× for any baseline. Prior LLM schedulers do not transfer to dLLMs: MLFQ, SSJF, LTR, and TRAIL are slower than SGLang on LLaDA2.x and SDAR-8B (0.600.60–0.96×0.96\times), and S³ gains at most 1.4×1.4\times (Appendix § 11 and § 6.3). On multiple GPUs (TP=2/4, TP=4+EP=4), DWISE’s LLaDA2.1-mini speedup stays at 6.7–12.2×, and with a 2,048-token output budget at 4.4–5.2× (Appendix § 12).

LLaDA2.0-miniLLaDA2.1-miniLLaDA2.2-miniSDAR-8BDiffusionGemma
BPBPBPBPBP
Mean latency (s) ↓
SGLang603.1597.4545.5535.9576.6571.790538973325.9262.7
MLFQ716.0721.8625.9616.9651.0654.41138212141346.2282.1
SSJF739.3728.4602.7584.6647.4611.71191210936323.5264.2
LTR702.7679.6645.3613.9664.2597.31221711577326.9266.1
S3^{3}469.2470.3412.1408.9417.3410.41355712026321.1257.4
TRAIL763.3750.3661.1661.3679.5683.41500414304328.4264.6
DWISE128.596.976.948.5109.479.8609668292.4234.8
Throughput (req/s) ↑
SGLang3.483.343.903.763.653.490.240.236.226.14
MLFQ3.593.434.134.003.873.700.220.205.885.85
SSJF3.313.263.963.913.733.770.220.225.815.82
LTR3.453.443.953.973.834.010.220.225.795.83
S3^{3}3.413.233.863.673.663.500.210.225.835.92
TRAIL3.213.143.743.593.473.330.190.196.116.04
DWISE6.396.478.028.216.576.650.250.256.076.03
Task accuracy (%) ↑
SGLang45.445.444.244.146.546.555.555.251.351.3
DWISE46.246.244.344.446.946.955.455.451.251.8

Table 2. End-to-end serving performance and task accuracy across models and arrival patterns. B: burst; P: burst+Poisson.

Median latency. Figure 6 reports p50 latency. On the three LLaDA2.x models, DWISE improves p50 over SGLang by 6.2–11× under burst arrivals and by 14–42× under burst+Poisson arrivals. On SDAR-8B, the improvements are 43× and 73×. These gains exceed those in mean latency because DWISE completes requests with little remaining work early, whereas the mean is dominated by a few long requests. On DiffusionGemma, p50 improves by 1.2× and 1.6×. SGLang’s prefill-first policy is meant to protect time to first token (TTFT), the time to a request’s first output block, yet it fails even there: DWISE lowers mean TTFT on LLaDA2.1-mini by 7.8–13.0× (Appendix § 13).

Normalized p50 latency relative to SGLang for Burst and Burst+Poisson arrivals across LLaDA2.0, LLaDA2.1, LLaDA2.2, SDAR-8B, and DGemma

Figure 6. Normalized p50 latency relative to SGLang; lower is better, and annotations show speedup. DGemma: DiffusionGemma.

Tail latency. DWISE also shortens the tail (Figure 7), cutting p99 latency by 1.9–2.3× on the LLaDA2.x models and by 1.3× on SDAR-8B, whose throughput barely changes. SRPT serves the longest requests last, yet they still finish sooner, because mixed-phase batching keeps new prompts from stalling them and nearly doubles LLaDA2.x throughput (Table 2), so the backlog drains sooner. Appendix § 14 confirms this on LLaDA2.1-mini: p99 and maximum latency drop in every category. On DiffusionGemma, where prompts are encoded in a separate pass and mixed-phase batching does not apply, DWISE can only reorder requests, so the longest ones wait longer: p99 is unchanged under burst arrivals and rises under burst+Poisson arrivals.

Normalized p99 latency relative to SGLang for Burst and Burst+Poisson arrivals across LLaDA2.0, LLaDA2.1, LLaDA2.2, SDAR-8B, and DGemma

Figure 7. Normalized p99 latency relative to SGLang; lower is better, and annotations show speedup.

Ablation and Sensitivity Analysis

Component breakdown. Figure 8 enables the components of DWISE one at a time on LLaDA2.1-mini under burst+Poisson arrivals. Mixed-phase batching alone reduces mean latency by 2.35× over SGLang. Ranking by remaining prefill blocks alone (r^i=0\hat{r}_i=0) raises the speedup to 8.15×, as long-context prompts no longer run ahead of short requests. Mixed-phase batching thus creates scheduling flexibility across phases, and remaining-work ranking decides how to use it. Adding the admission-time estimate of denoising rounds raises the speedup to 10.33×, and first-round refinement to 11.06× by correcting inaccurate admission estimates. An oracle ranking by true denoising rounds reaches 13.10×; the predictors close 70% of the gap to it, and DWISE reaches 84% of its speedup.

Cumulative speedup over SGLang as DWISE components are added

Figure 8. Cumulative speedup over SGLang as DWISE’s components are added (LLaDA2.1-mini, burst+Poisson). Rank by PiP_i: remaining prefill blocks only (r^i=0\hat{r}_i=0). Oracle: ranking by true denoising rounds.

Round composition. Mixed-phase batching pays off because prefill-first rounds leave most of the batch empty (Table 3). On LLaDA2.1-mini, 95% of SGLang’s rounds contain only prefill blocks. Such a round usually carries a single prompt block (1.1 of 128 slots on average), so 99% of its slots sit idle, yet these rounds take 78% of wall-clock time. DWISE fills the idle slots with denoising blocks. It uses 113 slots per round, leaves 12% of slots idle, and spends only 11% of its time in prefill-only rounds. It therefore finishes the workload in 2.8K rounds instead of 64K, which is why its throughput roughly doubles in Table 2.

PolicyRoundsPrefill-only rounds (%)Prefill-only time (%)Idle slots (%)Filled slots/round
SGLang63,92694.678.296.15.0
DWISE2,8193.011.211.6113.2

Table 3. Serving-round composition on LLaDA2.1-mini under burst+Poisson arrivals (B=128B = 128). Prefill-only: rounds with only prefill blocks, as a share of all rounds and of wall-clock time.

Batch former versus ranking signal. To separate the two sources of gain, Table 4 runs FCFS and the learned baselines on DWISE’s mixed-phase batch former, where every baseline becomes 2.1–4.1× faster than in Table 2. With the batch former held fixed, DWISE remains 2.5× faster than the best baseline under burst arrivals (S3) and 3.3× faster under burst+Poisson arrivals (TRAIL), a gap due to the ranking alone. The batch former matters most for preemptive policies. On the prefill-first batch former, the two preemptive baselines, MLFQ and TRAIL, are slower than SGLang (0.81–0.87×). Their preemption keeps up to kB=1,024kB = 1{,}024 requests resident instead of 128, yet a prefill-only round still carries only 1.6–1.7 rows, and every such round stalls all of them, so a resident request spends 5.4–5.8× more rounds running no block than under SGLang. Mixed-phase batching removes this coupling.

FCFSSSJFS3LTRTRAILDWISE
B251.7282.6188.4271.1198.576.9
P228.0256.9165.1248.3160.748.5

Table 4. Mean latency (s) on LLaDA2.1-mini with all ranking policies on DWISE’s mixed-phase batch former. FCFS is SGLang’s default order. B: burst; P: burst+Poisson.

Load sweep. Figure 9 sweeps the arrival rate on LLaDA2.1-mini under Poisson arrivals; the five other baselines track SGLang at every rate. Below SGLang’s throughput (λ≤3.8\lambda\le3.8 req/s), DWISE reduces mean latency by 1.9–4.5× and p99 latency by 1.6–4.2×. Few requests wait at this load, so the gain comes from mixed-phase batching: new prompts no longer stall denoising. Once SGLang is overloaded (λ=7.5\lambda= 7.5 and 15 req/s), DWISE reduces mean latency by 25–31× and p99 latency by 2.5–11×, because requests queue long enough for remaining-work ranking to matter.

Mean and p99 latency versus arrival rate for LLaDA2.1-mini

Figure 9. Latency on LLaDA2.1-mini under pure Poisson arrivals without an initial backlog. Dotted line: SGLang’s throughput; grey band: the five other baselines.

Refinement calibration. Refined and admission-time estimates must share one scale, since DWISE ranks them together (Table 5). The diffusion-involved predictor reports the mean of a right-skewed distribution while the admission predictor regresses in log space, so its raw output ranks requests better (ρ=0.890\rho= 0.890–0.891) but overestimates remaining rounds: its median predicted-to-actual ratio is 1.16, against 1.03 at admission, so refined requests look longer than comparable unrefined ones. The isotonic mapping brings the ratio to 1.00 without changing ρ\rho, and lowers mean latency from 80.2 to 76.9 s under burst arrivals and from 50.9 to 48.5 s under burst+Poisson.

ArrivalPredictorRatioρ\rhoMean (s)p50 (s)
BAdmission only1.030.71480.858.4
BRaw refinement1.160.89080.255.2
BCalibrated1.000.89076.951.9
PAdmission only1.030.71651.917.2
PRaw refinement1.160.89150.915.4
PCalibrated1.000.89148.513.7

Table 5. Effect of refinement calibration on LLaDA2.1-mini, measured on the evaluation set. Ratio denotes the median predicted-to-actual remaining rounds. B: burst; P: burst+Poisson.

Refinement frequency. Table 6 varies how often the diffusion-involved predictor re-estimates remaining work on LLaDA2.1-mini under burst+Poisson arrivals. Refining once, after the first denoising round, gives the lowest mean and p50 latency. Refining every block, every four rounds, or every round raises mean latency to 49.5–51.0 s. More frequent re-estimates keep reordering running requests, and preemptions per request rise from 0.34 to 1.14. Between refinements, r^i\hat{r}_i decreases by one per completed round and is clamped at zero, so an underestimated request moves to the front of the queue and runs to completion. With one refinement, 37% of requests reach zero at least once, against at most 5.5% otherwise. The predictor costs about 0.8 ms of GPU time per round in every setting.

RefineOncePer blockPer 4 roundsPer round
Mean (s)48.549.551.051.0
p50 (s)13.713.915.014.7
Preemptions / request0.340.750.901.14
Reach r^i=0\hat{r}_i = 0 (%)37.05.54.90.0
Predictor (μ\mus)795809828777

Table 6. Effect of refinement frequency on LLaDA2.1-mini under burst+Poisson arrivals. Predictor: GPU time per serving round.

Generalization to unseen categories

Generalization to unseen categories. Table 7 holds out one request category at a time and retrains both predictors on the rest. Prompt size features, the only input of DWISE’s admission predictor, order requests within a category only weakly, even when the category is seen in training (ρ=0.16\rho= 0.16 on average) and not at all once the category is held out (ρ=−0.06\rho= -0.06). With MCQ held out, the admission ρ\rho over all requests drops from 0.72 to 0.36. The refined estimate stays useful on held-out categories (ρ=0.54\rho= 0.54) and keeps ρ=0.89\rho= 0.89 over all requests, because the first-round hidden state reflects how the model denoises a request rather than what its prompt looks like. End-to-end, retraining without MCQ raises DWISE’s mean latency from 47.3 to 50.9 s in one run, a 7.6% slowdown that still leaves DWISE 10.5× faster than SGLang (536.8 s in the same runs).

Resident-set sensitivity. Figure 10 varies the resident-set multiplier kk, which caps KV-resident requests at kBkB. The cap trades ranking flexibility against residency: a larger resident set gives DWISE more requests to choose from in each round, but every resident request holds a KV reservation. A small cap keeps high-priority waiting requests out even when KV capacity is available. At k=2k = 2, the cap blocks admission in over 60% of serving rounds and raises mean latency by about 10% under burst arrivals and 20% under burst+Poisson arrivals. Raising kk to 4 removes most of this blocking, and at k=8k = 8 the cap no longer blocks admission in either workload. Beyond this point, admission is governed by the KV budget rather than by the resident count, so k=16k = 16 brings no consistent improvement. We use k=8k = 8 as the default.

Effect of resident-set multiplier k on LLaDA2.1-mini

Figure 10. Effect of resident-set multiplier kk on LLaDA2.1-mini.

Overhead. Figure 11 breaks down DWISE’s runtime cost on LLaDA2.1-mini under burst+Poisson arrivals. Figure 11(a) shows the cost per serving round. Ranking and admission take 0.96 ms, reordering resident requests 0.20 ms, and the diffusion-involved predictor 0.80 ms, plus 0.04 ms to

DWISE overhead on LLaDA2.1-mini

Figure 11. DWISE overhead on LLaDA2.1-mini. (a) Cost per serving round, as a share of the 95 ms median round. (b) Admission prediction cost per request from raw prompt text (log scale).

read its output. Together they amount to 2.1% of the 95 ms median round. The predictor runs on the forward pass’s stream and is read at the existing end-of-round synchronization, so it adds no synchronization point. Figure 11(b) shows the cost of admission-time prediction per request. DWISE’s LightGBM predictor takes 0.42 ms from raw prompt text, 9–18× less than the text encoders that S³, SSJF, and LTR run on the prompt.

Conclusion

We presented DWISE, a scheduler for block-diffusion LLM serving that replaces FCFS admission and prefill priority. Its design rests on two properties that set dLLMs apart from AR models: prefill and denoising advance at the same block granularity, so neither phase needs priority over the other, and a request’s remaining work becomes far more predictable after a single denoising round, whose hidden states capture model-specific information absent from the prompt. Built on these properties, DWISE lowers mean latency over SGLang’s default scheduler by 5.4× on average and up to 14.9× and raises throughput by up to 2.2× across five models from three dLLM families without affecting task accuracy. Our results suggest that dLLM serving should be scheduled around how these models generate, block by block, rather than around policies inherited from AR serving.

Workload Spread and Predictor Signal Across Models

Table 8 extends Figure 1 and Figure 2 to all five models. On every model, the first-round hidden state orders requests better than prompt features, by 0.11 to 0.16 in ρ\rho. Denoising rounds span two orders of magnitude on the LLaDA2.x models and SDAR-8B. DiffusionGemma, whose single 256-token output block is denoised in ten rounds at the median, spans only 24×24\times; even there, the first-round hidden state raises ρ\rho by 0.11.

Modelp50p90maxPrompt1st round
LLaDA2.0-mini1102362920.6570.809
LLaDA2.1-mini461492790.7400.868
LLaDA2.2-mini531892960.7230.863
SDAR-8B97.52523170.6970.853
DiffusionGemma1018480.6970.809

Table 8. Denoising-round spread and predictor rank correlation across models. Rounds: denoising rounds per request over all 2,048 training requests; the minimum is 2 on every model. ρ\rho: Spearman correlation with true denoising workload under five-fold cross-validation on the requests used to fit the predictors, with the estimators of Figure 1: LightGBM on prompt features and a ridge probe on the mean-pooled first-round hidden state.

Admission Predictor Selection

Table 9 compares regressors for the admission-time predictor on the same three prompt features. Because the predictor runs at every admission and only needs to order requests, we compare rank correlation, measured by five-fold cross-validation on the training split, and per-request time, measured from raw prompt text on one Grace CPU thread. The small LightGBM model ranks best (ρ=0.740\rho= 0.740) at the lowest cost (0.42 ms). Larger LightGBM and XGBoost models rank no better, the MLP and ridge regression rank lower, and ExtraTrees takes 8×8\times longer for a lower ρ\rho. About half of the per-request time is tokenization; the LightGBM inference itself takes 29 μ\mus.

Predictorρ\rhoTime (ms, single request)
Ridge0.5350.42
MLP (256–256)0.7010.44
XGBoost (100, depth 6)0.7060.65
LightGBM (500, 31 leaves)0.7090.46
LightGBM (1,000, 63 leaves)0.6890.54
ExtraTrees (100)0.7223.57
LightGBM (100, 15 leaves)0.7400.42

Table 9. Model selection for the admission-time workload predictor. Time is the per-request median from raw prompt text, including tokenization and feature extraction.

Seed Robustness

The main results average three runs of one fixed trace per model. To check that the speedup does not depend on this trace, we generate three traces for LLaDA2.1-mini with different seeds. Each trace changes the request order and, under burst+Poisson arrivals, the Poisson arrival times. We run SGLang and DWISE once on each trace. Table 10 reports the mean and standard deviation across the three traces. DWISE reduces mean latency by 7.10±0.14×7.10 \pm0.14\times under burst arrivals and 10.72±0.14×10.72 \pm0.14\times under burst+Poisson arrivals relative to SGLang, consistent with the single-trace results in Table 2.

ArrivalPolicyMean latency (s)Speedup
BSGLang528.0±7.8528.0 \pm7.81.00×1.00\times
BDWISE74.3±0.474.3 \pm0.47.10±0.14×7.10 \pm0.14\times
PSGLang521.8±6.8521.8 \pm6.81.00×1.00\times
PDWISE48.7±1.148.7 \pm1.110.72±0.14×10.72 \pm0.14\times

Table 10. Seed robustness on LLaDA2.1-mini: mean ±\pm standard deviation over three traces generated with different seeds, one run each.

A request’s number of denoising rounds also varies slightly from run to run, because it is batched with different requests in each run. Table 11 compares per-request round counts across runs on LLaDA2.1-mini. Under DWISE, 98% of requests need exactly the same number of rounds when the same trace is replayed, and 92% across different traces; under SGLang, 37% do across seeds. Rank correlation stays at 0.97 or above in every case, so the per-request workload that DWISE predicts is stable enough to rank requests by. The same variation is why the oracle in Figure 8, which uses round counts from a profiling run, is an approximate upper bound.

PolicyRuns comparedIdentical (%)ρ\rho
DWISEsame trace980.998
DWISEdifferent traces920.994
SGLangdifferent traces370.972

Table 11. Stability of per-request denoising round counts across runs on LLaDA2.1-mini. Identical: share of requests with the same round count in both runs.

Output Length Versus Remaining Work

DWISE measures work in prefill blocks and denoising rounds rather than output tokens. On LLaDA2.1-mini, the two diverge sharply. The 57% of requests that use the full 256-token budget have the same output length but work ranging from 38 to 184 (10th to 90th percentile), so output length cannot order them. Across categories, the two even move in opposite directions: code and math requests produce more tokens than chat and instruction requests (242 vs. 215 on average) but need 2.6× fewer denoising rounds (45 vs. 115).

Output-length rankers therefore misorder the requests that carry most of the work (Table 12). SSJF and LTR correlate with work overall (ρ=0.51\rho= 0.51 and 0.480.48) only because they rank MCQ and Hard MCQ requests first, which are 23% of requests but 3.1% of the work. On the other 96.9% of the work, their scores are uncorrelated with it (ρ=−0.02\rho= -0.02 and −0.07-0.07). Because mean latency weighs a misordering by the work of the request placed first, this costs more than it saves: the mean latency of code and math requests rises from 524 s under SGLang to 842 s (SSJF) and 925 s (LTR). DWISE’s estimates, in contrast, stay correlated with work on these requests (ρ=0.54\rho= 0.54 at admission and 0.84 after refinement). Even its admission-time round estimate alone, without the known prefill blocks, reaches ρ=0.46\rho= 0.46, so a 3-feature predictor of rounds outperforms the BERT- and OPT-based predictors of output length on these requests.

(Hard) MCQOtherAll
Requests23%77%100%
Work3.1%96.9%100%
ρ\rho, SSJFfirst−0.020.51
ρ\rho, LTRfirst−0.070.48
ρ\rho, DWISE adm.–0.540.76
ρ\rho, DWISE ref.–0.840.92
Δ\Delta SSJF (s)−113+170+57
Δ\Delta LTR (s)−114+214+100

Table 12. Output-length rankers on LLaDA2.1-mini under burst arrivals (Δ\Delta averages three runs; ρ\rho uses the first). Work: prefill blocks plus denoising rounds. ρ\rho: Spearman correlation between a scheduler’s ranking score and work within the group; both include the exactly known prefill blocks, so ρ\rho is higher than for denoising rounds alone. “first”: ranked ahead of nearly all other requests. DWISE adm./ref.: its score at admission and after refinement. Δ\Delta: the group’s contribution to the change in mean latency relative to SGLang; omitted for DWISE, whose change also includes the gain from mixed-phase batching.

Prefill blocks can dominate the work. SDAR-8B uses 4-token blocks, so a long-context request needs 2,684 prefill blocks on average but produces only 44 output tokens. These requests are 3.7% of requests yet 40.7% of the work. Output-length rankers see only the short output and rank them ahead of most requests (median at the 31st–38th percentile); DWISE counts their prefill blocks and ranks them near the end (98th percentile).

Multi-GPU Deployment and Output Budget

The main experiments serve each model on one GPU. To test whether DWISE carries over to multi-GPU serving, we deploy LLaDA2.1-mini with tensor parallelism over

two and four GPUs (TP=2, TP=4) and with expert parallelism over four GPUs (TP=4+EP=4), where attention stays tensor-parallel and each GPU holds a quarter of the 256 experts. SGLang’s dLLM path does not support pipeline parallelism. DWISE runs unchanged. Every rank runs the same scheduler on the same request state, and the diffusion-involved predictor reads the final-layer hidden state, which is replicated across ranks after the tensor-parallel all-reduce. On shorter runs, we checked that all ranks make identical scheduling decisions in every round. Both predictors are the ones trained for the single-GPU runs. All runs in Table 13, including the single-GPU row, come from one batch separate from Table 2, with three runs per configuration.

BP
ConfigSGLangDWISESp.SGLangDWISESp.
1 GPU543.073.07.4540.245.911.8
TP=2498.174.56.7483.546.110.5
TP=4457.464.77.1439.436.012.2
TP=4+EP=4454.265.46.9444.738.311.6

Table 13. Mean latency (s) of LLaDA2.1-mini under multi-GPU deployment, averaged over three runs. B: burst; P: burst+Poisson; Sp.: speedup (×) of DWISE over SGLang.

DWISE keeps its speedup on every configuration: 10.5–12.2× under burst+Poisson arrivals and 6.7–7.1× under burst arrivals, against 11.8× and 7.4× on one GPU. For comparison, moving SGLang from one to four GPUs raises its throughput by only 1.2×. Ranking and admission take 0.76–1.01 ms and the diffusion-involved predictor 0.72–0.83 ms per round, each about 1% of the median round, as on one GPU. Task accuracy stays between 43.8% and 44.5%, and the rank correlation of refined estimates differs from the single-GPU value by at most 0.004.

The main experiments also cap generation at 256 tokens. Table 14 repeats the single-GPU LLaDA2.1-mini experiment with budgets of 512, 1,024, and 2,048 output tokens, one run per setting. For each budget we retrain both predictors with the unchanged pipeline on a training run at that budget; all other settings match the main experiments. Raising the budget from 256 to 2,048 tokens raises the mean output from 176 to 536 tokens and the mean number of denoising rounds from 62 to 180. At 2,048 tokens, DWISE is still 4.45× (burst) and 5.18× (burst+Poisson) faster than SGLang in mean latency and 1.74× faster at the 99th percentile, and its refined estimate keeps ρ=0.885\rho= 0.885–0.894 at every budget. Tripling the denoising rounds raises SGLang’s mean latency by only 1.3–1.5×, because its time goes to prefill-only rounds, whose number is set by the prompts rather than the output length; DWISE’s latency instead grows with the denoising work (2.4–3.2×).

BudgetTok.Rnd.SGLangDWISESp.ρ\rho
B25617662526.273.07.21 (2.12)
B512295100607.3104.95.79 (1.99)
B1,024425144688.7145.34.74 (1.78)
B2,048536180782.1175.84.45 (1.74)
P25617762568.745.412.54 (2.45)
P512294100610.076.67.97 (2.01)
P1,024426145664.1113.45.86 (1.75)
P2,048537181764.5147.55.18 (1.74)

Table 14. Output-budget sweep on LLaDA2.1-mini. Tok. and Rnd.: mean output tokens and denoising rounds per request in the SGLang run. SGLang and DWISE: mean latency (s). Sp.: speedup (×\times) of DWISE over SGLang in mean latency, with the p99 ratio in parentheses, from unrounded latencies. ρ\rho: Spearman correlation between DWISE’s refined estimate and the denoising rounds left after the first round. The 256-token row is rerun in the same batch. B: burst; P: burst+Poisson.

Time to First Token

§ 3.3 notes that SGLang inherits prefill-first execution from AR serving, where it protects first-token latency. For a dLLM, we measure time to first token (TTFT) as the time from a request’s arrival until its first output block is committed. That block still needs its denoising rounds, so prefill-first execution delays it whenever prompts are waiting. Table 15 reports TTFT on LLaDA2.1-mini, from the same batch of runs as the single-GPU row of Table 13.

ArrivalPolicyMeanp50p99
BSGLang525.2541.11035.4
BDWISE67.145.2472.3
PSGLang521.5570.5983.8
PDWISE40.06.8403.3

Table 15. Time to first token (s) on LLaDA2.1-mini, from arrival until the first output block is committed, averaged over three runs. B: burst; P: burst+Poisson.

Under SGLang, mean TTFT is close to mean end-to-end latency: requests wait almost as long for their first block as for their last. DWISE lowers mean TTFT by 13.0×\times under burst+Poisson arrivals and 7.8×\times under burst arrivals, and p99 TTFT by 2.2–2.4×\times. The median request receives its first block after 6.8 s instead of 570.5 s under burst+Poisson arrivals, because short requests are admitted and denoised first. The reduction holds under multi-GPU deployment: 11.6–13.7×\times under burst+Poisson arrivals and 7.0–7.4×\times under burst arrivals.

Per-Category Tail Latency

Table 16 breaks down p99 and maximum latency by request category on LLaDA2.1-mini. DWISE improves both p99 and maximum latency in every category under both arrival patterns. Long-context requests bear the cost of SRPT: their prompts span over 300 prefill blocks, so DWISE runs them after shorter requests, and 44% (burst) and 39% (burst+Poisson) of them individually finish later than under SGLang. Their p99 and maximum latency still drop by about half, because SGLang delays them as well behind the prefill-first backlog.

CategoryB p99B MaxP p99P Max
Chat1048→2151050→2441009→1961016→224
Instruction1045→2461049→260960→219962→233
Code1038→811041→130950→44952→116
Math1040→831043→133950→52954→114
Multiling. math1038→1211045→125953→86958→105
MCQ1036→171039→68947→10948→38
Hard MCQ1035→61039→16945→2948→4
Long context1039→5101042→511954→498956→498

Table 16. Per-category p99 and maximum latency (s) on LLaDA2.1-mini, SGLang → DWISE (per-run values averaged over three runs). B: burst; P: burst+Poisson.

Per-Category Generalization

Table 17 gives the per-category results behind Table 7. For each of the eight request categories, we remove it from the 2,048 training requests, retrain both predictors on the remaining categories, and measure ρ\rho among that category’s evaluation requests. Each cell reports ρ\rho with the category in training → held out.

Held-out categoryAdmission ρ\rhoRefined ρ\rho
Hard MCQ0.200 → −0.1540.481 → 0.463
MCQ0.237 → −0.1850.686 → 0.602
Code0.251 → −0.2020.657 → 0.539
Math0.259 → −0.0690.540 → 0.399
Multilingual math0.087 → 0.1630.755 → 0.623
Long context0.338 → n/a0.352 → 0.178
Chat0.039 → 0.0370.682 → 0.577
Instruction0.053 → −0.0330.658 → 0.561

Table 17. Leave-one-category-out ρ\rho on LLaDA2.1-mini.

The admission predictor transfers poorly. Even in distribution, prompt size features order requests within a category only weakly (ρ=0.04\rho= 0.04–0.34). Once a category is held out, ρ\rho turns negative in five of the seven defined cases, stays near zero for chat, and is positive only for multilingual math. On long context, the held-out predictor assigns every request the same value, since these prompts are far longer than any seen in training, so ρ\rho is undefined (n/a).

The refined estimate keeps a positive ρ\rho on every held-out category. Its drop ranges from 0.02 on hard MCQ to 0.17 on long context, and the held-out ρ\rho stays between 0.40 and 0.62 except on long context. The first-round hidden state thus carries information about denoising workload that transfers across request types, whereas prompt size features do not.

References

  1. [1]Agrawal, A., Kedia, N., Panwar, A., Mohan, J., Kwatra, N., Gulavani, B. S., Tumanov, A., and Ramjee, R. Taming throughput-latency tradeoff in LLM inference with Sarathi-Serve, 2024. URL https://arxiv.org/abs/2403.02310.
  2. [2]Arriola, M., Gokaslan, A., Chiu, J. T., Yang, Z., Qi, Z., Han, J., Sahoo, S. S., and Kuleshov, V. Block diffusion: Interpolating between autoregressive and diffusion language models, 2025. URL https://arxiv.org/abs/2503.09573.
  3. [3]Austin, J., Johnson, D. D., Ho, J., Tarlow, D., and van den Berg, R. Structured denoising diffusion models in discrete state-spaces. In Ranzato, M., Beygelzimer, A., Dauphin, Y., Liang, P., and Vaughan, J. W. (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 17981–17993. Curran Associates, Inc., 2021a. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/958c530554f78bcd8e97125b70e6973d-Paper.pdf.arxiv.org/abs/2107.03006
  4. [4]Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., and Sutton, C. Program synthesis with large language models, 2021b. URL https://arxiv.org/abs/2108.07732.
  5. [5]Barlow, R. E. and Brunk, H. D. The isotonic regression problem and its dual. Journal of the American Statistical Association, 67(337):140–147, 1972. ISSN 01621459, 1537274X. URL http://www.jstor.org/stable/2284712.DOI
  6. [6]Bie, T., Cao, M., Chen, K., Du, L., Gong, M., Gong, Z., Gu, Y., Hu, J., Huang, Z., Lan, Z., Li, C., Li, C., Li, J., Li, Z., Liu, H., Liu, L., Lu, G., Lu, X., Ma, Y., Tan, J., Wei, L., Wen, J.-R., Xing, Y., Zhang, X., Zhao, J., Zheng, D., Zhou, J., Zhou, J., Zhou, Z., Zhu, L., and Zhuang, Y. LLaDA2.0: Scaling up diffusion language models to 100B, 2025. URL https://arxiv.org/abs/2512.15745.
  7. [7]Bie, T., Cai, J., Cao, M., Cao, X., Chen, B., Chen, F., Chen, K., Ding, Y., Du, L., Gong, Z., Gu, Y., Guan, K., Guo, X., Han, K., Huang, Z., Huang, Z., Lan, Z., Li, C., Li, J., Li, Z., Liang, R., Lin, X., Liu, H., Liu, L., Liu, X., Liu, X., Lu, G., Lu, Y., Ma, Y., Mao, C., Qi, X., Qiu, K., Shi, X., Tian, Y., Wang, H., Wang, Q., Wang, R., Wang, S., Wei, L., Wu, T., Xiao, S., Xing, Y., Xu, C., Yan, S., Yan, Y., Yang, J., Yang, Y., Zha, L., Zhang, T., Zhang, Y., Zhao, J., Zhao, W., Zheng, D., Zhong, J., Zhou, J., Zhou, J., Zhou, T., Zhu, L., and Zhuang, Y. LLaDA2.2: Enabling agentic diffusion language models via Levenshtein editing. Technical report, Inclusion AI, 2026a. URL https://github.com/inclusionAI/LLaDA2.X/blob/main/LLaDA2_2_tech_report.pdf. LLaDA2.2-mini model card: https://huggingface.co/inclusionAI/LLaDA2.2-mini.
  8. [8]Bie, T., Cao, M., Cao, X., Chen, B., Chen, F., Chen, K., Du, L., Feng, D., Feng, H., Gong, M., Gong, Z., Gu, Y., Guan, J., Guan, K., He, H., Huang, Z., Jiang, J., Jiang, Z., Lan, Z., Li, C., Li, J., Li, Z., Liu, H., Liu, L., Lu, G., Lu, Y., Ma, Y., Mou, X., Pan, Z., Qiu, K., Ren, Y., Tan, J., Tian, Y., Wang, Z., Wei, L., Wu, T., Xing, Y., Ye, W., Zha, L., Zhang, T., Zhang, X., Zhao, J., Zheng, D., Zhong, H., Zhong, W., Zhou, J., Zhou, J., Zhu, L., Zhu, M., and Zhuang, Y. LLaDA2.1: Speeding up text diffusion via token editing, 2026b. URL https://arxiv.org/abs/2602.08676.
  9. [9]Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D., Wu, J., Winter, C., Hesse, C., Chen, M., Sigler, E., Litwin, M., Gray, S., Chess, B., Clark, J., Berner, C., McCandlish, S., Radford, A., Sutskever, I., and Amodei, D. Language models are few-shot learners. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., and Lin, H. (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 1877–1901. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfc964718bf8ac142f64a-Paper.pdf.arxiv.org/abs/2005.14165
  10. [10]Chang, T.-T., Hong, B. Y., Pham, K., and Venkataraman, S. TeDiServe: High SLO attainment serving for diffusion language models, 2026. URL https://arxiv.org/abs/2606.29094.
  11. [11]Chen, M., Tworek, J., Jun, H., Yuan, Q., de Oliveira Pinto, H. P., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., Ray, A., Puri, R., Krueger, G., Petrov, M., Khlaaf, H., Sastry, G., Mishkin, P., Chan, B., Gray, S., Ryder, N., Pavlov, M., Power, A., Kaiser, L., Bavarian, M., Winter, C., Tillet, P., Such, F. P., Cummings, D., Plappert, M., Chantzıs, F., Barnes, E., Herbert-Voss, A., Guss, W. H., Nichol, A., Paino, A., Tezak, N., Tang, J., Babuschkin, I., Balaji, S., Jain, S., Saunders, W., Hesse, C., Carr, A. N., Leike, J., Achiam, J., Misra, V., Morikawa, E., Radford, A., Knight, M., Brundage, M., Murati, M., Mayer, K., Welinder, P., McGrew, B., Amodei, D., McCandlish, S., Sutskever, I., and Zaremba, W. Evaluating large language models trained on code, 2021.arxiv.org/abs/2107.03374
  12. [12]Cheng, S., Bian, Y., Liu, D., Zhang, L., Yao, Q., Tian, Z., Wang, W., Guo, Q., Chen, K., Qi, B., and Zhou, B. SDAR: A synergistic diffusion-autoregression paradigm for scalable sequence generation, 2025. URL https://arxiv.org/abs/2510.06303.
  13. [13]Clark, P., Cowhey, I., Etzioni, O., Khot, T., Sabharwal, A., Schoenick, C., and Tajford, O. Think you have solved question answering? try arc, the ai2 reasoning challenge, 2018. URL https://arxiv.org/abs/1803.05457.
  14. [14]Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Naskar, R., Hesse, C., and Schulman, J. Training verifiers to solve math word problems, 2021. URL https://arxiv.org/abs/2110.14168.
  15. [15]Corbató, F. J., Merwin-Daggett, M., and Daley, R. C. An experimental time-sharing system. In Proceedings of the May 1-3, 1962, Spring Joint Computer Conference, AIEE-IRE ’62 (Spring), pp. 335–344, New York, NY, USA, 1962. Association for Computing Machinery. ISBN 9781450378758. doi: 10.1145/1460833.1460871. URL https://doi.org/10.1145/1460833.1460871.
  16. [16]DiffusionGemma Team, Taiga, A. A., Assiene, J., Calandriello, D., Chaabouni, R., Gante, J., von Glehn, T., Keating, N., Knutsen, C., Kukla, M., Liu, T., Lobov, I., Nabati, O., Oliveira, J. G., Perez-Nieves, N., Prutianova, N., Shahriari, B., Tarbouriech, J., Tyletski, P., Çağlar Ünlü, Wu, C., Cameron, G., Connor, J., Girgin, S., Grooten­dorst, M., Levkovitch, A., Nachmani, E., Sanseviero, O., Stanczyk, P., Berthet, Q., Campbell, A., Crepy, C., Bortoli, V. D., Doucet, A., Elie, R., Galashov, A., Greff, K., Jacq, A., Ruhe, D., Wu, Y.-H., Flennerhag, S., O’Donoghue, B., Scrivener, G., and Thakoor, S. DiffusionGemma technical report, 2026. URL https://arxiv.org/abs/2608.00146.
  17. [17]Fan, J., Zhang, Y., Li, X., and Nikolopoulos, D. S. Taming the memory footprint crisis: System design for production diffusion LLM serving, 2026. URL https://arxiv.org/abs/2512.17077.
  18. [19]Gao, B., He, Z., Sharma, P., Kang, Q., Jevdjic, D., Deng, J., Yang, X., Yu, Z., and Zuo, P. Cost-efficient large language model serving for multi-turn conversations with cachedattention, 2024. URL https://arxiv.org/abs/2403.19708.
  19. [20]Gensheimer, M. F. and Narasimhan, B. A scalable discrete-time survival model for neural networks. PeerJ, 7: e6257, January 2019. ISSN 2167-8359. doi: 10.7717/peerj.6257. URL http://dx.doi.org/10.7717/peerj.6257.
  20. [21]Harchol-Balter, M. Performance Modeling and Design of Computer Systems: Queueing Theory in Action. Cambridge University Press, Cambridge, 2013. ISBN 978-1-107-02750-3.
  21. [22]Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. Measuring mathematical problem solving with the math dataset, 2021. URL https://arxiv.org/abs/2103.03874.
  22. [24]Hsieh, C.-P., Sun, S., Kriman, S., Acharya, S., Rekesh, D., Jia, F., Zhang, Y., and Ginsburg, B. RULER: What’s the real context size of your long-context language models?, 2024. URL https://arxiv.org/abs/2404.06654.
  23. [25]Inception Labs, Khanna, S., Kharbanda, S., Li, S., Varma, H., Wang, E., Birnbaum, S., Luo, Z., Mirzaoui, Y., Palrecha, A., Ermon, S., Grover, A., and Kuleshov, V. Mercury: Ultra-fast language models based on diffusion, 2025. URL https://arxiv.org/abs/2506.17298.
  24. [26]Jin, Y., Wu, C.-F., Brooks, D., and Wei, G.-Y. S³: Increasing GPU utilization during generative inference for higher throughput, 2023. URL https://arxiv.org/abs/2306.06000.
  25. [27]Kamradt, G. Needle In A Haystack – pressure testing LLMs, 2023. URL https://github.com/gkamradt/LLMTest_NeedleInAHaystack. GitHub repository.
  26. [29]Kedia, N., Agarwal, S., Lee, M., and Akella, A. Sangam: Efficiently serving diffusion LLMs with the AR stack, 2026. URL https://arxiv.org/abs/2607.04206.
  27. [30]Kleinrock, L. Queueing Systems, Volume I. Wiley, 1975. ISBN 9780471491101. URL https://books.google.co.uk/books?id=sJScQOEACAAJ.
  28. [31]Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with PagedAttention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles, 2023.arxiv.org/abs/2309.06180
  29. [32]Liu, Z., Yang, Y., Zhang, Y., Chen, J., Zou, C., Wei, Q., Wang, S., Zhu, Y., and Zhang, L. dLLM-Cache: Accelerating diffusion large language models with adaptive caching, 2026. URL https://arxiv.org/abs/2506.06295.
  30. [33]Mitzenmacher, M. Scheduling with predictions and the price of misprediction, 2019. URL https://arxiv.org/abs/1902.00732.
  31. [34]Nie, S., Zhu, F., You, Z., Zhang, X., Ou, J., Hu, J., Zhou, J., Lin, Y., Wen, J.-R., and Li, C. Large language diffusion models, 2025. URL https://arxiv.org/abs/2502.09992.
  32. [35]Patel, P., Choukse, E., Zhang, C., Shah, A., Iñigo Goiri, Maleki, S., and Bianchini, R. Splitwise: Efficient generative LLM inference using phase splitting, 2024. URL https://arxiv.org/abs/2311.18677.
  33. [36]Qiu, H., Mao, W., Patke, A., Cui, S., Jha, S., Wang, C., Franke, H., Kalbarczyk, Z. T., Başar, T., and Iyer, R. K. Efficient interactive LLM serving with proxy model-based sequence length prediction, 2024. URL https://arxiv.org/abs/2404.08509.
  34. [37]Sahoo, S. S., Arriola, M., Schiff, Y., Gokaslan, A., Marroquin, E., Chiu, J. T., Rush, A., and Kuleshov, V. Simple and effective masked diffusion language models, 2024. URL https://arxiv.org/abs/2406.07524.
  35. [38]Schrage, L. A proof of the optimality of the shortest remaining processing time discipline. Operations Research, 16 (3):687–690, 1968. ISSN 0030364X, 15265463. URL http://www.jstor.org/stable/169596.DOI
  36. [39]Scully, Z., Harchol-Balter, M., and Scheller-Wolf, A. SOAP: One clean analysis of all age-based scheduling policies, 2018. URL https://arxiv.org/abs/1712.00790.
  37. [40]Shahout, R., Malach, E., Liu, C., Jiang, W., Yu, M., and Mitzenmacher, M. Don’t stop me now: Embedding based scheduling for LLMs, 2024. URL https://arxiv.org/abs/2410.01035.
  38. [41]ShareGPT Team. ShareGPT: Share your wildest ChatGPT conversations with one click. https://sharegpt.com/; data: https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered, 2023.
  39. [42]Shi, F., Suzgun, M., Freitag, M., Wang, X., Srivats, S., Vosoughi, S., Chung, H. W., Tay, Y., Ruder, S., Zhou, D., Das, D., and Wei, J. Language models are multilingual chain-of-thought reasoners, 2022. URL https://arxiv.org/abs/2210.03057.
  40. [43]Shi, J., Han, K., Wang, Z., Doucet, A., and Titsias, M. K. Simplified and generalized masked diffusion for discrete data, 2025. URL https://arxiv.org/abs/2406.04329.
  41. [44]Smith, W. E. Various optimizers for single-stage production. Naval Research Logistics Quarterly, 3(1-2):59–66, 1956. doi: https://doi.org/10.1002/nav.3800030106. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/nav.3800030106.
  42. [45]Sohl-Dickstein, J., Weiss, E. A., Maheswaranathan, N., and Ganguli, S. Deep unsupervised learning using nonequilibrium thermodynamics, 2015. URL https://arxiv.org/abs/1503.03585.
  43. [46]Spearman, C. The proof and measurement of association between two things. The American Journal of Psychology, 15(1):72–101, 1904. ISSN 00029556. URL http://www.jstor.org/stable/1412159.
  44. [47]Sun, B., Huang, Z., Zhao, H., Xiao, W., Zhang, X., Li, Y., and Lin, W. Lumnix: Dynamic scheduling for large language model serving. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pp. 173–191, Santa Clara, CA, July 2024. USENIX Association. ISBN 978-1-939133-40-3. URL https://www.usenix.org/conference/osdi24/presentation/sun-biao.arxiv.org/abs/2406.03243
  45. [48]Wang, Y., Ma, X., Zhang, G., Ni, Y., Chandra, A., Guo, S., Ren, W., Arulraj, A., He, X., Jiang, Z., Li, T., Ku, M., Wang, K., Zhuang, A., Fan, R., Yue, X., and Chen, W. MMLU-Pro: A more robust and challenging multi-task language understanding benchmark, 2024. URL https://arxiv.org/abs/2406.01574.
  46. [55]Zheng, L., Yin, L., Xie, Z., Sun, C., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., Barrett, C., and Sheng, Y. SGLang: Efficient execution of structured language model programs, 2024. URL https://arxiv.org/abs/2312.07104.
  47. [56]Zheng, Z., Ren, X., Xue, F., Luo, Y., Jiang, X., and You, Y. Response length perception and sequence scheduling: An LLM-empowered LLM inference pipeline, 2023. URL https://arxiv.org/abs/2305.13144.
  48. [57]Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. Distserve: Disaggregating prefill and decoding for goodput-optimized large language model serving, 2024. URL https://arxiv.org/abs/2401.09670.
  49. [58]Zhou, J., Lu, T., Mishra, S., Brahma, S., Basu, S., Luan, Y., Zhou, D., and Hou, L. Instruction-following evaluation for large language models, 2023. URL https://arxiv.org/abs/2311.07911.

Paper details

vlnc:W_vad5cj6k
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents