Discriminator Contrastive Divergence: Semi-Amortized Generative Modeling by Exploring Energy of the Discriminator

Yuxuan Song, Qiwei Ye, Minkai Xu, Tie-Yan Liu
4/5/2020
cs.LGcs.CVstat.ML

Official code: MinkaiXu/Discriminator-Contrastive-Divergence (7 stars, Python, last commit 2024-08-30).

Abstract

Generative Adversarial Networks (GANs) have shown great promise in modeling high dimensional data. The learning objective of GANs usually minimizes some measure discrepancy, \textit{e.g.}, $f$-divergence~($f$-GANs) or Integral Probability Metric~(Wasserstein GANs).

Show full abstract

With $f$-divergence as the objective function, the discriminator essentially estimates the density ratio, and the estimated ratio proves useful in further improving the sample quality of the generator. However, how to leverage the information contained in the discriminator of Wasserstein GANs (WGAN) is less explored. In this paper, we introduce the Discriminator Contrastive Divergence, which is well motivated by the property of WGAN's discriminator and the relationship between WGAN and energy-based model. Compared to standard GANs, where the generator is directly utilized to obtain new samples, our method proposes a semi-amortized generation procedure where the samples are produced with the generator's output as an initial state. Then several steps of Langevin dynamics are conducted using the gradient of the discriminator. We demonstrate the benefits of significant improved generation on both synthetic data and several real-world image generation benchmarks.

View on arXivView PDF

Code Implementations(1)

71Python, ShellApr 1, 20202 years agoNOASSERTION

Similar Papers

Cite this paper

@article{song2020discriminator,
  title  = {Discriminator Contrastive Divergence: Semi-Amortized Generative Modeling by Exploring Energy of the Discriminator},
  author = {Yuxuan Song and Qiwei Ye and Minkai Xu and Tie-Yan Liu},
  year   = {2020},
  eprint = {2004.01704},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.01704}
}

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

Discussion