DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Lizhuo Luo * 1 Shenggui Li * 1 Yonggang Wen 1 Tianwei Zhang 1 Abstract Diffusion large language models (dLLMs) have emerged as a promising alternative for text gen- eration, distinguished by their native support for parallel decoding. In practice, block inference is crucial for avoiding order misalignment in global bidirectional decoding and improving output qual- ity. However, the widely-used fixed, predefined block (naive) schedule is agnostic to semantic dif- ficulty, making it a suboptimal strategy for both quality and efficiency: it can force premature com- mitments to uncertain positions while delaying easy positions near block boundaries. In this work, we analyze the limitations of naive block schedul- ing and disclose the importance of dynamically adapting the schedule to semantic difficulty for reliable and efficient inference. Motivated by this, we propose Dynamic Sliding Block (DSB), a training-free block scheduling method that uses a sliding block with a dynamic size to overcome the rigidity of the naive block. To further improve ef- ficiency, we introduce DSB Cache, a training-free KV-cache mechanism tailored to DSB. Extensive experiments across multiple models and bench- marks demonstrate that DSB, together with DSB Cache, consistently improves both generation quality and inference efficiency for dLLMs. Code is released at https://github.com/lizhuo-luo/DSB. 1. Introduction Diffusion models have emerged as a leading paradigm for image (Podell et al., 2023; Xie et al., 2024) and video (Blattmann et al., 2023; Kong et al., 2024) generation, and recent progress suggests that masked diffusion models can be similarly competitive for text generation. Different from autoregressive (AR) language models (OpenAI et al., 2024; Qwen et al., 2025) that generate tokens strictly left-to-right, *Equal contribution 1Nanyang Technological University. Cor- respondence to: Tianwei Zhang . Proceedings of the 43 rd International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s). diffusion large language models (dLLMs) (Nie et al., 2025; Ye et al., 2025) predict and decode multiple positions over iterative denoising steps, offering a promising alternative with inherent parallelism. In fact, dLLMs typically adopt the global bidirectional attention during inference, which can misalign the decoding order with the causal structure of natural language, leading to unstable decoding trajec- tories and degraded generation quality. To mitigate this issue, a common practice is block-diffusion inference (Nie et al., 2025): the response is partitioned into predefined fixed blocks and decoded sequentially, so that the model follows an approximately left-to-right generation order while retain- ing parallel updates within each block, yielding substantial quality improvements across many tasks. More recent stud- ies (Liu et al., 2025a; Google DeepMind, 2025; Labs et al., 2025; Bie et al., 2025) further investigate the scalability and optimization of dLLMs, advancing the generation of block-diffusion LLMs toward practical use. Despite these advances, the fixed, predefined block sched- ule remains a key bottleneck (Lu et al., 2025). Figure 1 depicts an example adapted from (Lu et al., 2025), where the naive block scheduling requires the active block to be fully unmasked before decoding can proceed to the next block. An empirical verification is provided in Appendix A. This rigidity is agnostic to semantic information and dif- ficulty: it can force the sampler to unmask positions even with quite low confidence (uncertain) inside the active block, while positions that are already high-confidence (certain) but lie just outside the active block cannot be decoded yet. Such premature commitments to uncertain positions tend to degrade generation quality, whereas delaying easy positions reduces parallelism and slows inference. Consequently, the fixed block scheduling yields a suboptimal quality–speed trade-off in semi-autoregressive dLLM inference. These limitations suggest that an improved block schedule should account for semantic information and adapt to evolv- ing context during denoising, rather than enforcing a static partition. Intuitively, we should wait on low-confidence positions inside the active region until they can benefit from more reliable context, and unmask high-confidence posi- tions just outside the boundary earlier to avoid unnecessary delay. Existing attempts toward semantic-aware scheduling often rely on handcrafted heuristics or task-dependent cues (e.g., special separators or pattern-based rules), which may 1 arXiv:2602.05992v3 [cs.CL] 17 Jun 2026 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Lisa has four cats and Eric has two . They have zero dogs in total . Lisa has four cats and Eric has total . They in total cats total and . Lisa has four cats Lisa has four cats and Eric has two . They have six dogs in total . Lisa has four cats and Eric has two . They have six Prompt: Lisa has four cats, and Eric has two. How many dogs do they have in total? block1 block2 block3 block3 Denoise T Answer T Denoise T+N Answer T+N Groud Truth high conf low conf … … … High conf but outside the active block Low conf but decoded wrong answer! Figure 1. Limitation of naive block scheduling. At the denoising step T, several positions outside the active block have high confidence (dark yellow) but cannot be decoded due to the fixed block constraint, delaying easy tokens near the boundary. At later steps (T+N), the method is forced to decode low-confidence positions inside the active block, which can lead to premature, incorrect commitments (e.g., decoding “six” instead of the ground-truth “zero”). block1 Denoise T Global Naive Block DSB Sliding Block with Dynamic Size high conf low conf Unmasked Masked Blocked Confidence Figure 2. A brief teaser of Dynamic Sliding Block (DSB). At the denoising step T, the top row shows the confidence of masked positions (darker yellow indicates higher confidence). Global decodes the whole response simultaneously. Naive Block uses a fixed block, which can force early decoding of low-confidence positions inside the block and delay high-confidence positions outside it. In contrast, DSB employs a sliding block with dynamic size (red dashed box) to mitigate both issues. not generalize across domains and model scales. This moti- vates a training-free scheduling mechanism that can adapt block boundaries online and consistently yield a better semi- autoregressive decoding strategy. Based on this, we propose Dynamic Sliding Block (DSB), a training-free block scheduling for dLLMs (Figure 2). It maintains an active block whose size changes and boundary slides forward as decoding progresses. At each iteration, DSB updates the block based on the current unmasking state, expanding the active block whenever any position is unmasked and sliding forward once the positions adjacent to the block’s start boundary are resolved. In this way, DSB alleviates the two key drawbacks of the naive block schedule: it avoids forcing premature commitments on low-confidence positions within the active block, instead providing them with a more reliable context and unmasking high-confidence positions near the boundary in a timely manner, thereby improving both decoding quality and efficiency. KV-cache is essential to fully exploit the efficiency gains brought by DSB. Directly applying existing training-free cache schemes for the naive block schedule (Ma et al., 2025; Wu et al., 2025b), e.g., prefix or dual caching with block- completion updates, to our sliding schedule can cause severe performance degradation. The reason is that when the block slides forward, it exposes new boundary positions, but the KV states are often still in flux because they or nearby tokens have just been updated, making them transient rather than stable (Ma et al., 2025). Treating such boundary tokens as long-lived cached states causes frequent invalidation and recomputation, offsetting the benefits of DSB. We therefore propose DSB Cache, a training-free KV-cache mechanism tailored to DSB, aiming to improve efficiency while avoiding quality degradation. It introduces a prefix window immediately before the active block and refreshes KV states of both the prefix window and active block at each step, while caching remaining positions for reuse and performing periodic global refreshes. This prefix window stabilizes cache usage under block movement, substantially improves throughput and preserves generation quality. Overall, DSB dynamically resizes and slides the active block to better adapt to the available context, and DSB Cache mitigates the KV-cache challenges introduced by block movement, yielding a stronger semi-autoregressive inference method. Extensive experiments across multiple models and benchmarks show that DSB, together with DSB 2 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Cache, consistently improves the quality–speed trade-off. Our contributions are summarized as follows: • We propose Dynamic Sliding Block (DSB), a training- free decoding schedule that improves dLLM performance as a stronger semi-autoregressive strategy. DSB analyzes and mitigates the limitations of the fixed, predefined block schedule, which ignores semantic information and dif- ficulty, thereby improving both generation quality and inference efficiency. • We introduce DSB Cache, a training-free KV-cache tai- lored to DSB, which can mitigate the severe performance degradation incurred by existing caching schemes. We identify and address cache instability caused by positions newly exposed as the active block slides, thereby further amplifying DSB’s advantages. • Extensive experiments across multiple models and bench- marks demonstrate the robust effectiveness of our method in improving the quality–speed trade-off over baselines. Comprehensive ablations further validate the effectiveness of each design and support our analysis. 2. Related Work Block-Diffusion LLMs. Recent diffusion language mod- els (Nie et al., 2025; Ye et al., 2025) have drawn increas- ing attention as an alternative paradigm for text generation, thanks to their ability to recover multiple tokens in paral- lel and incorporate bidirectional context during denoising. To improve generation quality, many systems (Nie et al., 2025; Wu et al., 2025b) adopt block-wise inference: directly applying a block-wise mask to those bidirectional dLLMs. This semi-autoregressive inference pattern better matches the causal feature of natural language and has been shown to substantially improve decoding stability in practice. Beyond imposing block constraints only at inference time, a growing line of work (Wu et al., 2025a; Song et al., 2025; Bie et al., 2025; Liu et al., 2025a) trains models with block- causal masks to more closely match the block-diffusion LLMs’ decoding schedule, yielding a paradigm that is causal across blocks yet parallel within blocks and align- ing with KV-cache mechanisms. Fast-dLLM v2 (Wu et al., 2025a) proposes a data-efficient block diffusion framework that converts pretrained AR LLMs into block-wise diffusion decoders and accelerates inference via hierarchical caching and parallel decoding. LLaDA 2.0 (Bie et al., 2025) scales this training paradigm to 100B models and demonstrates industrially relevant performance, matching autoregressive models on multiple metrics and further validating the feasi- bility of dLLMs. Given the limitations of fixed block schedules, several re- cent works have explored alternative block mechanisms (Lu et al., 2025; Yang et al., 2026; Liu et al., 2025a). AdaBlock- dLLM (Lu et al., 2025) identifies valid delimiters (such as ”.” and ”,”) and determines the range of the next block after the previous block is completely unmasked. Nevertheless, this delimiter-driven strategy may be less general when reliable delimiters are absent or incorrectly predicted. Wavefront- Diffusion (Yang et al., 2026) expands the positions near the already decoded token, while reducing the number of low-confidence positions. Therefore, discontinuous blocks may exist. As a concurrent work of ours, WeDLM (Liu et al., 2025a) is primarily motivated by the low efficiency of the current block diffusion KV Cache and its slower infer- ence speed compared to AR, thus proposing a new training paradigm and an adaptive inference strategy based on the training model. In contrast, our method is motivated by the limitations of fixed block configurations and realizes a dynamically sized sliding block in a training-free manner, together with a tailored KV cache, leading to a more flexible and effective semi-autoregressive inference paradigm. Efficient Diffusion LLMs. Despite dLLMs’ ability to up- date multiple positions in parallel, practical inference re- mains challenging, motivating efforts on faster, more re- liable decoding. Broadly, existing solutions fall into two directions: parallel decoding strategies (Wu et al., 2025b; Kim et al., 2025; Luo et al., 2026) and KV-cache mecha- nisms (Liu et al., 2025b; Ma et al., 2025; Wu et al., 2025b). For parallel decoding (orthogonal to our method), Fast- dLLM (Wu et al., 2025b) leverages the positional depen- dence in dLLMs and introduces confidence-aware update rules to select which tokens to unmask in parallel. In contrast, EB-Sampler (Ben-Hamu et al., 2025) adopts an entropy-bounded criterion at each position to adaptively decide whether to commit that position at the current step. KLASS (Kim et al., 2025) uses token-level KL divergence across denoising steps to identify stable positions for par- allel unmasking, improving decoding speed while largely preserving generation quality. Moreover, DAWN (Luo et al., 2026) estimates positional dependency relations from at- tention maps and uses them to schedule decoding more efficiently. Beyond these, other methods accelerate parallel decoding with more fine-grained scheduling strategies. For KV caching, Fast-dLLM also introduces training-free cache designs for block-diffusion LLM inference, caching positions outside the active block, and periodically updat- ing them to reduce redundant computation. dKV-Cache (Ma et al., 2025) further introduces delayed caching by caching tokens only after their KV states become stable, enabling near-lossless acceleration. Other approaches train with block-causal masks, yielding a natural lossless KV- cache strategy. Beyond the two main threads, techniques such as early stopping (Yang et al., 2025; Li et al., 2025) and distillation (Chen et al., 2025) have also been explored. 3 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs 3. Background & Preliminaries 3.1. Diffusion LLMs Inference Procedure Most recent diffusion LLMs follow the discrete masked diffusion model framework (Shi et al., 2025; Sahoo et al., 2024), formulating generation as an iterative unmasking pro- cedure. In contrast to autoregressive models, dLLMs begin with a largely masked sequence and gradually fill in masked positions over multiple denoising steps until all [MASK] tokens are resolved. At each step, the model produces token distributions for the currently masked positions conditioned on the partially decoded sequence. Given a prompt X, we initialize the response as a fully masked sequence of pre- defined length L. In the traditional setting, the sampler unmasks one token with the highest confidence at each step. At each denoising step t = 0, 1, . . . , L −1, we input the concatenation of the prompt X and the current response state y(t) to the model, and commit the token at the masked response position with the highest confidence: it = arg max i∈M (t) � max v∈V pθ (yi = v | X, y(t)) � , y(t+1) i =    arg max v∈V pθ � yi = v | X, y(t)� , if i = it, y(t) i , otherwise. where M (t) ≜{i | y(t) i = [MASK]} is the set of masked re- sponse positions at step t, V is the vocabulary and [MASK] is the special mask token. Repeating this procedure for L steps yields a fully unmasked response y(L). However, when dLLMs decode many positions globally in parallel, the generation order can become misaligned with the causal structure of natural language: the model may prematurely commit to answer tokens before sufficient sup- porting context is formed. Such an order inversion often amplifies dependency conflicts and error propagation, result- ing in degraded output quality. Given the inherently causal nature of language, practical dLLM inference frameworks therefore commonly adopt a block-wise decoding strategy. This semi-autoregressive paradigm substantially improves generation quality in current implementations. 3.2. Naive Block-diffusion LLMs Recent advances leverage the block-causal structure of block diffusion to build more efficient KV caching schemes and high-throughput inference systems for dLLMs (Wu et al., 2025b;a; Bie et al., 2025; Liu et al., 2025a). In essence, block-diffusion LLMs inference is a constrained variant of standard dLLMs sampling, where a block-wise ordering is imposed on the unmasking process. As shown in Figure 1, given a fixed response length L and a block size B, one typically assumes that B divides L for simplicity. The response positions are then evenly partitioned into K = L/B contiguous blocks, where Bk ≜{(k −1)B + 1, . . . , kB} for k = 1, . . . , K. At denoising step t, let the masked set be M (t) ≜{i | y(t) i = [MASK]}, and the masked positions within block k be M (t) k ≜M (t) ∩Bk. Decoding proceeds sequentially across blocks: the sampler operates on block k and can move to block k+1 only when M (t) k = ∅. This constraint enforces global causality while retaining local parallelism, which typically yields higher generation quality in practice (Nie et al., 2025). However, the rigid block boundary may force premature commitment to low-confidence tokens within the active block, while delaying high-confidence tokens outside the block that could be safely decoded earlier, leading to suboptimal accuracy and efficiency (Lu et al., 2025). 4. Methodology We propose Dynamic Sliding Block (DSB), a training-free decoding strategy to improve both accuracy and efficiency of diffusion large language models (Section 4.1). We further introduce DSB Cache, a KV-cache design tailored to DSB for more efficient inference (Section 4.2). 4.1. Dynamic Sliding Block Naive block-diffusion LLMs (Nie et al., 2025; Wu et al., 2025b), while significantly improving generation quality over fully global parallel decoding, remain suboptimal in both quality and efficiency. The core issue (Lu et al., 2025) is that a predefined block schedule is independent of the actual semantics and difficulty of the sequence. It can force premature commitment to low-confidence positions inside the active block and delay high-confidence positions just outside the block boundary. Such a mismatch leads to subop- timal generation quality and decoding speed. We therefore propose Dynamic Sliding Block (DSB), which uses a sliding block with a dynamic size to incorporate semantic difficulty during inference. DSB preserves causality while enabling a better semi-autoregressive paradigm. As shown in Algorithm 1, At iteration t, DSB maintains an active block B(t) = [s(t), e(t)) whose left and right boundaries advance at different rates. The block is ini- tialized with size Sinit. After each iteration, we update the left boundary by scanning the current block from left to right to find the first masked position. Then we set s(t+1) to the position immediately to its left. If the block con- tains no masked positions, we set s(t+1) = e(t). For the right boundary, we expand the block to keep at least Sinit unresolved tokens whenever possible, while capping the block size at a maximum length Smax. Concretely, we set e(t+1) = min(ℓprompt + Sinit + U, s(t+1) + Smax), where ℓprompt is the prompt length and U is the number of to- tally unmasked positions. Under this rule, DSB maintains 4 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs … Step 1 Step 2 Step 3 Step 4 Global KV-Cache update, full computation … Step N Unmasked Pos Masked Pos Inside The Block Masked Pos Outside The Block Active Block Prefix Window Cache Position Response Figure 3. Overview of DSB with DSB Cache. DSB maintains an active block (red) that slides and can change its size across denoising steps, enabling globally causal yet locally parallel decoding. DSB Cache caches KV states for positions outside the active block (shaded region), while jointly refreshing the active block and the immediately preceding prefix window (blue) to handle boundary instability introduced by block movement. A periodic global cache refresh performs full computation to re-synchronize cached states. Algorithm 1 Dynamic Sliding Block (DSB) Inference Input: prompt X with length ℓprompt, response length L, initial block size Sinit, maximum block size Smax Initialize y ← ([MASK], . . . , [MASK]) ∈ (V ∪ {[MASK]})L Initialize s ←ℓprompt, e ←s + Sinit Initialize decoded-token count U ←0 while U < L do B ←{s, . . . , e −1} M ←{i ∈B | yi = [MASK]} Unmask a selected subset of tokens within M and update y accordingly. Update U ←U + |{i ∈M | yi ̸= [MASK]}| Find i⋆←min{i ∈B | yi = [MASK]} if it exists if i⋆exists then Update s ←i⋆ else Update s ←e end if Update e ←min � ℓprompt + Sinit + U, s + Smax � end while Output: decoded response y local semantic coherence while adaptively decoding high- confidence positions earlier and postponing low-confidence positions until they can benefit from richer context, mitigat- ing the limitations of the Naive block schedule and improv- ing both quality and efficiency. DSB recovers several useful cases. When Smax = Sinit, the block can only slide without resizing, yielding a sliding block with a constant size (DSB (const.)). When Smax is unbounded, DSB removes the upper bound on the block size, which can further improve throughput but weaken the causal constraint. We refer to this variant as DSB (greedy). 4.2. DSB Cache KV caching is a critical technique for narrowing the inference-efficiency gap between diffusion LLMs and state- of-the-art autoregressive models. Prior work proposed training-free caching schemes for naive block-diffusion LLMs (Wu et al., 2025b), such as (i) prefix caching, which reuses KV states for positions before the current block, and (ii) dual caching, which reuses KV states for all positions outside the current block. Both schemes typically refresh cached states only when the current block is completed. However, directly applying these fixed-block cache update rules to DSB results in substantial quality degradation. To better match DSB, we propose DSB Cache, inspired by pre- fix and dual caching, while retaining both high throughput and output quality under dynamic block movement. The key challenge is that DSB changes the active block boundaries over time. When the block slides, newly ex- posed positions have often just been decoded (either them- selves or their nearby neighbors), and their KV states can be transient rather than stable (Ma et al., 2025). Treating such positions as long-lived cache entries causes frequent cache invalidation or expensive recomputation. At the same time, although dLLMs use full attention, the left-to-right nature of natural language makes inference rely more heavily on left-context positions in practice. Motivated by this, we design a prefix window update mechanism. We maintain an active window immediately before the current block and continuously refresh KV states within it to absorb boundary changes induced by sliding. Specifically, at step t, we set the prefix window length as ℓ(t) pw = max � ℓpmin, s(t) −s(t−1)� , 5 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Table 1. Main results between DSB and baselines across LLaDA variants and five benchmarks. We use Accuracy and TPS (tokens per second) as metrics to evaluate generation quality and efficiency. Method GSM8K MATH HumanEval MBPP BBH Decode Cache Block Acc.↑ TPS↑ Acc.↑ TPS↑ Acc.↑ TPS↑ Acc.↑ TPS↑ Acc.↑ TPS↑ LLaDA-8B-Instruct Vanilla None Naive 77.79 14.94 33.24 21.51 40.24 36.22 40.20 14.33 52.83 11.76 Confidence None Naive 77.26 48.70 33.02 56.73 40.85 119.1 40.40 52.72 52.77 53.27 AdaBlock 77.94 44.75 32.92 53.26 39.63 110.6 40.80 50.41 50.68 50.03 DSB (const.) 78.17 50.36 33.14 58.60 42.07 124.6 41.40 53.35 53.20 56.56 DSB (greedy) 78.54 51.03 33.06 58.02 39.63 123.8 41.80 53.56 53.60 57.21 Confidence Dual Naive 77.40 92.26 32.72 83.58 37.80 100.6 37.80 76.61 47.09 90.79 dKV Naive 77.56 59.36 33.04 58.94 40.85 89.97 40.80 54.61 49.38 60.71 Dual AdaBlock 78.17 80.42 32.70 77.15 39.02 96.01 40.20 72.83 45.02 85.56 DSB DSB (const.) 80.14 98.10 32.98 89.03 37.80 105.3 43.00 82.02 49.19 97.85 DSB DSB (greedy) 80.29 99.61 33.46 89.90 39.63 107.7 42.80 81.88 51.16 100.1 LLaDA-1.5 Vanilla None Naive 80.52 14.05 33.50 19.29 44.50 12.78 39.20 5.320 57.44 12.11 Confidence None Naive 80.14 49.63 33.64 51.38 43.30 32.67 39.20 31.08 57.16 62.60 AdaBlock 81.04 43.82 33.10 49.15 40.24 31.00 37.80 25.77 56.50 57.81 DSB (const.) 81.20 48.60 34.00 51.80 43.30 32.71 36.60 30.58 58.53 66.16 DSB (greedy) 80.74 49.63 34.18 51.67 42.70 33.75 38.60 29.62 58.85 69.23 Confidence Dual Naive 80.82 86.42 32.36 74.59 34.10 30.91 34.20 50.61 55.08 108.7 dKV Naive 81.05 57.68 32.86 53.08 36.59 24.87 39.20 34.83 55.66 71.75 Dual AdaBlock 79.53 77.97 32.52 73.84 35.36 25.76 37.20 40.54 54.14 97.90 DSB DSB (const.) 81.73 93.99 33.90 78.70 35.98 32.40 34.00 48.04 57.47 115.7 DSB DSB (greedy) 81.96 95.54 33.96 78.94 34.70 31.92 37.00 47.61 58.06 120.1 where ℓpmin is the minimum window length. This ensures the window always covers the newly exposed region when the block advances while maintaining at least ℓpmin prefix tokens for stable reuse. This prevents unstable boundary tokens from being cached as long-lived prefix states. DSB Cache combines prefix window updates with exist- ing caching schemes in a simple manner: we cache (i) all positions outside the current active block and (ii) a prefix window immediately preceding the active block, which is refreshed together with the active block at every step to keep their KV states up to date. In addition, we periodi- cally update the global cache after decoding Sinit tokens, amortizing the cost of cache maintenance and stabilizing cached states. This design is lightweight, and can effectively resolve the cache instability introduced by sliding blocks, enabling efficient inference with negligible quality loss. 5. Experiments 5.1. Configurations Models and Benchmarks. We conduct the experiments on several benchmarks covering a range of reasoning, code gen- eration, and general tasks: GSM8K (5-shot) (Cobbe et al., 2021), MATH (4-shot) (Hendrycks et al., 2021), HumanEval (0-shot) (Chen, 2021), MBPP (3-shot) (Austin et al., 2021), and BBH(3-shot) (Suzgun et al., 2023). Use variants of two models: LLaDA-8B-Instruct (Nie et al., 2025), LLaDA- 1.5 (Zhu et al., 2025), Dream-v0-Base-7B (Ye et al., 2025), Dream-v0-Instruct-7B. We report the accuracy to reflect quality and tokens per second (TPS) to reflect speed. Baselines. We compare our method against representa- tive baselines along three axes: decoding strategy, block scheduling, and KV caching. For decoding, we consider the vanilla Top-1 sampling, which commits the single masked position with the highest confidence at each iteration, and the confidence-aware parallel decoding method from Fast- dLLM (Wu et al., 2025b), which commits multiple positions whose confidence exceeds a predefined threshold. For block scheduling, we adopt two baselines: Naive Block Schedul- ing, which decodes fixed, predefined blocks sequentially, and AdaBlock-dLLM (Lu et al., 2025), which identifies valid delimiters to adaptively determine the range of the next block. For KV caching, we adopt two baselines: Dual Cache, which stores KV states for all positions outside the active block and periodically synchronizes them during in- ference, and dKV-Cache-Decode (Ma et al., 2025), which delays KV caching until token representations become suffi- ciently stable across denoising steps. 6 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Table 2. Main results between DSB and baselines across Dream variants and five benchmarks. We use Accuracy and TPS (tokens per second) as metrics to evaluate generation quality and efficiency. Method GSM8K MATH HumanEval MBPP BBH Decode Cache Block Acc.↑ TPS↑ Acc.↑ TPS↑ Acc.↑ TPS↑ Acc.↑ TPS↑ Acc.↑ TPS↑ Dream-v0-Base-7B Vanilla None Naive 75.06 21.09 34.76 28.10 48.78 49.77 53.00 29.01 51.39 23.33 Confidence None Naive 74.30 37.00 34.44 70.60 50.61 91.64 53.80 80.76 51.79 90.14 AdaBlock 74.30 31.62 34.50 61.05 50.61 83.90 54.20 67.57 52.56 73.59 DSB (const.) 74.83 34.16 34.70 72.05 50.61 91.41 54.00 80.30 51.76 91.80 DSB (greedy) 74.75 34.70 34.54 72.86 50.61 88.62 53.80 76.90 51.40 89.47 Confidence Dual Naive 73.31 68.04 33.28 92.30 52.44 74.49 53.00 101.1 50.30 127.3 dKV Naive 73.39 34.69 33.38 59.27 45.12 64.23 49.20 61.45 50.19 78.65 Dual AdaBlock 72.63 68.12 33.18 91.40 52.44 78.38 54.00 94.46 50.37 117.6 DSB DSB (const.) 74.22 68.71 33.52 96.44 52.44 78.09 54.80 115.3 50.01 140.1 DSB DSB (greedy) 72.48 68.09 36.94 92.99 51.83 73.11 55.00 108.5 49.95 132.6 Dream-v0-Instruct-7B Vanilla None Naive 77.03 11.38 37.87 31.32 55.49 33.47 54.20 13.54 59.87 17.20 Confidence None Naive 75.51 45.79 38.28 60.59 60.37 77.61 55.40 62.03 58.62 96.07 AdaBlock 75.28 39.26 38.42 52.41 60.37 70.92 55.00 53.09 57.32 79.44 DSB (const.) 74.22 45.22 38.24 61.59 60.37 77.04 55.80 60.54 58.09 97.31 DSB (greedy) 75.06 38.52 38.36 60.63 62.20 74.58 56.00 55.67 58.13 91.88 Confidence Dual Naive 67.32 72.18 36.94 80.76 53.05 65.91 53.80 57.94 58.47 126.7 dKV Naive 71.87 42.12 37.02 49.87 56.10 53.70 51.80 47.45 55.89 83.56 Dual AdaBlock 67.02 69.67 36.90 79.56 49.39 64.60 54.40 63.16 56.29 118.3 DSB DSB (const.) 71.27 73.03 37.02 80.30 56.10 66.01 52.00 59.48 55.94 139.3 DSB DSB (greedy) 73.08 75.27 37.00 82.63 59.76 65.28 56.40 61.85 57.93 144.7 Hardware and Implementation Details. Our experiments were conducted on an NVIDIA H200 140G GPU. All evaluations are conducted using the official lm-eval (Gao et al., 2024) library. We set the generation length to 256 and the block length, as well as Sinit, to 32 for the corresponding methods. The confidence threshold for parallel decoding is 0.9, according to the widely used official setting. Smax has two settings: the block length (DSB(const.)) and unbounded (DSB(greedy)). The minimum window length ℓpmin is set to 24 for LLaDA series, and is set to 4 for Dream series. 5.2. Main Results Table 1 and 2 report the accuracy and efficiency of DSB and the baselines under two scenarios: confidence-aware paral- lel decoding, and confidence-aware parallel decoding with KV caching, across four models and five benchmarks. Over- all, DSB improves the quality–efficiency trade-off in most evaluated settings, while DSB Cache further strengthens this advantage and achieves consistent gains across models and benchmarks. Effectiveness of DSB with parallel decoding. DSB ex- hibits stable and noticeable improvements on the LLaDA family under confidence-aware parallel decoding. Specif- ically, DSB (greedy) achieves 78.54 accuracy on GSM8K with LLaDA-8B-Instruct, surpassing the vanilla sam- pling result, and achieves 51.03 TPS, indicating that DSB can deliver high quality while improving efficiency. Moreover, on HumanEval with LLaDA-8B-Instruct, DSB (const.) achieves 42.07 accuracy and 124.6 TPS, surpassing AdaBlock-dLLM in both accuracy and efficiency by 2.44 points and 14.0 TPS, respectively, which further demon- strates that DSB remains highly effective under a constant block size. In contrast, the gains on Dream are less con- sistent, likely because of its AR-initialized, shift-aligned training, which is discussed as a limitation in Section 6. Nevertheless, DSB still yields clear benefits in several set- tings; for instance, on MATH with Dream-v0-Base-7B, DSB (const.) achieves 34.70 accuracy with 72.05 TPS, improving both quality and efficiency under the same parallel decoding configuration. In addition, DSB (greedy) achieves outstand- ing accuracy on MBPP with Dream-v0-Instruct-7B, while incurring only minimal throughput loss. Overall, across most settings, DSB consistently delivers clear gains over naive block scheduling and AdaBlock-dLLM. Effectiveness of DSB with cache. With DSB Cache, DSB delivers strong results across nearly all models and bench- marks, and in several cases even surpasses vanilla sampling in output quality. Specifically, on GSM8K, DSB (greedy) achieves 80.29 and 81.96 accuracy on the two LLaDA vari- 7 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Table 3. Ablation results on the effectiveness of DSB Cache. We use two representative DSB variants (DSB (const.) and DSB (greedy)) on two benchmarks with LLaDA-8B-Instruct. We report Accuracy and TPS as measures of generation quality and efficiency. All settings are kept the same as in the main experiments. Method GSM8K HumanEval Decode Cache Block Acc.↑ TPS↑ Acc.↑ TPS↑ Vani None Naive 77.79 14.94 40.24 36.22 Conf Dual DSB(const.) 76.42 78.93 28.05 87.79 Conf DSB DSB(const.) 80.14 98.10 37.80 105.3 Conf Dual DSB(greedy) 76.35 81.85 28.05 87.97 Conf DSB DSB(greedy) 80.29 99.61 39.63 107.7 ants, both higher than vanilla sampling, while reaching 99.61 and 95.54 TPS, respectively—substantially above the 92.26 and 86.42 TPS of naive block with Dual Cache and other baselines. On Dream, DSB (const.) also per- forms competitively; for example, on HumanEval with the Dream base model, it attains 52.44 accuracy and 78.09 TPS. DSB (greedy) with cache also yields consistent gains on the Dream instruct model; on GSM8K, it achieves 73.08 ac- curacy and 75.27 TPS, outperforming Naive Block with dKV-Cache-Decode by 1.21 accuracy points and 33.15 TPS in this setting. Compared with the Naive Block with Dual Cache, Naive Block with dKV-Cache-Decode, and Ad- aBlock with Dual Cache, DSB with DSB Cache improves both quality and efficiency. 5.3. Ablation Results We conduct ablation studies to assess the contributions of the prefix window in DSB Cache. We further examine the sen- sitivity of DSB to the block initial length, block max length, generation length, and the minimum window length ℓpmin to understand how these factors affect its effectiveness. All other experiment settings follow the main experiment. Effectiveness of DSB Cache. Table 3 reports an ablation of DSB Cache on LLaDA-8B-Instruct under two represen- tative DSB configurations, DSB (const.) and DSB (greedy). Overall, introducing the DSB Cache consistently improves both quality and efficiency on two benchmarks. In particu- lar, removing the prefix window and directly applying Dual Cache leads to a substantial drop in both metrics across benchmarks and DSB settings. For DSB (const.), accuracy decreases from 80.14 to 76.42, and TPS drops from 98.10 to 78.93 on GSM8K. A similar degradation is observed for DSB (greedy) on both benchmarks, indicating that the prefix-window refresh in DSB Cache preserves essential KV states for sliding blocks and is critical for achieving strong quality and throughput with cached DSB inference. Effect of initial block length. Figure 4 reports the accu- racy and throughput of DSB and the naive block schedule under different initial block lengths Sinit. Overall, DSB 16 24 32 40 48 56 64 Block length / Sinit 0 20 40 60 80 100 Accuracy 45 46 47 48 49 50 51 TPS Naive (Acc) DSB (Acc) Naive (TPS) DSB (TPS) Figure 4. Ablation results of block length under parallel decod- ing. We compare DSB and naive block scheduling across different initial block lengths. Bars denote accuracy (left y-axis) and solid lines denote TPS (right y-axis). Results are reported on GSM8K with LLaDA-8B-Instruct. 128 256 512 1024 Generation length 0 20 40 60 80 100 Accuracy 128 256 512 1024 Generation length 0 20 40 60 80 100 20 40 60 80 100 10 20 30 40 50 60 70 TPS Vani (Acc) DSB w/ Cache (Acc) Vani (TPS) DSB w/ Cache (TPS) Figure 5. Ablation results of generation length under parallel decoding. We compare DSB with DSB Cache and the vanilla sam- pler across different generation lengths. Bars denote accuracy (left y-axis) and solid lines denote TPS (right y-axis). Results are re- ported on HumanEval, with the left and right panels corresponding to LLaDA-8B-Instruct and Dream-v0-Instruct-7B, respectively. consistently improves throughput across all tested settings and accuracy in most cases, except at Sinit = 64. As Sinit increases, DSB largely preserves accuracy while its through- put stays within a stable range, typically rising at first and then slightly decreasing. When Sinit is overly aggressive, such as 64, the block reaches farther positions much earlier, weakening causality and slightly degrading performance. In comparison, naive blocks exhibit lower accuracy and increasing TPS as Sinit grows, yet remain below DSB in ef- ficiency. Overall, DSB is more robust to the choice of initial block length and provides a better quality–speed trade-off. Effect of generation length. Figure 5 reports the accuracy and throughput of DSB with DSB Cache under parallel de- coding and the vanilla baseline with different generation lengths L. Across both LLaDA and Dream, DSB substan- tially improves throughput while maintaining or slightly improving accuracy in most cases, except on LLaDA at gen- eration length 1024. As L increases, throughput decreases for both methods due to higher denoising costs. Overall, it preserves a more favorable quality-speed trade-off across a wide range of lengths. Effect of max block length. Figure 6 reports the evalua- 8 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs 32 48 64 80 96 greedy Max length Smax 39 40 41 42 43 Accuracy 32 48 64 80 96 greedy Max length Smax 60 61 62 63 64 122 123 124 125 69 70 71 72 TPS Figure 6. Ablation results of Smax. We vary the maximum block length Smax and report accuracy (blue, left y-axis) and TPS (yellow, right y-axis) on HumanEval. The left and right panels correspond to LLaDA-8B-Instruct and Dream-v0-Instruct- 7B, respectively. 0 4 8 12 16 20 24 28 32 MWL pmin 76 77 78 79 80 81 Accuracy 0 4 8 12 16 20 24 28 32 MWL pmin 73 74 98 99 100 101 102 74 75 76 TPS Figure 7. Ablation results of ℓp min with DSB Cache. We vary the minimum prefix-window length ℓp min and report accuracy (blue, left y-axis) and TPS (yellow, right y-axis) on GSM8K. The left and right panels correspond to LLaDA-8B-Instruct and Dream- v0-Instruct-7B, respectively. The red dashed line marks the default setting (ℓp min = 24 for LLaDA and ℓp min = 4 for Dream). tion under different values of max block length Smax. We observe a clear quality–speed trade-off on LLaDA mod- els. Increasing Smax increases TPS by admitting more parallel updates, but can hurt accuracy due to less reli- able low-confidence commitments. Conversely, Dream ex- hibits a different trend: TPS gradually decreases as Smax increases, while accuracy follows a rise-then-fall pattern, with Smax = 64 serving as a clear turning point. Effect of minimum window length. Figure 7 reports the evaluation under different values of minimum window length ℓpmin. We observe that as the minimum window length ℓpmin increases, the LLaDA setting exhibits an over- all rise-and-fall trend in both accuracy and throughput, with ℓpmin=24 as a clear turning point. In contrast, for Dream, accuracy decreases slightly, and throughput generally de- creases as ℓpmin increases. The default ℓpmin = 24 and ℓpmin = 4 (dashed line) maintains a high generation quality and improved efficiency. 6. Limitations Const. and Greedy are two simple, practical DSB variants that offer clear implementation choices while maintaining robust empirical performance. In fact, as shown in Figure 6, the effect of the maximum block length varies slightly across datasets and even across model architectures. Since this factor has a relatively small impact in both our experiments and theoretical analysis, we believe that the simpler Const. and Greedy settings, which exhibit clearer trends, are more general and practical. While DSB demonstrates superiority in most cases, its per- formance on the Dream model without a KV cache is some- what inconsistent. Nevertheless, under the most widely used setting: inference with a KV cache, DSB still exhibits rela- tively consistent superiority, improving both accuracy and efficiency. 7. Conclusion In this work, we improve the performance of diffusion LLMs in both generation quality and inference speed by de- veloping a stronger semi-autoregressive inference strategy. Specifically, we propose Dynamic Sliding Block (DSB), a training-free block schedule for dLLMs that maintains a moving block with a dynamic size, mitigating the limitations of fixed, predefined block schedules that ignore semantic information. Moreover, we introduce DSB Cache to enable efficient inference over sliding blocks, further amplifying DSB’s practical advantages. Together, DSB and DSB Cache offer a new perspective on block scheduling for dLLMs and raise the achievable quality–speed frontier. Extensive exper- iments across multiple models and benchmarks demonstrate the effectiveness and robustness of our approach. Impact Statement This paper presents work whose goal is to advance the field of machine learning. There are many potential societal consequences of our work, none of which we feel must be specifically highlighted here. References Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., et al. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021. Ben-Hamu, H., Gat, I., Severo, D., Nolte, N., and Karrer, B. Accelerated sampling from masked diffusion models via entropy bounded unmasking, 2025. URL https: //arxiv.org/abs/2505.24857. 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 9 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Zhuang, Y. Llada2.0: Scaling up diffusion language models to 100b, 2025. URL https://arxiv.org/ abs/2512.15745. Blattmann, A., Dockhorn, T., Kulal, S., Mendelevitch, D., Kilian, M., Lorenz, D., Levi, Y., English, Z., Voleti, V., Letts, A., et al. Stable video diffusion: Scaling latent video diffusion models to large datasets. arXiv preprint arXiv:2311.15127, 2023. Chen, M. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. Chen, Z., Fang, G., Ma, X., Yu, R., and Wang, X. dparallel: Learnable parallel decoding for dllms. arXiv preprint arXiv:2509.26488, 2025. Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano, R., et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021. Gao, L., Tow, J., Abbasi, B., Biderman, S., Black, S., DiPofi, A., Foster, C., Golding, L., Hsu, J., Le Noac’h, A., Li, H., McDonell, K., Muennighoff, N., Ociepa, C., Phang, J., Reynolds, L., Schoelkopf, H., Skowron, A., Sutawika, L., Tang, E., Thite, A., Wang, B., Wang, K., and Zou, A. The language model evaluation harness, 07 2024. URL https://zenodo.org/records/12608602. Google DeepMind. Gemini diffusion: Our state- of-the-art, experimental text diffusion model. https://deepmind.google/models/ gemini-diffusion/, 2025. Accessed: 2026- 01-10. Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. Measuring math- ematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874, 2021. Kim, S. H., Hong, S., Jung, H., Park, Y., and Yun, S.-Y. Klass: Kl-guided fast inference in masked diffusion mod- els, 2025. URL https://arxiv.org/abs/2511. 05664. Kong, W., Tian, Q., Zhang, Z., Min, R., Dai, Z., Zhou, J., Xiong, J., Li, X., Wu, B., Zhang, J., et al. Hunyuan- video: A systematic framework for large video generative models. arXiv preprint arXiv:2412.03603, 2024. Labs, I., Khanna, S., Kharbanda, S., Li, S., Varma, H., Wang, E., Birnbaum, S., Luo, Z., Miraoui, Y., Palrecha, A., et al. Mercury: Ultra-fast language models based on diffusion. arXiv preprint arXiv:2506.17298, 2025. Li, J., Dong, X., Zang, Y., Cao, Y., Wang, J., and Lin, D. Beyond fixed: Training-free variable-length denoising for diffusion large language models, 2025. URL https: //arxiv.org/abs/2508.00819. Liu, A., He, M., Zeng, S., Zhang, S., Zhang, L., Wu, C., Jia, W., Liu, Y., Zhou, X., and Zhou, J. Wedlm: Reconciling diffusion language models with standard causal attention for fast inference, 2025a. URL https: //arxiv.org/abs/2512.22737. Liu, Z., Yang, Y., Zhang, Y., Chen, J., Zou, C., Wei, Q., Wang, S., and Zhang, L. dllm-cache: Accelerating diffu- sion large language models with adaptive caching. arXiv preprint arXiv:2506.06295, 2025b. Lu, G., Chen, H. M., Karashima, Y., Wang, Z., Fujiki, D., and Fan, H. Adablock-dllm: Semantic-aware diffusion llm inference via adaptive block size. arXiv preprint arXiv:2509.26432, 2025. Luo, L., Shi, Z., Luo, J., Wang, Z., Ren, S., Wang, W., and Zhang, T. Dawn: Dependency-aware fast inference for diffusion llms, 2026. URL https://arxiv.org/ abs/2602.06953. Ma, X., Yu, R., Fang, G., and Wang, X. dkv-cache: The cache for diffusion language models. arXiv preprint arXiv:2505.15781, 2025. 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. arXiv preprint arXiv:2502.09992, 2025. OpenAI, Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F. L., Almeida, D., Altenschmidt, J., Altman, S., Anadkat, S., Avila, R., Babuschkin, I., Bal- aji, S., Balcom, V., Baltescu, P., Bao, H., Bavarian, M., Belgum, J., Bello, I., Berdine, J., Bernadett-Shapiro, G., Berner, C., Bogdonoff, L., Boiko, O., Boyd, M., Brakman, A.-L., Brockman, G., Brooks, T., Brundage, M., Button, K., Cai, T., Campbell, R., Cann, A., Carey, B., Carlson, C., Carmichael, R., Chan, B., Chang, C., Chantzis, F., Chen, D., Chen, S., Chen, R., Chen, J., Chen, M., Chess, B., Cho, C., Chu, C., Chung, H. W., Cummings, D., Cur- rier, J., Dai, Y., Decareaux, C., Degry, T., Deutsch, N., Deville, D., Dhar, A., Dohan, D., Dowling, S., Dunning, S., Ecoffet, A., Eleti, A., Eloundou, T., Farhi, D., Fedus, L., Felix, N., Fishman, S. P., Forte, J., Fulford, I., Gao, L., Georges, E., Gibson, C., Goel, V., Gogineni, T., Goh, G., Gontijo-Lopes, R., Gordon, J., Grafstein, M., Gray, S., Greene, R., Gross, J., Gu, S. S., Guo, Y., Hallacy, C., Han, J., Harris, J., He, Y., Heaton, M., Heidecke, J., Hesse, C., Hickey, A., Hickey, W., Hoeschele, P., Houghton, B., Hsu, K., Hu, S., Hu, X., Huizinga, J., Jain, S., Jain, S., Jang, J., Jiang, A., Jiang, R., Jin, H., Jin, D., Jomoto, S., Jonn, B., Jun, H., Kaftan, T., Łukasz Kaiser, Kamali, A., Kanitscheider, I., Keskar, N. S., Khan, T., Kilpatrick, L., Kim, J. W., Kim, C., Kim, Y., Kirchner, J. H., Kiros, J., 10 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs Knight, M., Kokotajlo, D., Łukasz Kondraciuk, Kondrich, A., Konstantinidis, A., Kosic, K., Krueger, G., Kuo, V., Lampe, M., Lan, I., Lee, T., Leike, J., Leung, J., Levy, D., Li, C. M., Lim, R., Lin, M., Lin, S., Litwin, M., Lopez, T., Lowe, R., Lue, P., Makanju, A., Malfacini, K., Manning, S., Markov, T., Markovski, Y., Martin, B., Mayer, K., Mayne, A., McGrew, B., McKinney, S. M., McLeavey, C., McMillan, P., McNeil, J., Medina, D., Mehta, A., Menick, J., Metz, L., Mishchenko, A., Mishkin, P., Monaco, V., Morikawa, E., Mossing, D., Mu, T., Murati, M., Murk, O., M´ely, D., Nair, A., Nakano, R., Nayak, R., Neelakantan, A., Ngo, R., Noh, H., Ouyang, L., O’Keefe, C., Pachocki, J., Paino, A., Palermo, J., Pantuliano, A., Parascandolo, G., Parish, J., Parparita, E., Passos, A., Pavlov, M., Peng, A., Perelman, A., de Avila Belbute Peres, F., Petrov, M., de Oliveira Pinto, H. P., Michael, Pokorny, Pokrass, M., Pong, V. H., Powell, T., Power, A., Power, B., Proehl, E., Puri, R., Radford, A., Rae, J., Ramesh, A., Raymond, C., Real, F., Rimbach, K., Ross, C., Rotsted, B., Roussez, H., Ryder, N., Saltarelli, M., Sanders, T., Santurkar, S., Sastry, G., Schmidt, H., Schnurr, D., Schulman, J., Selsam, D., Sheppard, K., Sherbakov, T., Shieh, J., Shoker, S., Shyam, P., Sidor, S., Sigler, E., Simens, M., Sitkin, J., Slama, K., Sohl, I., Sokolowsky, B., Song, Y., Staudacher, N., Such, F. P., Summers, N., Sutskever, I., Tang, J., Tezak, N., Thompson, M. B., Tillet, P., Tootoonchian, A., Tseng, E., Tuggle, P., Turley, N., Tworek, J., Uribe, J. F. C., Vallone, A., Vijayvergiya, A., Voss, C., Wainwright, C., Wang, J. J., Wang, A., Wang, B., Ward, J., Wei, J., Weinmann, C., Welihinda, A., Welinder, P., Weng, J., Weng, L., Wi- ethoff, M., Willner, D., Winter, C., Wolrich, S., Wong, H., Workman, L., Wu, S., Wu, J., Wu, M., Xiao, K., Xu, T., Yoo, S., Yu, K., Yuan, Q., Zaremba, W., Zellers, R., Zhang, C., Zhang, M., Zhao, S., Zheng, T., Zhuang, J., Zhuk, W., and Zoph, B. Gpt-4 technical report, 2024. URL https://arxiv.org/abs/2303.08774. Podell, D., English, Z., Lacey, K., Blattmann, A., Dockhorn, T., M¨uller, J., Penna, J., and Rombach, R. Sdxl: Im- proving latent diffusion models for high-resolution image synthesis. arXiv preprint arXiv:2307.01952, 2023. Qwen, :, Yang, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Li, C., Liu, D., Huang, F., Wei, H., Lin, H., Yang, J., Tu, J., Zhang, J., Yang, J., Yang, J., Zhou, J., Lin, J., Dang, K., Lu, K., Bao, K., Yang, K., Yu, L., Li, M., Xue, M., Zhang, P., Zhu, Q., Men, R., Lin, R., Li, T., Tang, T., Xia, T., Ren, X., Ren, X., Fan, Y., Su, Y., Zhang, Y., Wan, Y., Liu, Y., Cui, Z., Zhang, Z., and Qiu, Z. Qwen2.5 technical report, 2025. URL https: //arxiv.org/abs/2412.15115. Sahoo, S. S., Arriola, M., Schiff, Y., Gokaslan, A., Marro- quin, E., Chiu, J. T., Rush, A., and Kuleshov, V. Simple and effective masked diffusion language models, 2024. URL https://arxiv.org/abs/2406.07524. 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. Song, Y., Zhang, Z., Luo, C., Gao, P., Xia, F., Luo, H., Li, Z., Yang, Y., Yu, H., Qu, X., Fu, Y., Su, J., Zhang, G., Huang, W., Wang, M., Yan, L., Jia, X., Liu, J., Ma, W.- Y., Zhang, Y.-Q., Wu, Y., and Zhou, H. Seed diffusion: A large-scale diffusion language model with high-speed inference, 2025. URL https://arxiv.org/abs/ 2508.02193. Suzgun, M., Scales, N., Sch¨arli, N., Gehrmann, S., Tay, Y., Chung, H. W., Chowdhery, A., Le, Q., Chi, E., Zhou, D., et al. Challenging big-bench tasks and whether chain-of- thought can solve them. In Findings of the Association for Computational Linguistics: ACL 2023, pp. 13003–13051, 2023. Wu, C., Zhang, H., Xue, S., Diao, S., Fu, Y., Liu, Z., Molchanov, P., Luo, P., Han, S., and Xie, E. Fast- dllm v2: Efficient block-diffusion llm, 2025a. URL https://arxiv.org/abs/2509.26328. Wu, C., Zhang, H., Xue, S., Liu, Z., Diao, S., Zhu, L., Luo, P., Han, S., and Xie, E. Fast-dllm: Training-free acceler- ation of diffusion llm by enabling kv cache and parallel decoding, 2025b. URL https://arxiv.org/abs/ 2505.22618. Xie, E., Chen, J., Chen, J., Cai, H., Tang, H., Lin, Y., Zhang, Z., Li, M., Zhu, L., Lu, Y., and Han, S. Sana: Ef- ficient high-resolution image synthesis with linear dif- fusion transformers, 2024. URL https://arxiv. org/abs/2410.10629. Yang, H., Hu, R., Sun, Z., Zhou, R., Cai, Y., and Wang, Y. Wavefrontdiffusion: Dynamic decoding schedule for improved reasoning, 2026. URL https://arxiv. org/abs/2511.19473. Yang, Y., Wang, C., Wang, S., Wen, Z., Qi, B., Xu, H., and Zhang, L. Diffusion llm with native variable generation lengths: Let [eos] lead the way, 2025. URL https: //arxiv.org/abs/2510.24605. Ye, J., Xie, Z., Zheng, L., Gao, J., Wu, Z., Jiang, X., Li, Z., and Kong, L. Dream 7b: Diffusion large language models. arXiv preprint arXiv:2508.15487, 2025. Zhu, F., Wang, R., Nie, S., Zhang, X., Wu, C., Hu, J., Zhou, J., Chen, J., Lin, Y., Wen, J.-R., and Li, C. Llada 1.5: Variance-reduced preference optimiza- tion for large language diffusion models, 2025. URL https://arxiv.org/abs/2505.19223. 11 DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs A. An Empirical Verification of Motivation LLaDA GSM8K LLaDA HumanEval DREAM GSM8K DREAM HumanEval 0 20 40 60 80 100 Fraction of Steps (%) 84.5% 80.2% 98.0% 91.6% 44.3% 45.7% 50.9% 59.0% Late Ratio Premature Ratio Figure 8. An Empirical Verification of Motivation. We col- lect the frequencies of late decoding and premature decoding on GSM8K and HumanEval with LLaDA-8B-Instruct and Dream-v0- Instruct-7B. Our work follows AdaBlock’s (Lu et al., 2025) key observa- tions, and the relevant proofs are already presented in that paper. To further demonstrate the reliability of this moti- vation, we conducted a lightweight verification on LLaDA- 8B-Instruct and DREAM-v0-Instruct-7B, counting the fre- quencies of late steps (delaying easier positions outside the active block) and premature steps (forcing the commit- ment of uncertain positions within the block). As shown in Figure 8, late decoding occurs in over 80% of steps and premature decoding in 44–59% of steps across both models and benchmarks, which fully proves that this phenomenon does exist. Implementation details. We use 50 samples each from GSM8K and HumanEval; other settings are the same as the main experiment. At every denoising step, we compute the confidence of all masked positions and count two events: a late step, where at least one masked position outside the active block already has confidence ≥0.9 but is held back from being committed; and a premature step, where at least one position inside the block is unmasked with confidence < 0.9. Late Ratio = Late Step/Total Step, and the same applies to the premature step. B. Effect of Suffix Window Inspired by the strong performance of the prefix window, we further explore a symmetric design that maintains a suf- fix window after the active block under cached decoding. Unlike the prefix window, which must cover newly exposed positions induced by block sliding, the suffix window simply keeps a fixed-length region immediately following the active block and refreshes the KV states of these suffix positions on-the-fly. This design aims to provide fresher representa- tions for upcoming tokens and potentially improve cached inference with sliding blocks. Figure 9 reports the evaluation under different values of suf- fix window length. We find that, as the suffix window length 0 4 8 12 16 20 24 28 32 SWL 27 28 29 30 31 Accuracy 0 4 8 12 16 20 24 28 32 SWL 21 22 23 24 25 88 89 90 91 92 28 29 30 31 32 33 34 TPS Figure 9. Results of suffix window length (SWL) with DSB Cache. We vary the suffix window length and report accuracy (blue, left y-axis) and TPS (yellow, right y-axis) on HumanEval. The left and right panels correspond to LLaDA-8B-Instruct and LLaDA-1.5, respectively. increases, LLaDA-8B-Instruct shows a clear rise-and-fall pattern in both accuracy and throughput, with moderate win- dow lengths yielding relatively strong performance. How- ever, the suffix window is much less effective on LLaDA- 1.5: while throughput generally increases with larger SWL, accuracy consistently stays below the SWL = 0 baseline, providing no clear quality benefit. Overall, unlike the prefix window, the suffix window does not demonstrate consistent advantages, and we therefore do not adopt this design in our final method. C. Discussion and Future Work Block-masked dLLMs are becoming an increasingly com- mon design choice, as this semi-autoregressive inference paradigm preserves the left-to-right causality of natural lan- guage while still enabling parallel updates within each step. However, the widely used fixed, predefined block schedule is agnostic to semantic difficulty and therefore remains a suboptimal strategy in practice. To better balance causality and parallelism, we propose Dynamic Sliding Block (DSB), and show both theoretically and empirically that it provides a stronger semi-autoregressive scheduling strategy, address- ing the key limitations of naive fixed-block decoding from multiple perspectives. As block-diffusion LLMs based on fixed blocks continue to mature, we hope DSB can serve as a more effective al- ternative that further advances dLLM inference. We also anticipate future work that builds on DSB, including addi- tional inference optimizations and training approaches that incorporate DSB-like schedules during pretraining or post- training to better align model behavior with dynamic block scheduling. 12