Abstract
In recent years, Generative Adversarial Networks (GANs) have seen significant advancements, leading to their widespread adoption across various fields. The original GAN architecture enables the generation of images without any specific control over the content, making it an unconditional generation process. However, many practical applications require precise control over the generated output, which has led to the development of conditional GANs (cGANs) that incorporate explicit conditioning to guide the generation process. cGANs extend the original framework by incorporating additional information (conditions), enabling the generation of samples that adhere to that specific criteria. Various conditioning methods have been proposed, each differing in how they integrate the conditioning information into both the generator and the discriminator networks. In this work, we review the conditioning methods proposed for GANs, exploring the characteristics of each method and highlighting their unique mechanisms and theoretical foundations. Furthermore, we conduct a comparative analysis of these methods, evaluating their performance on various image datasets. Through these analyses, we aim to provide insights into the strengths and limitations of various conditioning techniques, guiding future research and application in generative modeling.
Introduction
Generative Adversarial Networks (GANs) are renowned for their ability to synthesize high-fidelity images. However, the original "vanilla" GAN architecture operates unconditionally, meaning users have no direct control over the specific content of the generated output. To bridge the gap between random generation and practical utility—such as in medical imaging or targeted image editing—researchers introduced Conditional GANs (cGANs). These models allow for the injection of auxiliary information, such as class labels, to steer the generative process.
Conditioning Mechanisms
The survey categorizes conditioning methods based on their implementation in the Discriminator and the Generator.
Discriminator Conditioning
The discriminator's role is to distinguish between real and synthetic data while simultaneously ensuring the output matches the provided condition. The paper identifies three primary architectural families:
- Auxiliary Classifier (AC-GAN) Family: In this approach, the discriminator is tasked with a secondary objective: classifying the input. While effective for simple datasets, standard AC-GANs often suffer from reduced diversity as the generator finds "shortcuts" to satisfy the classifier. Advanced variants like ADC-GAN attempt to mitigate this by employing distinct classifiers for real and fake samples.
- Projection-based Methods: Utilized in state-of-the-art models like BigGAN and StyleGAN, these methods compute the inner product between class embeddings and image features. This approach is mathematically more stable and has become the industry standard for high-resolution synthesis.
- Contrastive Learning: Modern techniques such as ContraGAN and ReACGAN leverage contrastive losses to model data-to-data relationships, ensuring that intra-class samples are clustered together while inter-class samples are pushed apart in the feature space.
Generator Conditioning
To incorporate labels, generators typically rely on advanced normalization layers:
- Conditional Batch Normalization (cBN): Adjusts internal feature scaling and shifting based on the class label.
- Adaptive Instance Normalization (AdaIN): Popularized by StyleGAN, this allows for granular control over visual styles by aligning feature statistics with a target style embedding.
Key Insights and Theoretical Foundations
A significant contribution of this survey is the discussion of Energy-based Conditional GANs (ECGAN). This framework provides a unified theoretical lens, proving that AC-GAN, Projection-based GANs, and Contrastive methods are essentially different approximations of the same underlying joint probability distribution.
Furthermore, the authors observe that conditioning acts as a catalyst. Counter-intuitively, increasing the number of classes can actually accelerate model convergence. Providing granular labels helps the model navigate the complex data distribution more efficiently than unconditional training.
Experimental Evaluation
The study evaluated these methods across benchmarks including CIFAR-10, a "Carnivores" subset of ImageNet (128x128), and AFHQ.
Quantitative Results
The performance gap between traditional and modern methods becomes evident as image complexity increases:
- CIFAR-10: StyleGAN2 and ADC-GAN achieved top-tier Fréchet Inception Distances (FID) of 4.87 and 5.06, respectively, while the original AC-GAN lagged at 33.31.
- Carnivores (128x128): Contrastive methods like ReACGAN dominated with an FID of 12.55. In contrast, AC-GAN and TAC-GAN failed to scale, yielding FIDs exceeding 100.
Conclusion
While conditioning significantly improves the control and stability of GANs, challenges remain. Current methods excel with discrete class labels, but conditioning on "open-set" modalities like natural language or sketches remains a frontier for future research. Additionally, while contrastive methods offer superior diversity, their computational overhead suggests a need for more efficient ways to capture complex data relationships.
Summary updated