Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn What Are GANs? | GAN Fundamentals
Generative Adversarial Networks Basics

bookWhat Are GANs?

Generative Adversarial Networks, or GANs, are a powerful class of machine learning models that use two neural networks set against each other in a creative competition. In a GAN, the first network is called the generator. Its job is to produce dataβ€”such as images, sounds, or textβ€”that look as realistic as possible. The second network is the discriminator, whose job is to tell whether a given piece of data is real (from the actual dataset) or fake (produced by the generator).

This setup creates an adversarial 'game' between the two networks. The generator tries to fool the discriminator by making its outputs indistinguishable from real data, while the discriminator tries to become better at spotting the fakes. As training progresses, both networks improve: the generator produces more convincing data, and the discriminator becomes a sharper judge.

Note
Definition

The generator is a neural network that creates new data instances, aiming to mimic the real data distribution as closely as possible.

Note
Definition

The discriminator is a neural network that evaluates data and predicts whether each instance is real (from the dataset) or fake (from the generator).

To help you picture how GANs work, imagine a counterfeiter and a detective. The counterfeiter (generator) tries to create fake currency that looks so real it could pass for genuine money. The detective (discriminator) examines the currency and decides whether each bill is real or fake. As the counterfeiter gets better at making convincing fakes, the detective must also get better at spotting them. This back-and-forth competition drives both to improve their skills, just like the two networks in a GAN.

question mark

Which of the following best describes the basic structure and purpose of a GAN?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 1

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 8.33

bookWhat Are GANs?

Swipe to show menu

Generative Adversarial Networks, or GANs, are a powerful class of machine learning models that use two neural networks set against each other in a creative competition. In a GAN, the first network is called the generator. Its job is to produce dataβ€”such as images, sounds, or textβ€”that look as realistic as possible. The second network is the discriminator, whose job is to tell whether a given piece of data is real (from the actual dataset) or fake (produced by the generator).

This setup creates an adversarial 'game' between the two networks. The generator tries to fool the discriminator by making its outputs indistinguishable from real data, while the discriminator tries to become better at spotting the fakes. As training progresses, both networks improve: the generator produces more convincing data, and the discriminator becomes a sharper judge.

Note
Definition

The generator is a neural network that creates new data instances, aiming to mimic the real data distribution as closely as possible.

Note
Definition

The discriminator is a neural network that evaluates data and predicts whether each instance is real (from the dataset) or fake (from the generator).

To help you picture how GANs work, imagine a counterfeiter and a detective. The counterfeiter (generator) tries to create fake currency that looks so real it could pass for genuine money. The detective (discriminator) examines the currency and decides whether each bill is real or fake. As the counterfeiter gets better at making convincing fakes, the detective must also get better at spotting them. This back-and-forth competition drives both to improve their skills, just like the two networks in a GAN.

question mark

Which of the following best describes the basic structure and purpose of a GAN?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 1
some-alt