Masked Diffusion Language Model (MDLM / LLaDA)
Diffusion2024 · Cornell / Stanford / Renmin Univ.Continuous-time discrete token masking + iterative bidirectional unmasking
The canvas begins fully masked. At each step, all remaining [MASK] positions are predicted in parallel. The highest-confidence tokens are locked into the sequence, progressively anchoring the generation.
1. Initialize Full [MASK] Canvas
Concatenate the user prompt with T_gen absorbing [MASK] tokens representing the entire unknown response canvas at t = 1.0.
Active Tensor Dimensions & Memory Shapes
Enables arbitrary-order generation, bidirectional infilling, and controllable step-vs-quality trade-offs in language modeling without causal left-to-right constraints.
Training Objective:Time-Weighted Masked Cross-Entropy ELBO: ∫ (α′_t / (1 - α_t)) CE(x_0, p_θ(x_t)) dt
Inference Bottleneck:O(K) full-sequence bidirectional passes
Foundational & Breakthrough Papers for Masked Diffusion Language Model (MDLM / LLaDA)
Simple and Effective Masked Diffusion Language Models (MDLM)
Sahoo et al. (Cornell Tech)
Large Language Diffusion Models (LLaDA)
Nie et al.
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution (SEDD)
Lou, Meng, Ermon (Stanford)