Ways of Conditioning Generative Adversarial Networks

Hanock Kwak, Byoung-Tak ZhangarXiv 2016

Introduction

Generative Adversarial Networks (GANs) have revolutionized image synthesis, yet the ability to precisely control generated content—known as conditioning—remains a critical area of research. Standard Conditional GANs (cGANs) typically "glue" or concatenate condition vectors (such as class labels) to noise inputs. However, this approach often fails to capture the complex, non-linear relationships between abstract concepts and pixel-level details. This paper investigates more expressive conditioning mechanisms, specifically Spatial Bilinear Pooling (SBP) and Information Retrieving GAN (IRGAN), to improve the quality and semantic consistency of generated samples.

Conditioning Architectures

The authors propose and compare four distinct architectures for integrating conditional information into the generative process:

  1. CGAN (Baseline): The standard approach where the condition vector is concatenated only to the initial input noise.
  2. FCGAN (Fully Conditional GAN): An extension that concatenates the condition vector into every layer of the discriminator, providing a more persistent signal.
  3. Spatial Bilinear Pooling (SBP): Instead of additive concatenation, SBP utilizes multiplicative interactions. It calculates a cross-product between the pixel-wise channel vectors and the condition vector, enabling every element of the condition to interact with every element of the image features for a richer fusion.
  4. Information Retrieving GAN (IRGAN): Inspired by InfoGAN, this model employs a pre-trained "oracle" classifier. The generator is trained to maximize the mutual information between the input condition and the resulting image, effectively rewarding the production of semantically recognizable content.
Comparison of the four conditioning architectures: (a) CGAN, (b) FCGAN, (c) SBP, and (d) IRGAN.

Experimental Results

The models were evaluated on the MNIST and CIFAR-10 datasets using Parzen window-based log-likelihood to estimate the match between generated and real data distributions.

MNIST Benchmarks

On the MNIST dataset, IRGAN was the top performer, achieving the highest log-likelihood across nearly all digit classes. By leveraging the oracle classifier, IRGAN ensures that generated digits are highly recognizable. For instance, on the digit '1', IRGAN achieved a score of 749.7, more than double the baseline CGAN score of 358.0.

Log-likelihood results on MNIST across different digit classes, highlighting the superior performance of IRGAN.

CIFAR-10 Benchmarks

On the more complex CIFAR-10 dataset, SBP emerged as the most effective and stable method. It outperformed both concatenation-based baselines in every category. Interestingly, IRGAN's performance was hampered on CIFAR-10 due to the lower accuracy of the pre-trained oracle (81%), demonstrating that information-theoretic approaches are highly sensitive to the quality of auxiliary components.

Conclusion

The study highlights that multiplicative interactions, as seen in SBP, are significantly more effective at uncovering correlations between labels and pixels than simple concatenation. While IRGAN provides powerful semantic regularization, its dependency on a high-quality oracle makes SBP a more stable choice for complex datasets. Future work may explore "compact bilinear pooling" to reduce the computational overhead of SBP and extend these conditioning methods to more diverse modalities like text descriptions.

Summary updated

BibTeX
@misc{kwak2016ways,
  author = {Hanock Kwak and Byoung-Tak Zhang},
  title = {{Ways of Conditioning Generative Adversarial Networks}},
  year = {2016},
  eprint = {1611.01455},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.01455},
}
Figure