GAN (Generative Adversarial Network)
generative adversarial network — an architecture where two neural networks compete: the generator creates data, the discriminator distinguishes them from real ones.
How It Works
flowchart LR
A[Generator] -->|fake| B[Discriminator]
C[Real data] --> B
B -->|verdict| A
- Generator learns to deceive;
- Discriminator learns to catch the fake;
- they improve each other in a cycle.
What It Can Do
- generation of photorealistic images (StyleGAN);
- resolution enhancement (super-resolution);
- style transfer.
Why It Has Taken a Backseat
In image generation, GAN has been outpaced by diffusion models (Stable Diffusion, Midjourney): they train more stably and provide a more diverse result. But GAN is still used where speed is needed.