Introduction
Discrete diffusion models have recently achieved state-of-the-art performance, outperforming or approaching autoregressive (AR) models on standard benchmarks. However, while AR models dominate language modeling, they are restricted to sequential generation and can suffer from exposure bias. Discrete diffusion offers more flexibility but has historically lagged in quality because standard models use a single neural network to handle two distinct tasks simultaneously: identifying where the noise is and predicting what the underlying data should be. Furthermore, most diffusion samplers follow a rigid, fixed schedule that cannot easily adapt if the model makes an early mistake.
To address this, researchers introduce Discrete Diffusion with Planned Denoising (DDPD). DDPD improves generative modeling by splitting the process into two specialized components: a planner that identifies corrupted parts of a sequence and a denoiser that fixes them. This "plan-and-denoise" approach enables adaptive sampling and real-time error correction, significantly narrowing the performance gap between diffusion models and state-of-the-art autoregressive transformers in language and image synthesis.
Methodology: The Plan-and-Denoise Framework
DDPD factorizes the generative probability of a Continuous Time Markov Chain (CTMC) into two distinct models:
- The Planner: A lightweight model that examines the current sequence and identifies the positions most likely to be corrupted (a simpler binary classification task).
- The Denoiser: A model that predicts the correct value for the specific position selected by the planner (a multi-class prediction over a large vocabulary).
By decoupling these tasks, DDPD employs an Adaptive Gillespie Sampler. Unlike standard "tau-leaping" samplers that move forward in fixed time steps, this sampler adjusts its pace based on the planner's assessment of the sequence's noise level.
The most striking feature of DDPD is its ability to "travel back in time." As shown in the trajectory above, if the denoiser introduces an error during generation, the planner detects an unexpected increase in corruption. This effectively moves the "actual time" backward, allowing the model to revisit and correct the mistake before finishing the sequence.
Key Insights and Comparisons
Separating the planning and denoising tasks simplifies the learning objective. Planning is a much simpler task than denoising, reducing the overall burden on the primary generative model. Furthermore, DDPD is "denoiser-agnostic." It can be used to improve existing pre-trained mask diffusion models simply by training a separate, smaller planner to guide the sampling process.
Compared to other state-of-the-art discrete diffusion methods like SEDD and DFM, DDPD's parameterization uniquely leverages this adaptive time correction, ensuring all tokens are reconstructed accurately rather than strictly adhering to a predetermined noise schedule.
Experimental Validation
The authors evaluated DDPD across three major benchmarks, demonstrating strong performance in both text and image modalities:
- Language Modeling (
text8andOpenWebText): DDPD significantly outperformed traditional denoiser-only methods. In terms of generative perplexity, it narrowed the gap with autoregressive models (like GPT-2) more effectively than previous diffusion approaches. - Image Synthesis (ImageNet 256 × 256): Evaluated using discrete tokens from a pre-trained VQ-style tokenizer, DDPD achieved an impressive FID score of 4.63, outperforming MaskGIT and standard mask diffusion. It proved particularly robust, maintaining high quality even without common tricks like classifier-free guidance or complex logit annealing.
Crucially, the authors found that allocating computational budget to a planner is more effective than simply doubling the size of a standard denoiser-only model, highlighting the efficiency of the plan-and-denoise architecture.
Limitations and Future Work
While highly effective, DDPD introduces some computational overhead. It requires two model forward passes (one for the planner, one for the denoiser) per sampling step, which increases the Number of Function Evaluations (NFE). Additionally, the quality of generation is heavily dependent on the planner; an imperfect planner can lead to a sub-optimal denoising order, although the self-correction mechanism helps mitigate this.
Future work will focus on scaling. While results at the GPT-2 scale (up to 300M+ parameters) are promising, testing DDPD on massive, multi-billion parameter models is a necessary next step to confirm these advantages hold at the frontier of AI development.
Summary updated