Manuscript Offprint

arXiv:2611.18645

Domino: Joint Unmasking via First-order Markov Chain for Few-Step Masked Diffusion

Mansoor Ahmed, Lilia Chebbah, Jenny Dinh, Murray Patterson, Hemanth Venkateswara

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Masked diffusion models generate a sequence by revealing masked positions over many denoising steps. A few-step sampler has to reveal many positions at once, but the standard reverse kernel draws them independently and primarily ignores the conditional dependence between tokens revealed in the same step. We propose a novel framework called Domino, which models this dependence with a first-order Markov chain over the revealed positions, given the current state. The first revealed position keeps the posterior of a pre-trained masked diffusion model (MDM), and each subsequent position follows a transition given the token of its predecessor. Notably, the resulting step is normalized by construction, contains the factorized step in MDMs as a special case, and has a likelihood in closed form. We implement the Domino transitions via a lightweight module on the hidden states of a pre-trained MDM denoiser with only 2.6%\% parameter overhead and train by keeping the MDM denoiser frozen. Our extensive evaluations across text, molecules, and images show that Domino lowers the few-step generative perplexity of MDMs by a factor of 1.7 to 3.8 on One Billion Word (LM1B), WikiText-103, and OpenWebText at nearly unchanged sample entropy. It also raises the validity of few-step molecule samples by 1.5×\times. The source code is available at: https://github.com/mansoor181/domino.git

1 Introduction

Figure

Figure 1: Few-step generation at four function evaluations. Domino achieves lower generative perplexity compared to the pre-trained masked diffusion models (MDMs) and TTD on WikiText-103, LM1B, and OWT datasets.

Discrete diffusion and flow models have emerged as a strong alternative to autoregressive models for generating sequences of discrete tokens, such as text and molecules (Austin et al., 2021; Lou et al., 2023; Campbell et al., 2024; Gat et al., 2024). Their key promise is parallel generation, which simultaneously produces many tokens per network evaluation. Masked diffusion models (MDM) are the most common instance in which the forward process replaces tokens with an absorbing mask symbol (Sahoo et al., 2024; Shi et al., 2024; Ou et al., 2025), and have recently scaled to large language models with competitive quality (Nie et al., 2026).

\bm{z}_{1}$$\cdots$$\bm{z}_{t}$$\bm{z}_{s}$$\cdots$$\bm{z}_{0}one large stepall maskeddata(a) Masked diffusion: independent draws\bm{z}_{t}$$x$$x$$xTwodogbarks✗(b) Domino: a Markov chain of draws\bm{z}_{t}$$x$$x$$x$$\psi$$\psiTwodogsbark✓

Figure 2: A Markov chain within a denoising step. One large step from zt\bm{z}_{t} to zs\bm{z}_{s} reveals three positions, which are present in the data as A dog barks or Two dogs bark. (a) Masked diffusion models (MDM) draw the tokens independently given zt\bm{z}_{t} and can mix the two sentences. (b) Domino draws the tokens along a Markov chain through a pairwise potential ψ\psi, given zt\bm{z}_{t} and its predecessor, and produces coherent sequences.

However, the sample quality degrades sharply in practice when a model generates sequences in only a few steps (Deschenaux and Gulcehre, 2025; Hayakawa et al., 2024; Sahoo et al., 2025a). This happens because of the form of the reverse step, where a few-step sampler must reveal many tokens in a denoising step. Given the current state zt\bm{z}_{t}, an MDM draws the tokens of the masked positions SS from the posterior Pi(⋅∣zt)P_{i}(\cdot\mid\bm{z}_{t}) for each position ii independently, p(x∣zt,S)  =  ∏i∈SPi(x∣zt).p(\bm{x}\mid\bm{z}_{t},S)\;=\;\prod_{i\in S}P_{i}(x\mid\bm{z}_{t}). We call this reverse kernel the product kernel. However, the tokens revealed in the same step are rarely independent in the data. For instance, a subject and its verb should be coherent, and an opening bracket needs a closing bracket. The product kernel ignores such dependence and can combine tokens that do not fit together, as shown in Figure (a). The smallest error is thus the total correlation (TC) of the step (Csiszár, 1975; Watanabe, 1960; Zhang et al., 2026), which grows with the number of positions revealed at once. The error is therefore largest in the few-step regime, affecting faster parallel generation.

A joint distribution over the revealed tokens is therefore needed to remove this error. However, the full joint over nn positions has VV entries for a vocabulary of size VV and cannot be represented explicitly. To mitigate this, four broad lines of work have been proposed. They either couple the positions of a step through a shared latent variable, learned by distillation from a teacher (Hayakawa et al., 2024) or under a variational bound (Zhang et al., 2025), or capture the dependence from a second model at inference, such as an autoregressive copula (Liu et al., 2025) or an energy model (Xu et al., 2025). Other methods reintroduce autoregressive generation across blocks (Arriola et al., 2025) or across positions in a flexible order (Sahoo et al., 2025b; Du et al., 2026; Arriola and Kuleshov, 2026), at the cost of additional sequential passes. Unmasking approaches instead reveal together only positions that are close to independent, which limits the number of positions per step (Kim et al., 2025; Peng et al., 2025; Luxembourg et al., 2025; Ben-Hamu et al., 2026; Azangulov et al., 2026). Closest to our work is tensor-train decomposition (TTD; Kim and Sung, 2026) that represents the joint of the masked positions as a low-rank tensor and fine-tunes a pre-trained model.

We build on two main observations. First, a pre-trained MDM already captures much of the dependence between the revealed tokens, since it predicts a token well once the related tokens are revealed. However, its product kernel cannot use this knowledge within a single step. Second, this dependence is largely local and of low order, and a few interactions between nearby positions are likely to recover most of it. To the best of our knowledge, the existing work has not explored a cheap way to pass the information between the tokens of one step inside the pre-trained MDM by exploiting its learned marginals. This motivates our central question:

Can we restore the dependence between the tokens revealed in one step of a pre-trained MDM, without retraining the model and at the sampling cost of a factorized step?

In this work, we propose a novel framework called Domino that draws the unmasked tokens in a step along a first-order Markov chain over their positions, given the current state (Figure (b)). The first revealed position keeps the posterior of the pre-trained denoiser, and each subsequent position follows a transition given the token of its predecessor. A lightweight module computes these transitions from the hidden states of the pre-trained MDM denoiser. The product kernel is thus the special case in which the transitions are independent of the predecessor, and each step remains a normalized distribution with a likelihood in closed form. Our main contributions are as follows:

  • Novel framework for joint unmasking in MDMs via a Markov chain. We model the tokens revealed in a denoising step as a first-order Markov chain over their positions. The resulting step is normalized with a likelihood in closed form and the product kernel of MDMs as a special case.
  • A lightweight Domino module on a frozen denoiser. We compute the transitions of the Markov chain from the hidden states of a pre-trained MDM with a lightweight module. Domino is trained without fine-tuning the denoiser, needs one denoiser pass per step with a parameter overhead of only about 2.6%\%, and can be integrated into distilled and from-scratch MDMs.
  • Analysis of the few-step error. We show that Domino is trained on a bound on the likelihood of the few-step sampler, and that the chain removes the information shared by consecutive revealed positions from the error of each step.

Our extensive experiments on text, molecules, and images show that Domino significantly improves the few-step generation of pre-trained MDMs. At four steps, it lowers the generative perplexity of the masked diffusion language model (MDLM; Sahoo et al., 2024) by a factor of 1.7 to 3.8 on three text corpora, with significant improvements compared to TTD (Figure ).

References (50)