Paper commentary
Conditional Image Synthesis With Auxiliary Classifier GANs
Auxiliary classifier GANs generate sharper 128 by 128 ImageNet samples
- Problem Judging high-resolution GAN samples is hard, because a larger image can just be a blurred resize with no extra class information. GANs also tend to lose variety within a class when many classes are trained together.
- Method AC-GAN predicts class labels in the discriminator and is trained per 10-class split.
- Results The 128 by 128 model reaches 10.1% ± 2.0% Inception accuracy, against 5.0% ± 2.0% for samples resized to 32 by 32. Also, 84.7% of classes have samples more varied than the least varied training class.
Why high-resolution class samples need new checks
The central question is therefore whether a 128×128 sample is more discriminable than the same sample resized to a lower resolution, and whether samples within a class stay varied.
AC-GAN objective and the class-split training
The AC-GAN generator receives a class label c together with a noise vector z, and produces an image from both. The discriminator has two outputs: a distribution over real versus fake sources and a distribution over class labels. The label is therefore predicted by an auxiliary decoder rather than supplied as an input to the discriminator.
The source term \(L_S\) is the expected log-probability of the correct source for real and generated images. The class term \(L_C\) has the same form but uses the probability of the correct class c. The discriminator is updated to maximize \(L_S + L_C\), while the generator is updated to maximize \(L_C - L_S\). Because the label is supplied explicitly, the noise vector z is meant to learn a representation that does not depend on the class, which later lets the authors hold z fixed while changing only the label.
Early experiments showed that adding classes to a fixed model reduced sample quality, so the final ImageNet system splits the classes across an ensemble of 100 AC-GANs, each trained on a 10-class split. Each model was trained for 50000 mini-batches of size 100. The generator is a series of deconvolution layers, and the discriminator is a deep convolutional network with a Leaky ReLU nonlinearity; separate variants generate 128×128 and 64×64 images.
Does higher resolution add discriminable class information?
Each synthesized image is first downsized with bilinear interpolation and then restored to its original size, after which a pre-trained Inception network labels it. Inception accuracy is the fraction of samples that receive the correct label, so it measures whether a class-conditional model produces images of the intended class.
The 128×128 model reached 10.1% ± 2.0% Inception accuracy, against 7.0% ± 2.0% for samples resized to 64×64 and 5.0% ± 2.0% for samples resized to 32×32. Relative to the 128×128 result, downsizing to 32×32 and to 64×64 reduces visual discriminability by 50% and 38% respectively. At the level of individual classes, 84.4% of ImageNet classes have higher accuracy at 128×128 than at 32×32.
The 64×64 model is less discriminable than the 128×128 model at 64 spatial resolution, and its accuracy levels off at its own output resolution.
The authors use accuracy rather than the Inception score because accuracy is easier to read, can be assessed per class, and checks whether samples come from the intended class. Real training images reach 81% at 128×128, and the authors treat this curve as an upper bound on discriminability.
Within-class diversity and generator collapse
Inception accuracy cannot show that a generator has collapsed, since a model that memorized one example per class would score well on it. Diversity is therefore measured with MS-SSIM over 100 randomly chosen pairs of images from the same class; a lower mean means the samples are more varied.
The training images give a range of mean MS-SSIM values across classes, and the highest class mean for training data is 0.25, which serves as the reference line. Across all classes the mean MS-SSIM is 0.05 for the training data and 0.18 for the AC-GAN samples. Of the 1000 classes, 847 have sample means below the training maximum, so 84.7% of classes have samples more varied than the least varied training class.
The same measure is tracked during training, so a class that collapses shows a rising mean MS-SSIM curve.
The authors concede that MS-SSIM was built to compare a compressed image with its original, and they use it on unrelated images. They defend the use by pointing out that comparisons stay within one class label, that the metric is not saturated, and that the training data score as more varied, as expected. The authors also say MS-SSIM is meant as a measure of perceptual diversity, not as an estimate of the entropy of the generator distribution in pixel space.
Discriminability and diversity together
Among low-diversity classes, defined as MS-SSIM ≥ 0.25, 74% have Inception accuracy at or below 1%. Among high-diversity classes, defined as MS-SSIM < 0.25, 78% exceed 1%.
For reference, Inception-v3 averages 78.8% accuracy over the 1000 classes, and only some AC-GAN classes reach that level. The authors suggest that GANs that drop modes are the ones most likely to produce low-quality images, which runs against the common view that GANs trade variety for sample quality.
CIFAR-10 comparison and memorization checks
On CIFAR-10 at 32×32, the authors computed the Inception score for 50000 samples in 10 groups, and for 25000 extra samples in 5 groups. After a grid search over 27 hyperparameter configurations, the model reached 8.25 ± 0.07, compared with 8.09 ± 0.07 for the prior state of the art. In a side-by-side view, the AC-GAN samples look more globally coherent than those from the earlier model.
To check for memorization, each generated sample was matched to its nearest training image under L1 distance in pixel space. The nearest training images do not resemble the samples, which the authors take as evidence that the model is not merely memorizing its training data. Interpolating in latent space shows no discrete jumps or holes, and fixing z while changing the class keeps the global layout, which the authors also read as evidence against overfitting.
Limitations
The 128×128 model's average Inception accuracy is 10.1% ± 2.0%, far below the 81% of real training images, and the authors state that visual discriminability of the 128×128 model still needs much work. A single model covering all 1000 classes was not built; the study uses 100 class-split models, and building one model for all classes is left as a future step.
A standard GAN could not be trained to converge reliably even on a split of one class.
MS-SSIM is applied outside the compression setting it was designed for, and it measures perceptual diversity rather than generator entropy.
Paper info
- Authors
- Augustus Odena, Christopher Olah, Jonathon Shlens
- Venue
- arXiv · Preprint
- First published
- 2016-10-30
- Added
- 2026-11-12
- Updated
- 2017-7-20
- Version
- v4
- arXiv
- 1610.09585
- Category
- stat.ML · cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Augustus Odena, Christopher Olah, Jonathon Shlens (2016). Conditional Image Synthesis With Auxiliary Classifier GANs. arXiv:1610.09585v4. https://arxiv.org/abs/1610.09585v4
BibTeX
@misc{odena2016conditional,
title = {{Conditional Image Synthesis With Auxiliary Classifier GANs}},
author = {Augustus Odena and Christopher Olah and Jonathon Shlens},
year = {2016},
eprint = {1610.09585},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1610.09585v4}
}