Glossary

What is Generative adversarial network?

In Turkish: Çekişmeli üretici ağ (GAN) · Topic: Models and training

A type of generative model in which two neural networks are trained against each other: one produces fake data and the other tries to tell real from fake. Ian Goodfellow and colleagues introduced it in 2014.

How does it work?

The generator starts from random numbers and tries to produce, say, a face photo. The discriminator is shown a mix of real photos and generated ones and tries to spot the fakes. Each time the discriminator catches a fake, the generator learns from the mistake, and as the generator becomes more convincing the discriminator sharpens too. It resembles a counterfeiter and a detective improving each other. In the ideal case the generator gets so good that the discriminator is reduced to guessing.

Why does it matter?

GANs delivered the first big successes in realistic image generation and laid the technical groundwork for the deepfake debate. They can be unstable to train and may produce outputs with limited variety. For that reason diffusion models took the lead in image generation, though GANs are still used where fast generation matters.

Example

Well-known demo sites that showed portraits of people who do not exist were built on StyleGAN, a GAN model developed by Nvidia.

FAQ

What is the difference between a GAN and a diffusion model?

A GAN produces output in one pass through competition between a generator and a discriminator. A diffusion model starts from noise and builds the image over many steps, and is usually more stable to train.

Do GANs only generate images?

No. The idea has also been tried for audio, music and tabular data, but image generation is its best-known use.

All terms