The generator creates fake data that looks like real data to fool the discriminator. It learns to produce outputs that are increasingly realistic over time.
Click to reveal answer
beginner
What does the discriminator do in a GAN?
The discriminator tries to tell apart real data from fake data made by the generator. It learns to become better at spotting fakes.
Click to reveal answer
intermediate
How do the generator and discriminator work together in a GAN?
They play a game: the generator tries to fool the discriminator with fake data, while the discriminator tries to catch the fakes. This competition helps both improve.
Click to reveal answer
intermediate
Why is the training of GANs called an adversarial process?
Because the generator and discriminator have opposite goals and compete against each other, like opponents in a game, improving through this rivalry.
Click to reveal answer
beginner
What kind of data can GANs generate?
GANs can generate many types of data like images, music, text, or videos by learning the patterns of real examples.
Click to reveal answer
What is the main goal of the generator in a GAN?
ATo create data that looks real
BTo classify real and fake data
CTo reduce the size of the dataset
DTo label data correctly
✗ Incorrect
The generator's job is to create fake data that looks like real data to fool the discriminator.
What does the discriminator in a GAN do?
ACompresses data for storage
BGenerates new data samples
CDistinguishes between real and fake data
DLabels data for supervised learning
✗ Incorrect
The discriminator learns to tell apart real data from the fake data created by the generator.
Why do GANs improve over time during training?
ABecause the model uses more layers
BBecause the generator and discriminator cooperate
CBecause the data size increases
DBecause the generator and discriminator compete
✗ Incorrect
The generator and discriminator compete in a game, pushing each other to improve.
Which of these is NOT a typical use of GANs?
ASorting data into categories
BCreating fake videos
CGenerating realistic images
DMaking music samples
✗ Incorrect
GANs generate data but do not sort or classify data into categories.
What type of learning is used in training GANs?
ASupervised learning
BAdversarial learning
CReinforcement learning
DUnsupervised learning
✗ Incorrect
GANs use adversarial learning where two models compete to improve.
Explain in your own words how the generator and discriminator interact in a GAN.
Think of it like a game between a counterfeiter and a detective.
You got /4 concepts.
Describe why GAN training is considered adversarial and how this helps the model learn.
Focus on the idea of two players with opposite aims.
You got /4 concepts.
Practice
(1/5)
1.
What is the main role of the generator in a GAN?
easy
A. To classify data as real or fake
B. To create fake data that looks real
C. To label data for supervised learning
D. To reduce the size of the dataset
Solution
Step 1: Understand the generator's purpose
The generator's job is to produce new data that mimics real data.
Step 2: Differentiate from discriminator
The discriminator checks data authenticity, but the generator creates fake data.
Final Answer:
To create fake data that looks real -> Option B
Quick Check:
Generator = create fake data [OK]
Hint: Generator makes fake data, discriminator checks it [OK]
Common Mistakes:
Confusing generator with discriminator
Thinking generator labels data
Assuming generator reduces data size
2.
Which of the following is the correct way to define a simple generator model in TensorFlow Keras?