Manuscript Offprint

arXiv:2610.35804

Learning When to Commit: Schedule Distillation for Fast Diffusion Language Models

Aidar Myrzakhan, Zhiqiang Shen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Diffusion large language models (dLLMs) can generate multiple tokens in parallel, but often require many decoding rounds to complete a response. Efficient generation depends not only on which tokens are easy to predict, but also on how committing to them helps predict the remaining positions. A highly predictable token may provide little useful context, while revealing a less predictable token can help several other positions become predictable sooner. We propose dSpark, a new schedule distillation-based framework for learning when to commit tokens for faster diffusion language generation. To achieve this, we construct unmasking schedules that prioritize tokens whose reveal makes other positions easier to predict, reducing uncertainty earlier in decoding. We then distill these schedules into the model to enable faster parallel sampling, with a KL-divergence regularizer to help preserve generation quality. We extensively evaluate our approach across mathematical reasoning and code generation tasks. On GSM8K, our method achieves remarkable 10.12×10.12\times and 5.12×5.12\times speedups over the various baselines on LLaDA-8B-Instruct and Dream-7B-Instruct, respectively, while maintaining superior task performance. Our code is available at https://github.com/VILA-Lab/dSpark.

1 INTRODUCTION

Large language models (LLMs) have achieved remarkable capabilities across natural language understanding (Brown et al., 2020; Ouyang et al., 2022; Achiam et al., 2023; Touvron et al., 2023; Grattafiori et al., 2024; Team et al., 2023), and reasoning (Kojima et al., 2022; Jaech et al., 2024; Guo et al., 2025), yet efficient inference remains a fundamental challenge. Most LLMs adopt an autoregressive (AR) paradigm, producing each token conditioned on all previous tokens. This strict left-to-right dependency limits decoding parallelism: generating L tokens typically requires L sequential steps. Diffusion large language models (dLLMs) offer an appealing alternative by generating sequences through iterative denoising. From a partially or fully masked sequence, a dLLM predicts multiple masked positions in parallel and progressively commits them over a series of denoising rounds. Recent models such as LLaDA (Nie et al., 2025) and Dream (Ye et al., 2025) demonstrate that this paradigm can attain strong language modeling, reasoning, and coding capabilities while enabling flexible generation orders and much greater potential for parallel decoding (Ben-Hamu et al., 2025; Wu et al., 2026b; Chen et al., 2026a). However, realizing this potential requires reducing the many iterative model evaluations needed to turn a masked sequence into a complete response.

A central factor governing dLLM inference efficiency is the unmasking schedule: which token positions should be committed at each decoding round and which should remain masked for subsequent refinement. Given the predictive distributions over all masked positions, a decoder may reveal one token, a fixed number of tokens, or a dynamically selected subset in each iteration. Committing more positions increases parallelism and reduces the number of decoding rounds, but overly aggressive commitments may introduce irreversible errors that contaminate the context used to predict other tokens. Conversely, conservative schedules preserve generation quality but sacrifice much of the computational advantage of parallel prediction. Existing decoding strategies therefore commonly rely on prediction confidence, e.g., committing positions whose maximum token probabilities are highest, under the intuition that highly confident predictions are safer to reveal. While effective as a simple heuristic, this strategy treats each masked position largely by its current local predictability and does not explicitly model how revealing it will change the difficulty of subsequent predictions.

We argue that this distinction between predictability and utility is crucial for efficient diffusion language generation. The easiest token to predict is not necessarily the most useful token to commit. Consider two masked positions i and j. Position i may already have an extremely peaked predictive distribution, yet revealing it may add almost no information about the rest of the sequence. In contrast, position j may be moderately less certain but encode a critical semantic, syntactic, or reasoning decision, once j is revealed, the uncertainty of several other positions may decrease substantially. This is particularly important in structured generation tasks such as mathematical reasoning and code synthesis, where intermediate decisions induce strong dependencies among downstream tokens. A schedule based solely on instantaneous confidence may therefore spend early commitments on safe but informationally redundant tokens, leaving influential positions unresolved for many more rounds. The effective decoding problem is thus not simply which tokens can be predicted now, but which tokens should be committed now so that the remaining sequence becomes easier to predict.

Motivated by this observation, we propose dSpark, a novel framework for learning when to commit tokens during diffusion language generation via schedule distillation. Our key idea is to construct informative unmasking schedules according to the downstream effect of each commitment rather than its confidence alone. We evaluate candidate commitments by how much revealing them helps reduce predictive uncertainty over the remaining positions. Tokens whose revelation makes multiple unresolved positions easier to determine are prioritized earlier, allowing useful context to propagate more rapidly. Decoding can thus be viewed as a context-construction process: every committed token not only resolves one position but also modifies the prediction problem of all remaining positions. By accounting for this effect, our schedules favor commitments with high future predictive value, producing trajectories that reduce sequence-level uncertainty faster than conventional confidence-driven schedules. This enables substantially more useful progress within each expensive model evaluation.

Constructing better schedules alone, however, can add computation if sophisticated token selection must be repeated during inference. We therefore further distill the behavior induced by these schedules into the model itself. The constructed schedules provide training trajectories that expose the model to commitment orders in which informative tokens are revealed early and the remaining predictions are progressively simplified. After distillation, the model can exploit these learned dependencies under efficient parallel sampling without expensive search over candidate schedules at every decoding step. Importantly, aggressively optimizing for fast commitment can alter the model's original predictive behavior and degrade generation quality. To mitigate this, we introduce a KL-divergence regularizer that keeps the distilled model close to the original model distribution while learning to operate under accelerated schedules. Schedule distillation thus shifts computation from repeated inference-time schedule optimization into training, yielding a practical mechanism for jointly improving parallelism and preserving the generation capability of the underlying dLLM.

We extensively evaluate dSpark on two representative models, LLaDA-8B-Instruct and Dream-7B-Instruct, across mathematical reasoning and code generation benchmarks. The results demonstrate that learning when to commit is a powerful yet underexplored dimension for accelerating dLLMs. On GSM8K, our approach achieves 10.12×10.12\times and 5.12×5.12\times speedups over the baselines for LLaDA and Dream, respectively, while maintaining superior task performance. This shows that generation efficiency depends not merely on how many tokens are predicted in parallel, but on how effectively each commitment restructures the prediction problem for later rounds. Our main contributions are:

• We identify a key limitation of existing diffusion language model decoding strategies: token confidence alone does not capture the downstream utility of a commitment. We show that revealing a less predictable but more informative token can reduce uncertainty over multiple remaining positions and lead to faster overall decoding.

• We propose schedule distillation, a new strategy that constructs unmasking schedules by prioritizing tokens according to how much their commitment simplifies future predictions. We further distill these informative schedules into the model, enabling efficient parallel decoding without requiring expensive schedule optimization at inference time.

• We extensively validate our method across mathematical reasoning and code generation tasks on multiple dLLMs. On GSM8K, it achieves up to 10.12×10.12\times speedup on LLaDA-8B-Instruct and 5.12×5.12\times on Dream-7B-Instruct while maintaining strong generation quality.

References (45)