IA 360
Artificial Intelligence Glossary

Generative Adversarial Networks

What Generative Adversarial Networks (GANs) are: two networks competing in a minimax game, their real limits —instability and mode collapse— and why diffusion models have displaced them by 2026.

Admin IA360 4 min read AI-generated Leer en español
Generative Adversarial Networks

Generative Adversarial Networks (GANs) are a machine-learning framework introduced by Ian Goodfellow and his colleagues in 2014 to generate new data that resembles a real dataset. The core idea is to pit two neural networks against each other: one learns to fabricate fake samples while the other learns to spot them. Out of that ongoing contest emerges a generator capable of producing strikingly realistic images, audio or text.

The generator and the discriminator

The generator starts from a random noise vector and turns it into a synthetic sample; it never sees the real data directly and learns only from the feedback its rival returns. The discriminator receives a mix of real and fake samples and estimates the probability that each one comes from the genuine set. Both are trained together by backpropagation: the discriminator sharpens itself to avoid being fooled, and the generator adjusts its weights to fool it more effectively. No Markov chains or approximate inference are required, which in 2014 was a notable simplification over rival generative models.

The minimax game in plain text

Goodfellow framed training as a two-player minimax game over a single value function. In plain text: the value function V(D, G) adds two terms, the expected value of log D(x) over the real data and the expected value of log(1 − D(G(z))) over the input noise. The discriminator maximizes this function —it wants D(x) close to 1 for real inputs and close to 0 for fakes— while the generator minimizes it, pushing D(G(z)) toward 1. The theoretical equilibrium is reached when the generator reproduces the data distribution and the discriminator can no longer tell them apart: it is right only half the time, meaning D equals 1/2 everywhere. Primary source.

Limits: instability and mode collapse

That equilibrium is hard to reach. Training is unstable: the two networks can oscillate without converging, and when the real and generated distributions barely overlap, the Jensen-Shannon divergence saturates and gradients vanish, leaving the generator with no signal to learn from. The second classic failure is mode collapse: the generator finds a few samples that fool the discriminator and repeats them, producing little variety and ignoring whole regions of the data. Later variants tackled different limits: DCGAN (Radford, Metz, and Chintala, 2015) introduced convolutional architectural constraints and demonstrated useful representations; WGAN (Arjovsky, Chintala, and Bottou, 2017) changed the objective to improve stability, reduce mode collapse, and produce meaningful learning curves; and StyleGAN (Karras, Laine, and Aila, 2019) improved quality metrics, interpolation, and factor disentanglement in faces. Even so, training a GAN still demands delicate tuning.

GANs versus diffusion models today

A primary result can date a benchmark shift, but it cannot establish that GANs have ceased to dominate every form of image generation: in 2021, Dhariwal and Nichol showed that a diffusion model could surpass the leading generators of the time on ImageNet synthesis under their metrics and conditions. The paper “Diffusion Models Beat GANs on Image Synthesis” (Dhariwal and Nichol, 2021) reported better sample quality and better distribution coverage than BigGAN-deep in its ImageNet comparisons. It did not establish that every diffusion model trains more stably or universally eliminates mode collapse. GANs keep some advantages —they generate in a single pass, so inference is faster— and remain useful in specific niches. How much ground they can hold against diffusion and hybrid approaches is still open: this is a moving field, and it would be wrong to call it settled.

This article was produced with artificial intelligence under human editorial oversight.

Share this article

This website uses cookies to improve the browsing experience. Cookie policy.

↑↓ navigate ↵ open esc close