Glossary termGenerative model

Generative Adversarial Network

Also known as: GAN

Generative model in which two neural networks compete, one creating synthetic samples and the other judging whether they are real or fake.

A generative adversarial network pits two neural networks against each other. The generator takes random noise and tries to produce realistic samples, such as images of faces. The discriminator receives a mix of real and generated samples and tries to tell them apart. Each network is trained to beat the other: the discriminator improves at spotting fakes, and the generator improves at fooling it. When training goes well, the generator ends up producing samples that are hard to distinguish from real data.

Ian Goodfellow and colleagues at the University of Montreal introduced GANs in 2014. A rapid series of improvements followed. Deep convolutional GANs stabilized image generation, conditional GANs produced samples of a requested class and CycleGAN translated images between styles without paired examples. Nvidia's StyleGAN family produced strikingly realistic portraits of people who do not exist. GANs were the leading approach to image synthesis for much of the late 2010s and were used for super-resolution, image editing and generating synthetic training data.

GANs are notoriously tricky to train. Common failures include mode collapse, in which the generator produces only a narrow range of outputs, and unstable dynamics in which neither network settles. From around 2021, diffusion models overtook GANs for most high-quality image generation, though GANs remain useful where fast, single-step generation matters. Their realistic synthetic faces, soon used for fake social media profiles, added to concerns about deepfakes and spurred research into detecting synthetic media, a contest that mirrors the adversarial game inside the model itself.

Key points

  • A GAN trains a generator and a discriminator against each other in a competitive game.
  • Ian Goodfellow and colleagues introduced generative adversarial networks in 2014.
  • StyleGAN and related models produced highly realistic faces of people who do not exist.
  • Diffusion models largely overtook GANs for image generation in the early 2020s.

Related entries

Glossary term

Generative model that learns to reverse a gradual noising process, turning random noise step by step into images, audio or other data.

Glossary term

Generative AI

AIIdeas and Culture

AI systems that create text, images, audio, video, code or other content by learning patterns from large datasets and producing outputs on request.

Glossary term

Deepfake

AIOSINT

Synthetic image, video or audio created or altered with AI to realistically depict people saying or doing things they never said or did.

Glossary term

Artificially generated data that mimics the statistical properties of real data, used to train and test models when real data is scarce or sensitive.

Glossary term

An abstract, usually lower-dimensional space in which a model represents data so that similar items sit close together and patterns become explicit.

Glossary term

Computational model made of interconnected units, loosely inspired by biological neurons, whose connection strengths are learned from data.

Organization

NVIDIA

HardwareAIVideo Games

American semiconductor company that designs graphics processors and the AI accelerators and software on which most deep learning runs.

Referenced by

Other entries that discuss or point to Generative Adversarial Network.