Making the Label Bite

Adversarial GenerationMedium+20 XP+20

Making the Label Bite

A conditional GAN is trained on handwritten digits with ten classes. Both networks see the label, exactly as the lesson describes: the generator takes a noise vector together with a class label, and the discriminator takes an image together with a class label.

At every step the discriminator is shown exactly two kinds of example:

batchwhat it containswhat the discriminator is told to answer
Aa real image, paired with its own true labelreal
Ba generated image, paired with the label it was generated fromfake

Training goes well by every visible measure — the samples are sharp and look like real handwriting. But the dial does not work. Ask the generator for a 777 and you get a convincing digit that is about as likely to be a 222.

The team decides to add one extra kind of batch to the discriminator's diet. Which addition forces the generator to start obeying the label, and why?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.