Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions

Emiel Hoogeboom, Didrik Nielsen, Priyank Jaini, Patrick Forré, Max Welling
2/10/2021
828 citations
stat.MLcs.CLcs.LG
diffusion-flow

Official code: ehoogeboom/multinomial_diffusion (237 stars, Python, last commit 2023-03-21). 1 more implementation below.

Abstract

Generative flows and diffusion models have been predominantly trained on ordinal data, for example natural images. This paper introduces two extensions of flows and diffusion for categorical data such as language or image segmentation: Argmax Flows and Multinomial Diffusion.

Show full abstract

Argmax Flows are defined by a composition of a continuous distribution (such as a normalizing flow), and an argmax function. To optimize this model, we learn a probabilistic inverse for the argmax that lifts the categorical data to a continuous space. Multinomial Diffusion gradually adds categorical noise in a diffusion process, for which the generative denoising process is learned. We demonstrate that our method outperforms existing dequantization approaches on text modelling and modelling on image segmentation maps in log-likelihood.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
ehoogeboom/multinomial_diffusionOfficial237Python–2023-03-21
didriknielsen/argmax_flowsOfficial94PythonMIT2021-06-01
23718PythonMay 28, 20213 years ago
MIT

Code for paper "Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions"

944PythonJun 1, 20215 years agoMIT

Similar Papers

Cite this paper

@article{hoogeboom2021argmax,
  title  = {Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions},
  author = {Emiel Hoogeboom and Didrik Nielsen and Priyank Jaini and Patrick Forré and Max Welling},
  year   = {2021},
  eprint = {2102.05379},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.05379}
}

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/2102.05379.svg)](https://codeofpaper.com/paper/2102.05379)

Discussion