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

Siva Rajesh Kasa, Yasong Dai, Sumit Negi, Hongdong Li
11/5/2026
cs.CL
diffusion-flow

Official code: kasakh/specctmc (0 stars, Python, Apache-2.0, last commit 2026-11-03).

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.

Show full abstract

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.38x 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

View on arXivView PDF

Code Implementations(1)

kasakh/specctmcOfficial100%
Apache-2.0

Exact speculative simulation for masked diffusion continuous-time Markov chains

00PythonNov 3, 20264 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{kasa2026specctmc,
  title  = {SpecCTMC: Exact Speculative Simulation of Diffusion Language Model Continuous-Time Markov Chains},
  author = {Siva Rajesh Kasa and Yasong Dai and Sumit Negi and Hongdong Li},
  year   = {2026},
  eprint = {2611.08362},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.08362v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.08362.svg)](https://codeofpaper.com/paper/2611.08362)

Discussion