Gradient penalty from a maximum margin perspective

Alexia Jolicoeur-Martineau, Ioannis Mitliagkas
10/15/2019
cs.LGstat.ML

Official code: AlexiaJM/MaximumMarginGANs (180 stars, MIT, last commit 2020-03-12).

Abstract

A popular heuristic for improved performance in Generative adversarial networks (GANs) is to use some form of gradient penalty on the discriminator. This gradient penalty was originally motivated by a Wasserstein distance formulation. However, the use of gradient penalty in other GAN formulations is not well motivated. We present a unifying framework of expected margin maximization and show that a wide range of gradient-penalized GANs (e.g., Wasserstein, Standard, Least-Squares, and Hinge GANs) can be derived from this framework. Our results imply that employing gradient penalties induces a large-margin classifier (thus, a large-margin discriminator in GANs). We describe how expected margin maximization helps reduce vanishing gradients at fake (generated) samples, a known problem in GANs. From this framework, we derive a new $L^\infty$ gradient norm penalty with Hinge loss which generally produces equally good (or better) generated output in GANs than $L^2$-norm penalties (based on the Fréchet Inception Distance).

View on arXivView PDF

Code Implementations(1)

MIT

Code for paper: "Support Vector Machines, Wasserstein's distance and gradient-penalty GANs maximize a margin"

18024Shell, PythonOct 2, 20196 years agoMIT

Similar Papers

Cite this paper

@article{jolicoeurmartineau2019gradient,
  title  = {Gradient penalty from a maximum margin perspective},
  author = {Alexia Jolicoeur-Martineau and Ioannis Mitliagkas},
  year   = {2019},
  eprint = {1910.06922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.06922}
}

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

Discussion