Triple Generative Adversarial Networks

Chongxuan Li, Kun Xu, Jun Zhu, Jiashuo Liu, Bo Zhang

Abstract

Standard semi-supervised Generative Adversarial Networks (GANs) often suffer from a fundamental conflict between classification and generation tasks when both are handled by a single discriminator. We present Triple-GAN, a three-player minimax game consisting of a generator, a classifier, and a discriminator. By decoupling these roles, Triple-GAN allows each component to specialize while mutually reinforcing one another through a virtuous cycle of data augmentation and label prediction. Theoretical analysis demonstrates that the unique equilibrium of this game is achieved when both the generator and classifier distributions match the true data distribution. Experimental results on MNIST, SVHN, and CIFAR-10 show that Triple-GAN achieves state-of-the-art semi-supervised classification and high-quality class-conditional image generation, particularly in extreme low-data regimes.

1. Introduction

Generative Adversarial Networks (GANs) have demonstrated remarkable success in creating realistic images. However, they traditionally struggle to perform classification and conditional generation simultaneously. In standard semi-supervised GAN architectures, the discriminator is forced to act as a classifier, creating a "tug-of-war" effect: to assist the generator, the discriminator should be uncertain about fake samples, but to be an effective classifier, it must be highly certain about labels. This conflict often leads to sub-optimal performance in both tasks, resulting in poor classification accuracy or blurry, non-specific images, especially when labeled data is scarce.

2. The Triple-GAN Framework

Triple-GAN addresses these limitations by splitting responsibilities among three distinct neural networks:

  1. The Generator ($G$): Learns the conditional distribution $p(x|y)$, producing an image given a specific label.
  2. The Classifier ($C$): Learns the distribution $p(y|x)$, predicting the label for a given image.
  3. The Discriminator ($D$): Evaluates image-label pairs $(x, y)$ to determine if they are "real" (from the dataset) or "fake" (produced by $G$ or $C$).

This setup creates a virtuous cycle. The generator provides perfectly labeled fake images to augment the classifier's training set. Simultaneously, the classifier predicts labels for unlabeled real images, creating pairs that help the discriminator learn the data distribution more effectively, which in turn provides better feedback to the generator.

3. Key Insights and Theoretical Convergence

A primary advantage of Triple-GAN is the decoupling of the classifier from the discriminator. This modularity allows for the integration of state-of-the-art architectures for each component (e.g., Mean Teacher for the classifier or Projection Discriminators) without interference.

Furthermore, the framework is grounded in a nonparametric proof showing that the three-player game leads to a globally optimal solution. Unlike many GAN variants that rely on empirical heuristics, Triple-GAN is theoretically guaranteed to converge to the true data distribution for both the generator and the classifier at equilibrium.

4. Experimental Results

The model was evaluated on standard benchmarks including MNIST, SVHN, CIFAR-10, and Tiny ImageNet. The researchers focused on both semi-supervised settings and "extreme low data" regimes.

  • Superior Classification: On CIFAR-10 with only 4,000 labels, Triple-GAN-V2 achieved an error rate of 12.41%, significantly outperforming the Mean Teacher baseline (~16%) and prior GAN-based methods.
  • Extreme Low Data Performance: In an extreme regime on SVHN using only 1,000 labels and no unlabeled data, Triple-GAN achieved an error rate of 11.08%, nearly halving the error of its closest competitor, DADA (24.17%).
  • High-Quality Generation: Despite the limited labels, Triple-GAN generates images with Inception Scores (IS) and Fréchet Inception Distances (FID) comparable to models trained on full datasets. It effectively disentangles "style" from "class," allowing for precise control over generated content.

5. Conclusion and Future Work

Triple-GAN provides a robust framework for joint classification and generation by resolving the internal competition found in traditional semi-supervised GANs. While the model introduces additional computational overhead by training three networks, the gains in accuracy and generation quality are substantial. Future work will focus on scaling the architecture to high-resolution images and more complex datasets like the full ImageNet.

Summary updated

BibTeX
@misc{li2019triple,
  author = {Chongxuan Li and Kun Xu and Jun Zhu and Jiashuo Liu and Bo Zhang},
  title = {{Triple Generative Adversarial Networks}},
  year = {2019},
  eprint = {1912.09784},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.09784},
}
Figure