End-to-End Guarantees for Masked Diffusion Models under Conditional Mixing
Organizations: Massachusetts Institute of Technology
Abstract
Masked diffusion models train a denoiser on masked cross-entropy and generate by unmasking many positions in parallel. Existing MDM sampling bounds assume an exact denoiser or leave its error uncontrolled while training bounds cover only the masking distribution on which the model was trained. We present an end-to-end guarantee for a learned denoiser under conditional mixing (CM): stationary sources (e.g. floored order- Markov and two-sided-Doeblin hidden-Markov sources) for which revealing distant visible tokens moves a masked token's posterior on average exponentially little in the distance with correlation length . We show the empirical risk minimizer trained under any masking distribution attains per-token excess on that distribution from training sequences, independent of sequence length -- one sample budget serves every decoding schedule when each schedule's denoiser is trained under its own weighting. We further show that the exponent's order is minimax-optimal up to constants; more efficient rates require added structure. With this, we bound the end-to-end KL as under a dilated schedule of denoising steps versus steps for a fixed random order on an explicit CM source. Finally, we show that block-autoregressive samplers chain across blocks with no added error and that a -looped order- message-passing class on order- sources achieves polynomial sample complexity, with approximation error improving per loop until saturation at . Experiments on released and retrained models support our results' qualitative predictions.
Figures & tables
| Prediction | Result |
|---|---|
| Influence on MDLM’s conditionals | |
| mean influence decays exponentially ( Assumption 1 ) | exp. fit vs. power law |
| worst-case influence stays large ( Assumption 2 ) | th pct. at |
| dilated factorization term by | yes; random order at |
| Block size on a synthetic source ( Corollary 3 ) | |
| held-out excess small at every | nats |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| dilated finetune | uniform control | looped model | block models | |
|---|---|---|---|---|
| Initialization | released MDLM | released MDLM | scratch, seed | scratch, seed , shared across |
| Data | OWT train, seed | same windows as finetune | OWT train | synthetic, seqs |
| Context | ||||
| Tokens / steps | B / | B / | B / | plateau rule, – steps |
| Batch (sequences) | ||||
| Optimizer | AdamW | AdamW | AdamW | AdamW |
| , mean decay exponential fit | |
| , mean decay power-law fit | |
| on the tail window; interval for | ; |
| local decay scale over the first distances | |
| th percentile of at / | / |
| , dilated: point/upper interval edge (per summand) | / |
| , random order (per summand) |
| released, dilated | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| released, random | |||||||||||
| dilated finetune, dilated | |||||||||||
| dilated finetune, random | |||||||||||
| uniform control, dilated | |||||||||||
| uniform control, random |
| dilated | random | confidence | ||||
|---|---|---|---|---|---|---|
| NLL | MAUVE | NLL | MAUVE | NLL | MAUVE | |
| checkpoint | (all counts) | ( ) | loss minimum at |
|---|---|---|---|
| B | |||
| B | |||
| B |
Masked Diffusion Models
Masked diffusion models generate sequences by repeatedly predicting and revising masked tokens, using bidirectional context for parallel sampling.
See all 186 papers