Conditional Image Synthesis With Auxiliary Classifier GANs

Augustus Odena, Christopher Olah, Jonathon Shlens

TL;DR

The paper introduces the Auxiliary Classifier GAN (AC-GAN), a conditional generative model that reconstructs class labels to synthesize high-resolution, globally coherent 128x128 images across all 1000 ImageNet classes. By introducing new quantitative metrics based on pre-trained classifiers and Multi-Scale Structural Similarity (MS-SSIM), the authors demonstrate that their high-resolution samples contain genuine structural details and maintain a level of diversity comparable to real training data.

What Problem Does This Paper Address?

While Generative Adversarial Networks (GANs) have shown immense promise in generating realistic images, they historically struggle when scaled up to high-resolution images or datasets with high variability. When tasked with complex datasets like ImageNet, standard GANs often fail to generate globally coherent structures or suffer from "mode collapse"—a failure mode where the generator cheats by outputting only a few distinct, high-quality images to fool the discriminator.

Furthermore, evaluating generative models has traditionally relied on coarse metrics like log-likelihood or subjective human inspection. There has been a lack of rigorous, automated methods to verify whether a model is truly utilizing its higher output resolution to generate meaningful details, or if it is simply producing upscaled, blurry versions of low-resolution images.

Methods

The authors propose the Auxiliary Classifier GAN (AC-GAN). In a standard conditional GAN, class labels are fed into both the generator and discriminator. AC-GAN modifies this by tasking the discriminator with an additional job: reconstructing the side information (the class label).

  • Architecture: Every generated sample is paired with a class label $c$ in addition to a noise vector $z$. The generator $G$ uses both to synthesize an image. The discriminator $D$ is equipped with an auxiliary decoder network that outputs both a probability distribution over the source (real vs. fake) and a probability distribution over the class labels.
  • Objective Function: The training objective is split into two parts: $L_S$ (the log-likelihood of predicting the correct source) and $L_C$ (the log-likelihood of predicting the correct class). The discriminator is trained to maximize $L_S + L_C$, while the generator is trained to maximize $L_C - L_S$.
  • Ensemble Training: To manage the scale of ImageNet, the authors split the 1000 classes into 100 separate subsets of 10 classes each, training an ensemble of 100 AC-GAN models.

To evaluate their model rigorously, they introduce two new analytical frameworks:

  1. Discriminability Measure: They feed generated images into a pre-trained Inception network to see if it can correctly identify the intended class. They repeat this across various downsampled resolutions to measure how much class information is actually contained within the higher resolutions.
  2. Diversity Measure: They compute the Multi-Scale Structural Similarity (MS-SSIM) index between randomly selected pairs of images within the same class to quantitatively detect mode collapse.

Datasets

The model was trained and evaluated on two primary datasets:

  • ImageNet: All 1000 classes, trained at 64x64 and 128x128 spatial resolutions.
  • CIFAR-10: Used at a 32x32 spatial resolution to benchmark against existing state-of-the-art models.

Key Insights and Ideas

  • Resolution Equals Information: High-resolution generation is not just a cosmetic upgrade. The authors show that downsampling a 128x128 AC-GAN sample to 32x32 cuts its classification accuracy in half. This proves that the higher-resolution pixels contain genuine, discriminable structural information rather than just naive interpolation.
  • The Quality-Diversity Myth Debunked: A common hypothesis in the GAN literature was that models achieve high visual quality by sacrificing diversity (i.e., dropping modes). However, the authors found that Inception accuracy and MS-SSIM scores are actually anti-correlated (see Figure 6). Classes that suffered from low diversity (mode collapse) actually produced lower quality, less discriminable images.
  • Disentangled Latent Space: By fixing the noise vector $z$ and changing only the class label $c$, the authors discovered that $z$ captures class-independent structural properties like background, layout, and object orientation, demonstrating a form of "compositionality" in the latent space.

Key Results

  • High-Resolution ImageNet Synthesis: The AC-GAN successfully generated globally coherent 128x128 images across all 1000 ImageNet classes.
128 × 128 resolution samples from 5 classes taken from an AC-GAN trained on the ImageNet dataset.
  • Quantifiable Discriminability: Across ImageNet, the 128x128 samples achieved an Inception classification accuracy of 10.1% ± 2.0%, compared to only 5.0% ± 2.0% when those same samples were downsampled to 32x32. For 84.4% of the classes, the higher-resolution images were significantly more discriminable.
Top: Training data and synthesized images from the zebra class resized to lower spatial resolutions. Bottom Left: Summary of accuracies across varying spatial resolutions. Bottom Right: Comparison of accuracy scores at 128x128 vs 32x32.
  • Comparable Diversity: Using the MS-SSIM metric, the authors proved that 84.7% of the generated ImageNet classes exhibited sample diversity that exceeded the diversity of the least variable class in the real ImageNet training dataset.
Examples of different MS-SSIM scores for real and synthesized images.
  • State-of-the-Art on CIFAR-10: When trained on CIFAR-10 at 32x32 resolution, the AC-GAN achieved a new state-of-the-art Inception score of 8.25 ± 0.07, outperforming the previous best of 8.09 ± 0.07 without relying on complex training heuristics like virtual batch normalization or label smoothing.

Limitations and Future Work

  • The Absolute Accuracy Gap: While 10.1% Inception accuracy is a major milestone for generative models covering 1000 classes, it is still vastly inferior to the 78.8% accuracy achieved by real ImageNet training data.
  • Ensemble Dependency: To stabilize training on ImageNet, the authors had to rely on an ensemble of 100 separate models. Scaling a single, unified GAN architecture to successfully generate all 1000 classes without exploding or collapsing remains an open challenge.
  • Future Directions: The authors suggest that augmenting the discriminator with pre-trained models to perform additional supervised tasks—such as semantic image segmentation—could be a promising avenue for further boosting image quality.

Summary updated

BibTeX
@inproceedings{odena2017conditional,
  author = {Augustus Odena and Christopher Olah and Jonathon Shlens},
  title = {{Conditional Image Synthesis With Auxiliary Classifier GANs}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
  url = {https://openreview.net/forum?id=BJNNNh-uZS},
}
Figure