Dist-GAN: An Improved GAN using Distance Constraints

Ngoc-Trung Tran, Tuan-Anh Bui, Ngai-Man Cheung
3/23/2018
cs.CV

Official code: tntrung/gan (67 stars, Python, GPL-3.0, last commit 2019-04-11).

Abstract

We introduce effective training algorithms for Generative Adversarial Networks (GAN) to alleviate mode collapse and gradient vanishing. In our system, we constrain the generator by an Autoencoder (AE).

Show full abstract

We propose a formulation to consider the reconstructed samples from AE as "real" samples for the discriminator. This couples the convergence of the AE with that of the discriminator, effectively slowing down the convergence of discriminator and reducing gradient vanishing. Importantly, we propose two novel distance constraints to improve the generator. First, we propose a latent-data distance constraint to enforce compatibility between the latent sample distances and the corresponding data sample distances. We use this constraint to explicitly prevent the generator from mode collapse. Second, we propose a discriminator-score distance constraint to align the distribution of the generated samples with that of the real samples through the discriminator score. We use this constraint to guide the generator to synthesize samples that resemble the real ones. Our proposed GAN using these distance constraints, namely Dist-GAN, can achieve better results than state-of-the-art methods across benchmark datasets: synthetic, MNIST, MNIST-1K, CelebA, CIFAR-10 and STL-10 datasets. Our code is published here (https://github.com/tntrung/gan) for research.

View on arXivView PDF

Code Implementations(1)

tntrung/ganOfficial100%
GPL-3.0

Tensorflow code of Dist-GAN, GN-GAN and other GAN methods

6721PythonDec 20, 20177 years agoGPL-3.0

Similar Papers

Cite this paper

@article{tran2018distgan,
  title  = {Dist-GAN: An Improved GAN using Distance Constraints},
  author = {Ngoc-Trung Tran and Tuan-Anh Bui and Ngai-Man Cheung},
  year   = {2018},
  eprint = {1803.08887},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.08887}
}

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

Discussion