Structured Denoising Diffusion Models in Discrete State-Spaces
This work addresses the challenge of applying diffusion models to discrete domains like text and images, offering a novel framework that connects to autoregressive models, but it is incremental as it builds on prior discrete diffusion methods.
The authors tackled the problem of extending denoising diffusion models to discrete data by introducing D3PMs, which use structured transition matrices and a new loss function, achieving strong results such as improved log-likelihood on CIFAR-10 and scalable character-level text generation on LM1B.
Denoising diffusion probabilistic models (DDPMs) (Ho et al. 2020) have shown impressive results on image and waveform generation in continuous state spaces. Here, we introduce Discrete Denoising Diffusion Probabilistic Models (D3PMs), diffusion-like generative models for discrete data that generalize the multinomial diffusion model of Hoogeboom et al. 2021, by going beyond corruption processes with uniform transition probabilities. This includes corruption with transition matrices that mimic Gaussian kernels in continuous space, matrices based on nearest neighbors in embedding space, and matrices that introduce absorbing states. The third allows us to draw a connection between diffusion models and autoregressive and mask-based generative models. We show that the choice of transition matrix is an important design decision that leads to improved results in image and text domains. We also introduce a new loss function that combines the variational lower bound with an auxiliary cross entropy loss. For text, this model class achieves strong results on character-level text generation while scaling to large vocabularies on LM1B. On the image dataset CIFAR-10, our models approach the sample quality and exceed the log-likelihood of the continuous-space DDPM model.