Latent Shadows: The Gaussian-Discrete Duality in Masked Diffusion
Guinan Chen, Xunpeng Huang, Ying Sun, Shijin Wang, Yanyong Zhang, Chao Wang
TL;DR
This work tackles the inefficiency of discrete masked diffusion for language modeling by deriving a formal Masked Diffusion Duality, proving the masked process is the projection of a continuous Gaussian diffusion with deterministic latent trajectories. It then introduces Scalar Trajectory Locking to reduce high-dimensional latent coupling to a single scalar threshold, enabling Masked Consistency Distillation (MCD) with a Hybrid Consistency Objective that distills trajectories without numerical ODE solvers. Empirically, MCD achieves a 16× speedup while maintaining or improving generation quality over strong baselines, and scales effectively to large backbones on OpenWebText. The theoretical link between masked and continuous diffusion, together with the practical MCD framework, offers a robust foundation for efficient high-quality discrete generation.
Abstract
Masked discrete diffusion is a dominant paradigm for high-quality language modeling where tokens are iteratively corrupted to a mask state, yet its inference efficiency is bottlenecked by the lack of deterministic sampling tools. While diffusion duality enables deterministic distillation for uniform models, these approaches generally underperform masked models and rely on complex integral operators. Conversely, in the masked domain, prior methods typically assume the absence of deterministic trajectories, forcing a reliance on stochastic distillation. To bridge this gap, we establish explicit Masked Diffusion Duality, proving that the masked process arises as the projection of a continuous Gaussian process via a novel maximum-value index preservation mechanism. Furthermore, we introduce Masked Consistency Distillation (MCD), a principled framework that leverages this duality to analytically construct the deterministic coupled trajectories required for consistency distillation, bypassing numerical ODE solvers. This result strictly improves upon prior stochastic distillation methods, achieving a 16$\times$ inference speedup without compromising generation quality. Our findings not only provide a solid theoretical foundation connecting masked and continuous diffusion, but also unlock the full potential of consistency distillation for high-performance discrete generation. Our code is available at https://anonymous.4open.science/r/MCD-70FD.
