arXiv:2611.08362cs.CLNov 2026

Manuscript Offprint

arXiv:2611.08362

SpecCTMC: Exact Speculative Simulation of Diffusion Language Model Continuous-Time Markov Chains

Siva Rajesh Kasa, Yasong Dai, Sumit Negi, Hongdong Li

ABSTRACT

Masked diffusion language models offer parallel text generation, but independently sampling multiple tokens can disrupt their dependencies and change the output distribution. Exact continuous-time sampling avoids this approximation, yet typically requires one sequential model evaluation per token. We introduce SpecCTMC, a training-free speculative sampler that reduces this sequential bottleneck without a separate draft model. SpecCTMC proposes successive token updates using previously computed model predictions, evaluates their intermediate states in parallel, and applies an exact acceptance-and-correction procedure. We prove that SpecCTMC preserves the joint distribution of event times, generation order, and token values of the underlying continuous-time Markov chain. It therefore introduces neither time-discretization error nor additional factorization error from parallel decoding. Experiments on LLaDA-8B-Instruct and Dream-v0-Instruct-7B across five benchmarks demonstrate 1.73–4.38× fewer sequential model evaluations than direct continuous-time sampling, while preserving the reference sampling distribution. Our code is available at: https://github.com/kasakh/specctmc

1 INTRODUCTION

Masked diffusion language models (MDLMs) generate text by iteratively unmasking tokens in a partially masked sequence, allowing generation beyond a fixed left-to-right order (Sahoo et al., 2024; Shi et al., 2024; Nie et al., 2025; Ye et al., 2025). This flexibility offers opportunities for parallel inference, but realizing them without compromising generation quality remains challenging. In the continuous-time formulation, the reverse process is a continuous-time Markov chain (CTMC) that unmasks one token at each event (Campbell et al., 2022). Direct simulation therefore requires a sequence of model evaluations, with each update depending on previously unmasked tokens. Reducing this sequential cost is central to making exact sampling of diffusion language models practical.

Existing approaches reduce inference cost through numerical approximation, decoding heuristics, and computation reuse. Numerical samplers such as τ\tau-leaping approximate multiple transitions within a time interval, while higher-order methods, including the θ\theta-trapezoidal solver, improve the accuracy of this approximation (Campbell et al., 2022; Lou et al., 2024; Ren et al., 2025). Practical decoders also use

greedy token selection and confidence-based unmasking orders to generate high-quality text with fewer denoising steps (Nie et al., 2025; Ye et al., 2025). Fast-dLLM combines confidence-guided parallel decoding with approximate KV caching (Wu et al., 2026), and Fast-dLLM++ uses the full token-confidence profile to select larger groups of tokens for simultaneous commitment (Kasa et al., 2026).

A central challenge in MDLMs is that tokens predicted from the same partially masked sequence are often not conditionally independent. Unmasking one token can change the distribution of another, so sampling several positions independently can result in a different distribution from updating them sequentially. This factorization error underlies the curse of parallel decoding discussed in previous works like Wu et al. (2026); Kasa et al. (2026). Separately, the denoiser's conditional predictions across different masking contexts need not be compatible with a single joint distribution (Young et al., 2024; Torroba Hennigen & Kim, 2023).

The choice of decoding policy also matters when generation is used to explore multiple candidate answers. Greedy decoding can be effective for producing a single answer, but a fully deterministic decoder cannot explore alternative solutions through repeated runs. Even with stochastic token sampling, confidence-based unmasking orders can restrict diversity and limit improvements from additional samples (Olausson et al., 2026). For reasoning and code generation, this motivates evaluating solution coverage across multiple attempts alongside single-sample accuracy, and accelerating stochastic

*Equal contribution †For Siva Rajesh Kasa and Sumit Negi, this work does not relate to their positions at Amazon. †School of Computing, Australian National University. Correspondence to: Siva Rajesh Kasa kasa@u.nus.edu, Yasong Dai yasong.dai@anu.edu.au.

Figure

Figure 1. Sampling a masked diffusion LLM as a CTMC. (a) Direct event simulation is exact but requires one sequential target model evaluation per unmasking event. (b) Speculative dLLM decoders verify drafts against a finite-step greedy decoder, with restricted lossless guarantees. (c) SPECCTMC preserves the exact random event clock and the distribution of joint marks. The diagram's N/KN/K label is the full-acceptance ideal when all drafted states fit in one target-model call; generally, one speculative round commits up to KK events.

generation while preserving its sampling distribution.

Exact event-driven simulation provides a principled reference for this goal. Gillespie's stochastic simulation algorithm samples individual transitions at random event times (Gillespie, 1977), and sequential first-hitting sampling applies this principle to absorbing-mask diffusion (Zheng et al., 2025). After each position is unmasked, the model conditions the next update on the resulting sequence. This introduces neither time-discretization error nor the additional factorization error caused by committing independent token updates together. Its computational cost, however, remains dominated by sequential model evaluations.

To address these key bottlenecks, we introduce SPECCTMC, a training-free speculative sampler that reduces this sequential evaluations without the need for a separate draft model. Our approach builds on distribution-preserving speculative sampling for autoregressive (AR) language models (Leviathan et al., 2023; Chen et al., 2023) and its extension to continuous diffusion models (Bortoli et al., 2025). Speculative methods have also been developed for finite-step diffusion language model decoders (Agrawal et al., 2026; Pan et al., 2026). Here, we instead target the underlying absorbing-mask CTMC, including its random event times and the joint

selection of token positions and values.

As shown in Figure 1, the key observation is that, for the absorbing-mask generators considered here, event times depend on diffusion time and the number of remaining masks, independently of the identities of unmasked tokens. These times can therefore be sampled in advance and preserved when a proposed token update is rejected and corrected. SPECCTMC reuses previously computed model predictions to propose successive updates, evaluates their intermediate sequences in parallel, and applies an exact acceptance-and-correction procedure. We prove that the resulting trajectory has the same joint distribution of event times, token positions, and token values as direct simulation.

Experiments on LLaDA-8B-Instruct and Dream-v0-Instruct-7B across five benchmarks show that SPECCTMC uses 1.73-4.38× fewer sequential target-model evaluations than direct simulation, with measured wall-clock speedups of up to 2.88× on an NVIDIA B200. On GSM8K, multiple stochastic attempts solve questions missed by deterministic greedy denoising, and SPECCTMC reduces their cumulative sequential-evaluation cost relative to DirectCTMC. As shown in Figure 2, by reducing the number of sequential evaluations, SPECCTMC addresses a cost complementary to optimizations that make each evaluation cheaper. In particular, cached or otherwise approximate predictions can be used for drafting while exact target verification preserves the CTMC sampling distribution.

Our contributions are:

  • We develop a training-free speculative sampler without a separate draft model for absorbing-mask diffusion that verifies multiple successive token updates through parallel model evaluation.

  • We prove preservation of the complete CTMC trajectory distribution under the exactness conditions and, for an adaptive-depth variant under bounded unmasking influence, derive explicit bounds on sequential target batches and expected target work.

  • We evaluate SPECCTMC across reasoning, coding, and instruction-following benchmarks, demonstrating reductions in sequential model evaluations, practical latency gains, and the benefits of stochastic generation for multiple-answer coverage.

References (100)

Couldn't load all references. Reload the page to try again.