Gang of GANs: Generative Adversarial Networks with Maximum Margin Ranking

Felix Juefei-Xu, Vishnu Naresh Boddeti, Marios SavvidesarXiv 2017

The quest for stability and high-fidelity image generation in Generative Adversarial Networks (GANs) is a persistent challenge in deep learning. While the original GAN framework introduced a competitive minimax game between a Generator and a Discriminator, it often suffers from mode collapse and vanishing gradients. The paper "Gang of GANs: Generative Adversarial Networks with Maximum Margin Ranking" introduces GoGAN, a progressive training framework that leverages a "gang" of generators and a margin-based ranking loss to stabilize training and improve sample quality.

The GoGAN Framework

Traditional GANs minimize divergences (such as KL or JS) between real and generated distributions. However, as discriminators improve, generators often lose the gradients necessary for further refinement. While Wasserstein GANs (WGAN) addressed this with the Earth Mover distance, they treat all distribution gaps equally. GoGAN addresses this by requiring the discriminator to act as a Ranker, understanding the relative quality of samples across different training stages.

The GoGAN architecture introduces two primary innovations:

  1. Margin-based GAN (MGAN): Utilizing a hinge loss similar to Support Vector Machines, MGAN enforces a specific margin of separation between real and fake samples, ensuring the discriminator provides a consistent training signal.
  2. Progressive Ranking (The "Gang"): Training occurs in stages. In each subsequent stage, a new generator is introduced. The discriminator's task expands to rank images: Real > Stage N > Stage N-1. This creates a ladder of quality where each new generator must outperform its predecessor.
The GoGAN architecture illustrates the multi-stage training process where a Ranker evaluates the relative quality of images from different generators against real data.

Theoretical Foundation

A key theoretical contribution of this work is the "At Least Half" Theorem. The authors provide a proof demonstrating that an optimally trained GoGAN reduces the gap between true and generated distributions by at least 50% compared to a standard WGAN. This is achieved through the margin-based ranking mechanism, which focuses the discriminator's energy on samples near the decision boundary—the very samples the generator needs to improve upon to achieve higher realism.

Geometric representation of the margin-based ranking mechanism, illustrating how the distribution gap is progressively reduced through successive stages.

Experimental Evaluation and Results

The researchers evaluated GoGAN on several standard benchmarks, including CelebA, LSUN Bedroom, and CIFAR-10, as well as a custom 50K-SSFF (Single-Sample Frontal Face) dataset designed to test one-shot style learning.

Beyond standard metrics, the authors advocate for image completion tasks (e.g., filling 25% occlusions) as a more objective measure of "realisticity" than the Inception Score, which can be biased toward objectness. On the CelebA dataset, GoGAN achieved a PSNR of 22.84 and SSIM of 0.7453, notably outperforming the WGAN baseline (22.18 PSNR, 0.7302 SSIM). Qualitatively, GoGAN produces sharper images with superior semantic consistency, such as facial symmetry, while effectively mitigating the mode collapse that often plagues earlier architectures.

Conclusion

GoGAN demonstrates that a hierarchical, ranking-based approach to adversarial training significantly enhances model stability and output quality. By forcing generators to compete not just against a discriminator but against previous iterations of themselves, the framework ensures continuous improvement. While sequential multi-stage training introduces computational overhead, the theoretical and empirical gains in distribution alignment suggest that "Ranking-GANs" represent a robust evolution in generative modeling.

Summary updated

Abstract

Traditional generative adversarial networks (GAN) and many of its variants are trained by minimizing the KL or JS-divergence loss that measures how close the generated data distribution is from the true data distribution. A recent advance called the WGAN based on Wasserstein distance can improve on the KL and JS-divergence based GANs, and alleviate the gradient vanishing, instability, and mode collapse issues that are common in the GAN training. In this work, we aim at improving on the WGAN by first generalizing its discriminator loss to a margin-based one, which leads to a better discriminator, and in turn a better generator, and then carrying out a progressive training paradigm involving multiple GANs to contribute to the maximum margin ranking loss so that the GAN at later stages will improve upon early stages. We call this method Gang of GANs (GoGAN). We have shown theoretically that the proposed GoGAN can reduce the gap between the true data distribution and the generated data distribution by at least half in an optimally trained WGAN. We have also proposed a new way of measuring GAN quality which is based on image completion tasks. We have evaluated our method on four visual datasets: CelebA, LSUN Bedroom, CIFAR-10, and 50K-SSFF, and have seen both visual and quantitative improvement over baseline WGAN.
BibTeX
@misc{juefeixu2017gang,
  author = {Felix Juefei-Xu and Vishnu Naresh Boddeti and Marios Savvides},
  title = {{Gang of GANs: Generative Adversarial Networks with Maximum Margin Ranking}},
  year = {2017},
  eprint = {1704.04865},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.04865},
}
Figure