After the vanilla GAN: innovate or die
The original Generative Adversarial Network, almost always abbreviated GAN (see the introductory lesson), is a brilliant idea, but in practice it's a nightmare to train. Three major problems plague it. First, instability: training oscillates violently and often collapses for no apparent reason. Second, mode collapse: instead of producing the full diversity of real data (thousands of different faces, for example), the generator learns to produce only a few convincing examples and recycles them in a loop. Third, erratic gradients that make it nearly impossible to tune the hyperparameters, the knobs set by hand before training: a learning rate that works at one epoch can break everything at the next.
The years 2015 to 2021 saw a true innovation race, with each new architecture trying to solve one or more of these problems. Here are the most important ones.
Every architecture on this page belongs to the 2015-2021 period. None of them is the default choice for generating images today: since 2021-2022 that place has been held by diffusion models and their descendants. We study them here because each answers one clearly stated problem, and those problems recur in different guises in current models. Two notable survivals: StyleGAN is still used for fine-grained face manipulation, and the CycleGAN idea (translating between two domains with no paired examples) remains a sound answer when you have no image pairs.
DCGAN, Deep Convolutional GAN (2015): convolutional foundations
The guidelines that saved GANs
Radford et al. published something seemingly modest: a set of practical recipes for making GANs work with convolutions. But the impact was enormous.
The founding rules:
- No pooling, no downsampling by grouping neighbouring values: use strided convolutions (moving 2 pixels at a time) to reduce resolution, letting the network learn its own way of shrinking rather than imposing one
- Batch normalization everywhere except at the generator's output and the discriminator's input: the values flowing through the network are recentred and rescaled, one batch of images at a time
- Zero fully connected layers in the middle of the network (except at input and output), which preserves the spatial structure of images
- For the activation function (the small non-linear function applied at each neuron's output) ReLU (Rectified Linear Unit: passes positive values through, replaces negative ones with zero) in the generator, except the output layer which uses the hyperbolic tangent
tanhto produce bounded values; and LeakyReLU in the discriminator, a variant that lets negative values leak a little rather than erasing them, which avoids neurons going permanently "dead" for lack of gradient
Why are these rules so important? Before DCGAN, trying to build a convolutional GAN was an exercise in frustration: gradients exploded, mode collapse was almost systematic, results were blurry and unstable. These four principles, validated empirically, stabilized training to the point of becoming the reference foundation that all subsequent GAN architectures inherited and refined.
DCGAN revealed something fascinating: the latent space z has an arithmetic structure. For example, . And all of this without any supervision! The generator spontaneously learns coherent semantic representations.
WGAN (2017): Wasserstein distance
The fundamental mathematical problem
The original GAN's loss uses the Jensen-Shannon divergence, abbreviated JS, to measure the difference between the real and generated distributions, a divergence being simply a number that is zero when two distributions coincide and grows as they move apart. The problem: in high dimensions (and a 256x256 colour image is nearly 200,000 numbers), the two distributions almost always occupy completely different regions, with no overlap whatsoever. When this happens, the JS divergence saturates at its maximum value: it answers "as far apart as possible" whatever the details, and its slope drops to zero. The generator receives no useful signal to improve, the same vanishing-gradient phenomenon as in the previous lesson, except this time it comes from the distance measure itself, not from the network.
The Wasserstein, or "Earth Mover's", distance
The idea behind WGAN is to replace this problematic divergence with the Wasserstein distance. The intuition is elegant: imagine the two distributions are piles of dirt. The Wasserstein distance measures the minimum transport cost to transform one pile into the other, moving the dirt shovel by shovel.
The advantages are major:
- A usable slope even when the distributions do not overlap at all, because the distance measures "how much needs to be transported," not "do they overlap"
- Continuous and differentiable everywhere, which gives a stable learning signal
- Tied to perceived quality of generated images, which was not the case with the original loss. For the first time, you could look at the loss curve and infer whether the model was improving
The critic
In WGAN, the discriminator changes name and role: it becomes a critic. Instead of classifying "real" or "fake" with a sigmoid (probability between 0 and 1), it assigns an unbounded real score to each input. The higher the score, the more real the data appears to the critic.
Symbol by symbol: is the quantity the critic tries to make as large as possible; is the expectation, i.e., an average weighted by probabilities, its subscript says what the average runs over; averages over real images drawn from the dataset; averages over noise vectors , hence over fake images; is the critic (more precisely its learned weights), the generator (likewise); is the score given to a real image, the score given to a fake one.
In one sentence: the critic wants to score real images as high as possible and fake ones as low as possible; the gap between its two average scores approximates the Wasserstein distance. Note that nothing here forces the scores to stay between 0 and 1, that is exactly what changes relative to the classic discriminator.
There's an important mathematical constraint: for that score gap to genuinely approximate the Wasserstein distance, the critic D must be 1-Lipschitz, a function whose output cannot vary faster than its input. Intuitively, the critic must not be able to change its mind too abruptly between two nearly identical images. Without that bridle, it could simply inflate its scores without limit to blow up the gap, and the resulting number would measure nothing at all.
Two approaches exist to enforce this constraint. Weight clipping (the original version) brutally bounds each weight within an interval after each update: any critic weight that overshoots is forced back to the nearest bound. It's simple but problematic: it pushes weights toward the extremes and underutilizes the network's capacity. The gradient penalty (hence the name WGAN-GP) is a gentler approach: you add a term to the loss that penalizes the critic whenever the slope of its output strays from 1. That is the method that stuck, being more stable and giving better results.
WGAN was a turning point in the theoretical understanding of GANs. For the first time, the loss value tracked the quality of generated images, training was much more stable, and hyperparameter tuning significantly less chaotic.

StyleGAN (2019): controlled synthesis
Innovation: the style-based generator
Developed by NVIDIA, StyleGAN redefined quality standards in image generation, particularly for human faces: the paper presents portraits at 1024x1024 pixels, a level at which an untrained observer is often fooled. But its deepest innovation isn't quality: it's control. For the first time, you could precisely manipulate generated attributes.
Radical architecture
StyleGAN's architecture breaks down into three distinct components.

The mapping network is an 8-layer MLP (Multi-Layer Perceptron: a stack of ordinary dense layers, the simplest network building block there is). It transforms the noise vector z into a vector w living in an intermediate latent space called W. Why this extra step? The Z space (raw Gaussian noise) is very "entangled": changing one coordinate affects multiple attributes at once. The W space, after passing through this network, is much more disentangled: each direction tends to control one identifiable attribute (age, gender, face orientation) without dragging the others along.
The synthesis network starts from a learned constant (a block of numbers fixed during training and then reused identically for every image) rather than from the noise z, which is the major departure. At each resolution layer, the vector w modulates the values flowing through, via a mechanism called AdaIN (Adaptive Instance Normalization): it adjusts their mean and spread. Here again, mind the nature of the objects: the synthesis network's weights and the starting constant are learned once and for all, whereas w is computed from the z drawn for the current image. Each layer can receive a different w, enabling fine-grained control.
Noise injection adds independent random noise at each resolution. This noise doesn't control the overall structure but the fine details that carry no meaning: skin pores, the exact direction of hair strands, micro-texture. The distinction matters here too: the noise is drawn at random for every image, but how strongly each layer listens to it is a learned parameter. Separating that noise from the meaning-bearing content is a key idea of StyleGAN.
Style mixing
Thanks to the separation between the noise z, the vector w, and the synthesis network, you can feed different layers with w vectors taken from different images. The paper observes that the layers divide the work up by scale:
- Low resolution (4x4-8x8): global structure, pose, face shape, presence of glasses
- Medium (16x16-32x32): intermediate features, hairstyle, eyes
- High (64x64 and above): fine details, colour, microstructure
Concretely, you can take the w of one face for the low resolutions, that of a second for the medium ones, and that of a third for the high ones. The result: you blend attributes from several generated images with a precision that did not exist before.
StyleGAN inherits progressive growing, introduced by ProGAN (Progressive GAN): training starts at 4x4 resolution, then layers are added one at a time up to 1024x1024. The idea is to learn the global structure first, then the fine details, which considerably stabilizes training. StyleGAN2 abandoned this approach in favor of other architectural improvements.
StyleGAN2/3
StyleGAN2: fixes water droplet-shaped artifacts that appeared in certain generations, and improves latent space regularization.
StyleGAN3: solves aliasing problems (visual artifacts caused by undersampling, such as staircase patterns or textures that "stick" to the pixel grid instead of moving with the object) during transformations (translation, rotation), introducing strict equivariance that makes animations much more natural.
CycleGAN (2017): translation without pairs

The realistic problem
Imagine you want to transform photos of horses into photos of zebras. The naive approach would require paired images: the exact same scene, once with a horse, once with a zebra. Obviously, such pairs almost never exist. CycleGAN elegantly solves this problem: it learns translation from two unpaired collections (a bunch of horse photos and a bunch of zebra photos, with no correspondence between them).
Architecture
Two generators + two discriminators:
- G_AB: domain A -> B
- G_BA: domain B -> A
- D_A: discriminates real A vs translated A
- D_B: discriminates real B vs translated B
Cycle consistency loss
The central innovation is a remarkably elegant constraint: if you translate an image from domain A to B, then translate it back from B to A, you should recover the original image. It's like translating a sentence from English to French then from French back to English: if the translation is good, you should get back your original sentence.
Symbol by symbol: is an image from domain A (a horse), one from domain B (a zebra); is the generator that translates A into B, the one that does the reverse; the nested reads from the inside out, translate to B first, then translate back to A; measures the gap between two images, pixel by pixel. In one sentence: a round trip must bring you back to the image you started from, in both directions.
This cycle consistency constraint, combined with standard adversarial losses, ensures that translation preserves content (the scene, pose, composition) while changing the style (appearance, texture, visual domain). Without this constraint, the generator could produce any convincing zebra image, with no relation to the original horse scene.
CycleGAN opened the door to spectacular applications: turning photos into Monet-style paintings, converting summer landscapes to winter, turning horses into zebras. More seriously, it's also used in domain adaptation (making a system trained in simulation work on real data) and in medical imaging, for instance converting an MRI (magnetic resonance imaging) scan into a CT (computed tomography) scan. This is the contribution on this page that has aged best: when you have no image pairs, cycle consistency remains a sound answer.
Other notable architectures
Pix2Pix
Image-to-image translation, but this time with training pairs: for each example you have both the exact starting image and the exact target image. The generator is a U-Net, a U-shaped network that shrinks the image then widens it back out, with shortcuts carrying the fine detail straight across. The discriminator is a PatchGAN: instead of judging the whole image with one verdict, it cuts the image into small patches and scores each one separately, which forces it to look at local texture rather than overall composition.
Applications: segmentation map -> photo, sketch -> image, colorizing black-and-white images.

BigGAN
BigGAN applies a simple but powerful lesson: size drives quality. Massive batches (the paper goes up to 2048 images per update, eight times the baseline of 256 it starts from) much wider models, more channels in each convolution layer. Class conditioning is pushed much further: the generator knows exactly which category to produce.
The figures reported in the paper's abstract, on ImageNet at 128x128 resolution: an Inception Score (IS) of 166.5 and an FID (Fréchet Inception Distance, a distance between the image statistics of two collections) of 7.4, against 52.52 and 18.6 respectively for the best prior result. Recall which way each reads: IS upward, FID downward. It's not an architectural novelty; it's the demonstration that with enough compute, GANs reached remarkable visual quality.
Diffusion models have displaced GANs for high-resolution image generation. But three ideas introduced here outlived the vehicle that carried them:
- StyleGAN's W space and attribute disentangling: the idea that you can give yourself an intermediate control space, more legible than the input noise
- The Wasserstein distance: measuring the gap between distributions by a transport cost rather than by overlap
- Cycle consistency: constraining a round trip instead of demanding paired data

Summary
Each advanced GAN architecture addresses a specific limitation. DCGAN established convolutional best practices that stabilized training. WGAN solved the fundamental mathematical problem by replacing the Jensen-Shannon divergence with the Wasserstein distance, finally providing a usable gradient signal. StyleGAN separated content from style through the W space, enabling unprecedented control at each resolution. CycleGAN eliminated the need for annotated image pairs through cycle consistency.
These architectures are no longer the default choice: since 2021-2022, high-resolution image generation runs through diffusion models. But the ideas introduced here (attribute disentangling, transport distances, cycle consistency) continue to influence today's generative models. Understanding these GANs means understanding the problems that the next generation of models sought to solve.
1. Why does the Wasserstein distance give a better learning signal than the Jensen-Shannon divergence of the original GAN?
2. In WGAN, why must the critic be 1-Lipschitz (enforced by weight clipping or a gradient penalty)?
3. What is the point of StyleGAN's intermediate space W, compared with the original noise z?
4. In CycleGAN, what is the cycle consistency loss for (the round trip A to B then B back to A must return the starting image)?
5. In 2026, which of these statements about the architectures on this page is accurate?