Maximum Likelihood Training of Score-Based Diffusion Models

Yang Song, Conor Durkan, Iain Murray, Stefano Ermon
1/22/2021
stat.MLcs.LG

Official code: yang-song/score_flow (155 stars, JAX, last commit 2021-12-09).

Abstract

Score-based diffusion models synthesize samples by reversing a stochastic process that diffuses data to noise, and are trained by minimizing a weighted combination of score matching losses. The log-likelihood of score-based diffusion models can be tractably computed through a connection to continuous normalizing flows, but log-likelihood is not directly optimized by the weighted combination of score matching losses. We show that for a specific weighting scheme, the objective upper bounds the negative log-likelihood, thus enabling approximate maximum likelihood training of score-based diffusion models. We empirically observe that maximum likelihood training consistently improves the likelihood of score-based diffusion models across multiple datasets, stochastic processes, and model architectures. Our best models achieve negative log-likelihoods of 2.83 and 3.76 bits/dim on CIFAR-10 and ImageNet 32x32 without any data augmentation, on a par with state-of-the-art autoregressive models on these tasks.

View on arXivView PDF

Code Implementations(1)

JAX

Official code for "Maximum Likelihood Training of Score-Based Diffusion Models", NeurIPS 2021 (spotlight)

15524PythonOct 18, 20214 years ago
diffusion-modelsflaxjaxneural-odesneurips-2021+4 more

Similar Papers

Cite this paper

@article{song2021maximum,
  title  = {Maximum Likelihood Training of Score-Based Diffusion Models},
  author = {Yang Song and Conor Durkan and Iain Murray and Stefano Ermon},
  year   = {2021},
  eprint = {2101.09258},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.09258}
}

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

Discussion