Structured Denoising Diffusion Models in Discrete State-Spaces

Jacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow, Rianne van den Berg
7/7/2021
2,456 citations
cs.LGcs.AIcs.CL
diffusion-flow

No official code found. Best implementation: justinpan0/denoising-diffusion (15 stars). 1 more below.

Abstract

Denoising diffusion probabilistic models (DDPMs) (Ho et al. 2020) have shown impressive results on image and waveform generation in continuous state spaces.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
justinpan0/denoising-diffusionCommunity15–––
paulffm/Discrete-Time-Diffusion-Models-for-Discrete-DataCommunity3PythonMIT2024-06-13

Structured Denoising Diffusion Models in Discrete State-Spaces

153
MIT

Unofficial PyTorch reimplementations of the papers Structured Denoising Diffusion Models in Discrete State-Spaces by J. Austin et al. and Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions by E. Hoogeboom et al.

30Python, Jupyter NotebookMay 6, 20242 years agoMIT

Similar Papers

Cite this paper

@article{austin2021structured,
  title  = {Structured Denoising Diffusion Models in Discrete State-Spaces},
  author = {Jacob Austin and Daniel D. Johnson and Jonathan Ho and Daniel Tarlow and Rianne van den Berg},
  year   = {2021},
  eprint = {2107.03006},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.03006}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.03006.svg)](https://codeofpaper.com/paper/2107.03006)

Discussion