How Generative Adversarial Nets and its variants Work: An Overview of GAN

Yongjun Hong, Uiwon Hwang, Jaeyoon Yoo, Sungroh Yoon

Generative Adversarial Networks (GANs) have revolutionized the field of deep learning by providing a framework for synthesizing high-dimensional data that is indistinguishable from real-world samples. Unlike traditional generative models that rely on maximum likelihood estimation, GANs utilize a game-theoretic approach to learn data distributions. This overview deconstructs the evolution of GANs, from their foundational "minimax" game to sophisticated modern variants designed to overcome early training instabilities.

The Core Adversarial Framework

At its heart, a GAN consists of two neural networks—the Generator and the Discriminator—locked in a zero-sum game. The Generator attempts to create fake data ($X_{fake}$) from a latent variable ($Z$), while the Discriminator acts as a critic, attempting to distinguish between real data ($X_{real}$) and the Generator's output.

The basic GAN architecture showing the adversarial relationship between the Generator and Discriminator.

While this framework is powerful, it originally suffered from several critical issues:

  • Training Instability: The delicate balance between the two networks often fails to converge.
  • Vanishing Gradients: If the Discriminator becomes too proficient too quickly, the Generator receives no useful feedback to improve.
  • Mode Collapse: The Generator may find a single "safe" sample that fools the Discriminator and stop producing variety, leading to repetitive outputs.

Evolution of Objective Functions

To address these hurdles, research has shifted toward refining the mathematical objective functions that govern the adversarial game.

f-divergences and IPMs

The original GAN, based on Jensen-Shannon Divergence (JSD), was generalized into the f-GAN framework. This allowed researchers to experiment with different measures like Kullback-Leibler (KLD) or Pearson $\chi^2$. However, a major breakthrough came with Integral Probability Metrics (IPM). The Wasserstein GAN (WGAN) introduced the "Earth-Mover" distance, which provides smoother gradients even when the generated and real distributions do not overlap, significantly improving stability.

Architectural Hybrids and Stabilization

Beyond objective functions, architectural changes have played a vital role. Energy-Based GANs (EBGAN) rethink the Discriminator as an autoencoder where reconstruction error serves as the adversarial signal. Meanwhile, VAEGAN and $\alpha$-GAN combine the stable latent space of Variational Autoencoders with the high-fidelity output of GANs. Training is further stabilized by techniques like Spectral Normalization and Gradient Penalties (WGAN-GP), which constrain the Discriminator's behavior to prevent gradient explosions.

Key Results and Applications

The practical success of GANs is most visible in computer vision. Progressive GANs demonstrated that growing network resolution incrementally allows for the generation of photorealistic $1024 \times 1024$ faces.

One of the most impactful developments is CycleGAN, which enables unpaired image-to-image translation. This allows models to learn transformations—such as changing a summer landscape to winter or an apple to an orange—without requiring a dataset of perfectly matched pairs.

Examples of image-to-image translation, including seasonal changes in Yosemite and object transfiguration (apple to orange).

Future Frontiers and Limitations

Despite their success, GANs still face challenges. They struggle with discrete data like text because gradients cannot easily pass through non-differentiable tokens. Furthermore, evaluating GANs remains difficult; while the Inception Score (IS) and Fréchet Inception Distance (FID) are industry standards, they do not always perfectly align with human perception of quality or diversity.

As research continues, the goal remains to find a universal mathematical guarantee for stable Nash Equilibrium, ensuring that these powerful models can be trained reliably across all data domains.

Summary updated

BibTeX
@article{hong2019how,
  author = {Yongjun Hong and Uiwon Hwang and Jaeyoon Yoo and Sungroh Yoon},
  title = {{How Generative Adversarial Nets and its variants Work: An Overview of GAN}},
  journal = {ACM Computing Surveys},
  year = {2019},
  doi = {10.1145/3301282},
}
Figure