Improving GAN with neighbors embedding and gradient matching

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

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

Abstract

We propose two new techniques for training Generative Adversarial Networks (GANs). Our objectives are to alleviate mode collapse in GAN and improve the quality of the generated samples.

Show full abstract

First, we propose neighbor embedding, a manifold learning-based regularization to explicitly retain local structures of latent samples in the generated samples. This prevents generator from producing nearly identical data samples from different latent samples, and reduces mode collapse. We propose an inverse t-SNE regularizer to achieve this. Second, we propose a new technique, gradient matching, to align the distributions of the generated samples and the real samples. As it is challenging to work with high-dimensional sample distributions, we propose to align these distributions through the scalar discriminator scores. We constrain the difference between the discriminator scores of the real samples and generated ones. We further constrain the difference between the gradients of these discriminator scores. We derive these constraints from Taylor approximations of the discriminator function. We perform experiments to demonstrate that our proposed techniques are computationally simple and easy to be incorporated in existing systems. When Gradient matching and Neighbour embedding are applied together, our GN-GAN achieves outstanding results on 1D/2D synthetic, CIFAR-10 and STL-10 datasets, e.g. FID score of $30.80$ for the STL-10 dataset. Our code is available at: https://github.com/tntrung/gan

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{tran2018improving,
  title  = {Improving GAN with neighbors embedding and gradient matching},
  author = {Ngoc-Trung Tran and Tuan-Anh Bui and Ngai-Man Cheung},
  year   = {2018},
  eprint = {1811.01333},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.01333}
}

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

Discussion