Score-based Generative Modeling in Latent Space

NeurIPS 2021  ·  Arash Vahdat, Karsten Kreis, Jan Kautz ·

Score-based generative models (SGMs) have recently demonstrated impressive results in terms of both sample quality and distribution coverage. However, they are usually applied directly in data space and often require thousands of network evaluations for sampling. Here, we propose the Latent Score-based Generative Model (LSGM), a novel approach that trains SGMs in a latent space, relying on the variational autoencoder framework. Moving from data to latent space allows us to train more expressive generative models, apply SGMs to non-continuous data, and learn smoother SGMs in a smaller space, resulting in fewer network evaluations and faster sampling. To enable training LSGMs end-to-end in a scalable and stable manner, we (i) introduce a new score-matching objective suitable to the LSGM setting, (ii) propose a novel parameterization of the score function that allows SGM to focus on the mismatch of the target distribution with respect to a simple Normal one, and (iii) analytically derive multiple techniques for variance reduction of the training objective. LSGM obtains a state-of-the-art FID score of 2.10 on CIFAR-10, outperforming all existing generative results on this dataset. On CelebA-HQ-256, LSGM is on a par with previous SGMs in sample quality while outperforming them in sampling time by two orders of magnitude. In modeling binary images, LSGM achieves state-of-the-art likelihood on the binarized OMNIGLOT dataset. Our project page and code can be found at https://nvlabs.github.io/LSGM .

PDF Abstract NeurIPS 2021 PDF NeurIPS 2021 Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Generation CelebA 256x256 LSGM bpd 0.70 # 4
FID 7.22 # 3
Image Generation CelebA-HQ 256x256 LSGM FID 7.22 # 8
Image Generation CIFAR-10 LSGM (FID, DINOv2) NFE 138 # 25
FD 148.27 # 3
Image Generation CIFAR-10 LSGM (balanced) FID 2.17 # 19
bits/dimension 2.95 # 26
Image Generation CIFAR-10 LSGM (NLL) FID 6.89 # 77
bits/dimension 2.87 # 15

Results from Other Papers


Task Dataset Model Metric Name Metric Value Rank Source Paper Compare
Image Generation CIFAR-10 LSGM (FID) FID 2.10 # 17
bits/dimension 3.43 # 57

Methods