Breaking AR’s Sampling Bottleneck: Provable Acceleration via Diffusion Language Models

Gen Li, Changxiao Cai

Abstract

Diffusion models have emerged as a powerful paradigm for modern generative modeling, demonstrating strong potential for large language models (LLMs). Unlike conventional autoregressive (AR) models that generate tokens sequentially, diffusion models allow for parallel sampling, offering a promising path to accelerate generation and eliminate left-to-right constraints. This work develops convergence guarantees for diffusion language models from an information-theoretic perspective. Our analysis demonstrates that the sampling error, measured by the Kullback-Leibler (KL) divergence, decays inversely with the number of iterations $T$ and scales linearly with the mutual information between tokens in the target text sequence. Crucially, our theory covers the regime $T < L$, providing the first theoretical justification for the acceleration achieved by parallel sampling.

Introduction

The current landscape of Large Language Models (LLMs) is dominated by the autoregressive (AR) paradigm. While highly effective, AR models suffer from a fundamental "sampling bottleneck": they generate text one token at a time, from left to right. For a sequence of length $L$, an AR model requires exactly $L$ sequential passes through the network. This linear dependency on sequence length limits inference speed and prevents the model from incorporating future context during the generation of early tokens.

Discrete diffusion models—specifically masked diffusion models—offer a compelling alternative. By starting with a fully masked sequence and iteratively unmasking multiple tokens in parallel, these models can theoretically generate text in $T$ steps, where $T \ll L$. However, while empirical results have been promising, the theoretical foundation for this acceleration has remained elusive. Previous analyses only guaranteed convergence when the number of steps was comparable to or greater than the sequence length, effectively failing to explain the parallel speedup observed in practice.

Information-Theoretic Analysis of Parallel Sampling

To bridge this gap, we employ an information-theoretic framework to analyze the sampling phase of masked diffusion models. Our approach focuses on the Kullback-Leibler (KL) divergence between the distribution of the generated sequence and the true data distribution.

Methodology

We decouple the problem by assuming access to a pre-trained mask predictor with a bounded training error ($\varepsilon_{\text{train}}$). This allows us to isolate the error introduced specifically by the iterative sampling process. By parameterizing the difficulty of sampling based on the "maximum mask size"—the number of tokens unmasked in a single step—we establish a recursive inequality. Using the chain rule of mutual information, we bound the error accumulated across the $T$ steps of the reverse diffusion process. This analysis is flexible enough to cover arbitrary mask size schedules, including the highly parallel regimes used in practical applications.

Key Theoretical Insights

Our analysis yields several critical insights into the nature of parallel text generation:

  1. The Mutual Information Bottleneck: We prove that the difficulty of parallel generation is intrinsically tied to the statistical dependencies within the target sequence. Specifically, the sampling error scales linearly with the sum of the mutual information between each token and the rest of the sequence: $\sum_{i=1}^L I(X^{(i)}; X^{(-i)})$. This suggests that highly interdependent text is mathematically more challenging to sample in parallel.
  2. Provable Acceleration: We provide a formal justification for the speedup of diffusion models. We show that the sampling error decays at a rate of $O(1/T)$. This means that high-quality samples can be generated in $T$ steps even when $T < L$, allowing for a principled trade-off between computational cost and generation quality.
  3. Tightness of the Bound: The $O(1/T)$ convergence rate is not merely an upper bound. We construct a matching lower bound, demonstrating that for certain mask schedules, the error is at least $\Omega(1/T) \sum_{i=1}^L I(X^{(i)}; X^{(-i)}) + \varepsilon_{\text{train}}$. This confirms that our theoretical results are tight up to constant factors.
  4. Improved Token Error Rate (TER): When translated to the Token Error Rate, our bounds show an error decay of $O(\log |\mathcal{X}| / T)$ for arbitrary distributions. This is a significant improvement over prior work, which often relied on restrictive $n$-gram assumptions and suffered from exponential degradation as $n$ increased.

Empirical Validation

To verify these theoretical scaling laws, we conducted experiments using a synthetic dataset: a $K$-state Potts chain of length $L=100$. This setup allows for the explicit computation of exact mutual information and KL divergence. Through Monte Carlo simulations, we observed that a log-log plot of sampling error versus the number of iterations $T$ yields a slope of exactly $-1$. This perfectly aligns with our predicted $O(1/T)$ theoretical decay rate, providing strong empirical support for our framework.

Practical Implications: Entropy-Based Unmasking

Beyond theoretical interest, our mathematical breakdown suggests a practical heuristic for improving diffusion models: an entropy-based unmasking strategy. To minimize the error accumulated at each step, the model should prioritize unmasking tokens that have the lowest conditional entropy—essentially, the tokens the model is most "certain" about given the current context. This aligns with the intuition that resolving easy dependencies first provides better context for resolving more complex ones later.

Conclusion and Future Work

This work provides the first rigorous proof that masked diffusion models can achieve high-quality text generation in fewer steps than the sequence length. By identifying mutual information as the fundamental bottleneck, we offer a new lens through which to understand and optimize parallel generative models.

While our results are robust, limitations remain. The current lower bound does not apply to every possible mask schedule, and our analysis treats the training error as a static constant. Future research will focus on developing end-to-end guarantees that unify training and sampling dynamics, as well as extending these insights to a broader range of discrete diffusion architectures.

Summary updated

BibTeX
@inproceedings{li2025breaking,
  author = {Gen Li and Changxiao Cai},
  title = {{Breaking AR’s Sampling Bottleneck: Provable Acceleration via Diffusion Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=to1VYVar9W},
}
Figure