Abstract
Discrete diffusion models are a powerful class of generative models that demonstrate strong performance across domains like text and molecular generation. However, for efficiency, discrete diffusion typically parameterizes the generative (reverse) process with factorized distributions. This makes it difficult for the model to learn a target process in a small number of steps, necessitating a long, computationally expensive sampling procedure. Forward-Learned Discrete Diffusion (FLDD) bridges this gap by introducing a learnable, data-dependent forward (noising) process. By learning how to "noise" data in a way that is easier to "denoise," FLDD enables high-quality discrete data generation in as few as 10 steps—a significant leap over traditional models.
Introduction: The Representation Gap in Discrete Diffusion
Diffusion models have revolutionized generative AI, but adapting them to discrete domains (like text or molecular graphs) remains a challenge. In continuous spaces, techniques like distillation or ODE solvers can collapse a 1000-step process into a single step. Unfortunately, these mathematical tools do not translate natively to discrete spaces.
Currently, discrete diffusion models (such as those using masking or bit-flipping) rely on a factorized reverse process. At each step, the model predicts every coordinate (e.g., every word in a sentence or pixel in an image) independently, conditioned on the previous state. While computationally efficient, this creates a "representation gap." If the true reverse of the noising process is complex and highly correlated, a simple factorized model cannot learn it accurately in just a few steps. Consequently, standard discrete diffusion requires hundreds of steps—often proportional to the data's dimensionality—to produce high-quality samples.
Methodology: Learning to Noise
The core innovation of FLDD is making the forward process learnable, shifting the burden of complexity away from the reverse process.
- Learnable Forward Marginals: Instead of a fixed, random schedule (e.g., "mask 10% of tokens at step 1"), FLDD uses a neural network to determine the distribution of noise at each step $t$, conditioned on the entire data point $x$. While the noise is applied to coordinates independently, the parameters of that noise depend on the whole input.
- Non-Markovian Formulation: FLDD abandons the standard Markovian chain (where each step only depends on the immediate predecessor). This flexibility allows the forward process to align itself with the limitations of the factorized reverse process.
- Maximum Coupling: To ensure the transition between steps is tractable, the authors employ "Maximum Coupling." This technique minimizes the amount of probability mass moved between steps, creating the smoothest possible path from data to noise.
- End-to-End Training: The model is trained by minimizing the Variational Lower Bound (ELBO). To handle the gradients of discrete variables, FLDD uses REINFORCE combined with a Relaxed Warm-Up phase (using the Concrete/Gumbel-Softmax distribution) to stabilize early training.
Crucially, this approach introduces zero inference overhead. Because the learnable forward process is only used during training to define the target, the actual sampling process remains identical to standard diffusion. The speedup is achieved entirely "for free" at test time.
Key Results and Insights
The authors evaluated FLDD across diverse discrete domains, including text (ROCStories), molecules (QM9, ZINC250k), and images (Binarized MNIST). The overarching insight is that the difficulty of denoising is a choice made by the noising process; if the forward process destroys information in a way that respects the data's structure, the reverse process has a much easier job.
- Few-Step Text Generation: On the ROCStories text dataset, FLDD achieved a Perplexity (PPL) of 60.5 in just 10 steps. Standard diffusion models typically fail to generate coherent text at such low step counts.
- Molecular Precision: On the QM9 dataset, FLDD achieved 99.08% validity with 10 steps, nearly matching its own 100-step performance (99.67%) and outperforming many specialized molecular generators.
- Structured Image Masking: On Binarized MNIST, standard models apply noise uniformly, leading to blurry intermediate steps. FLDD, however, learned a structured, data-dependent masking schedule. This allowed it to produce much sharper and more recognizable digits in just 4 steps.
Limitations and Future Work
While FLDD offers dramatic speedups for discrete diffusion, it comes with optimization challenges. Using REINFORCE can lead to high-variance gradients, making training more sensitive than standard fixed-noise diffusion despite the relaxed warm-up phase. Additionally, FLDD essentially doubles the parameter count during training because it requires a second network for the forward process.
Future work may explore more complex forward processes, such as partially autoregressive models, to further bridge the gap between simple generative models and highly complex discrete data distributions.
Summary updated