On the Error Correcting Effects of Stochasticity in Discrete Diffusion

William Yuan, Sungwon Jeong, Amirali AghazadehNeurIPS 2026

TL;DR

When generating images or text with discrete diffusion models, taking deterministic shortcuts speeds things up, whereas adding randomness slows things down—yet mysteriously produces much better results. This paper proves mathematically why randomness acts as an error-correcting mechanism, showing how "redundant" state transitions wash away a neural network's mistakes. Armed with this insight, the authors design a training-free sampling strategy that mixes fast deterministic steps with strategic bursts of noise, slashing generation steps by up to $10\times$ on image benchmarks.

What Problem Does This Paper Address?

Discrete diffusion models generate data—like tokens in a sentence or quantized pixels in an image—by starting with pure noise (or completely masked sequences) and iteratively refining them via a Markov chain. Their biggest bottleneck is inference speed: high quality usually requires hundreds of neural network evaluations.

Practitioners have long noticed a puzzling tradeoff. If you strip away randomness to make the generation trajectory nearly deterministic, the model converges rapidly, unless the neural network makes slight estimation mistakes—in which case those errors snowball. Conversely, keeping the transitions highly stochastic slows convergence to a crawl, yet somehow yields superior final quality. Until now, our understanding of this was mostly heuristic folklore (e.g., "masking is irreversible, while uniform noise lets tokens change their minds"). The authors set out to rigorously explain how stochasticity governs error propagation, and how to exploit it without paying the full speed penalty.

Methods

In standard discrete diffusion, a technique called Discrete Probability Flow (DPF) accelerates sampling by stripping out redundant transitions—symmetric, back-and-forth probability swaps between states that cancel out and don't change overall marginal distributions. While DPF makes sampling fast and nearly deterministic, the authors use information-theoretic tools (specifically, KL divergence contraction coefficients) to prove that those discarded redundant transitions are actually what contract accumulated model errors.

To get the best of both worlds, they introduce Discrete Churn and Restart Sampling (DCRS), a training-free inference algorithm that pairs fast DPF steps (enhanced locally with higher-order trapezoidal solvers) with two strategic injections of forward-process noise:

Comparison of standard stochastic sampling, deterministic DPF, and the proposed DCRS trajectory.
  • Restarting (Global Correction): After running fast deterministic reverse steps down to a set point ($t_{\min}$), the sampler jumps backward toward noise ($t_{\max}$) using the forward corruption process. Because the forward process has a closed-form mathematical formula, injecting this error-washing stochasticity requires zero extra neural network evaluations.
  • Churning (Local Correction): Inside that restart window, before taking a deterministic reverse step, the sampler nudges the state slightly forward in time into noise, then takes a slightly larger reverse step to compensate—preventing errors from piling up locally.

Datasets

No new benchmarks were introduced; instead, the authors tested their theory across controlled synthetic setups and established large-scale benchmarks:

  • Synthetic Benchmarks: A 1D Markov chain (15 states) with exact analytical scores to isolate discretization vs. model errors, and an 8-mode 2D Mixture of Gaussians projected into 8D (quantized into 128-bit sequences).
  • Images: CIFAR10 and CelebA, using pretrained discrete diffusion models with discretized Gaussian corruption.
  • Language: LM1B (evaluated with Uniform Diffusion Language Models, UDLM) and OpenWebText (evaluated with Masked Diffusion Language Models, MDLM).

Key Insights and Ideas

  • Stochasticity fights model error, but worsens discretization error: When taking very few steps (low NFE, or Number of Function Evaluations), high randomness causes too many state jumps per step, ruining accuracy. When taking many steps (high NFE), step-size errors vanish, and randomness shines by mixing probability mass across states—shrinking the KL divergence between the flawed generated distribution and the true data distribution.
  • Not all noise is created equal: Uniform diffusion (where tokens flip to random words/pixels) provably contracts errors much faster than masking diffusion (where tokens turn into [MASK]), which hits the theoretical worst-case contraction rate.
  • Why text behaves differently than images: Adding single-token stochasticity barely helps text models. Why? Because language generation suffers heavily from parallel decoding errors (updating multiple interdependent words simultaneously without knowing how they affect each other), which independent per-token noise cannot fix. Furthermore, previously reported self-correction in masked language models (like ReMDM) largely vanishes if you turn off nucleus sampling or temperature scaling—tricks that artificially sharpen distributions and push the system into a regime where contraction is weak unless forced back to earlier, higher-entropy states.

Key Results

  • Image Generation: On CIFAR10 and CelebA, DCRS dramatically improves the speed-quality Pareto frontier in the low-step regime (20–30 NFE), achieving up to a $10\times$ reduction in sampling steps compared to standard $\tau$-leaping while maintaining competitive Fréchet Inception Distance (FID) scores. On CelebA, DCRS matches the peak quality of $\tau$-leaping using a fraction of the compute.
Figure 1: Stochasticity induces error correction in discrete diffusion, enabling an improved speed-quality tradeoff. (a) Near-deterministic transitions (orange) obtained by removing redundant transitions from the stochastic kernel (blue), resulting in faster but less error-corrective dynamics. (b) Sampling with fully stochastic transitions, where redundant transitions redistribute probability mass between states and help correct accumulated errors. (c) Discrete Probability Flow (DPF), which removes redundant transitions to produce nearly deterministic updates that accelerate convergence but are more sensitive to model errors. (d) Our proposed Discrete Churn and Restart Sampling (DCRS), which alternates between near-deterministic reverse updates and injected forward-process noise. Restarting introduces stochasticity using the forward process without additional neural network evaluations, while churning provides local corrections. (e) Empirical results on CIFAR10 and CelebA illustrating the speed-quality tradeoff: DCRS achieves improved sample quality in the low number of function evaluations (NFE) regime.
  • Synthetic Validation: On the 128-bit Mixture of Gaussians, deterministic DPF generates samples near the modes in just ~8 steps, but plateaus due to accumulated errors. DCRS rescues sample quality, achieving the lowest Wasserstein-1 distance across low-to-mid NFE budgets.
  • Language Generation: On OpenWebText (5,000 sequences of length 1,024) without nucleus sampling, adding stochasticity via ReMDM actually degraded generative perplexity compared to standard MDLM (e.g., 175.02 vs. 105.07 at $T=1024$), confirming the nuanced interplay between sampling biases and contraction.

Limitations and Future Work

DCRS is not quite plug-and-play: it introduces hyperparameters—the restart window $[t_{\min}, t_{\max}]$, restart count $K$, and churning factor $\gamma$—that require tuning, and intuitions from continuous diffusion samplers don't transfer cleanly to discrete spaces. For future work, the authors suggest developing adaptive methods that automatically tune the stochasticity schedule on the fly, alongside deeper information-theoretic analyses to derive optimal sampling rates—and, for text, mechanisms that coordinate transitions across sequence dimensions to fix parallel decoding errors.

Summary updated

Abstract

Discrete diffusion models achieve strong performance in text and image generation, but their inference remains slow and must inherently balance sampling efficiency and sample quality. In this work, we present a systematic study of how the \emph{degree of stochasticity} in Markov transitions governs the sampling tradeoff. We show that highly deterministic transitions converge rapidly but suffer from error accumulation, while more stochastic transitions converge more slowly yet can achieve higher final sample quality. Using an information-theoretic analysis, we identify the underlying mechanism as an error-correcting effect induced by \emph{redundant transitions} that symmetrically exchange mass between states, and show that these transitions can provably contract sampling errors. To demonstrate the practical implications of our theoretical findings, we propose \emph{Discrete Churn and Restart Sampling} (DCRS), a sampling procedure that injects controlled stochasticity by alternating between forward and reverse diffusion processes. Experiments on synthetic datasets and large-scale benchmarks show that DCRS improves the speed-quality tradeoff in the low number of function evaluations regime. On image datasets, DCRS achieves up to a $10\times$ reduction in sampling steps compared to standard samplers while maintaining competitive sample quality, whereas on language benchmarks, we observe more nuanced behavior depending on the corruption process and sampling procedure.
BibTeX
@inproceedings{yuan2026error,
  author = {William Yuan and Sungwon Jeong and Amirali Aghazadeh},
  title = {{On the Error Correcting Effects of Stochasticity in Discrete Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BTRvd3ITHB},
}
Figure