cond-mat.stat-mechNov 5, 2026

Masked diffusion as random sequential adsorption: an exactly solvable model for parallel decoding

Authors: Adrian Baule

Organizations: School of Mathematical Sciences, Queen Mary University of London, London E1 4NS, UK

Abstract

Masked diffusion models generate text by reversing a stochastic masking process. Unlike autoregressive LLMs, which generate text one token at a time, they can reveal many tokens in parallel, at the price of an error, since tokens revealed together are drawn independently. We show that this trade-off maps onto the statistical physics of driven many-particle systems. (i) For any data, the error of parallel generation is the entropy production of the generation process relative to the reversed masking process. (ii) For Markov data, generation is a random sequential adsorption process with labelled gaps, which we solve exactly for any number of steps. (iii) For many steps, the error becomes the dissipation of a slowly driven system: the unmasking schedule plays the role of the driving protocol, the number of steps that of its duration, and the error is set by a thermodynamic metric that we obtain in closed form from the mutual information between tokens. Optimal schedules are geodesics of this metric. The exact solution shows how correlations in the text shape both the error and the quality of the output. The longer the correlations, the more the error concentrates at the start of generation. Schedules that start with small steps then gain more, both in path error and in perplexity, and need fewer steps to reach their asymptotic behaviour.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Edit-Based Refinement for Parallel Masked Diffusion Language Models

    May 10, 2026Houxing Ren, Mingjie Zhan, Zimu Lu +5Masked Diffusion ModelsParallel Decoding

  2. NAVIRA: Decoupled Stochastic Remasking for Masked Diffusion Language Models

    Jun 4, 2026Andrey Fomenko, Maksim Kryzhanovskiy, Svetlana Glazyrina +1Non-Autoregressive Text GenerationMasked Diffusion Models

  3. Reliable Parallel Decoding in Masked Diffusion Language Models

    Sep 29, 2026Zhenghao He, Bohan Liu, Guangzhi Xiong +1Masked Diffusion ModelsDiffusion Language Model Decoding