The Judge Grows Certain

Adversarial GenerationMedium+20 XP+20

The Judge Grows Certain

A GAN is training on photographs of faces. Its discriminator ends, as binary classifiers do, in a single sigmoid unit:

D=σ(z)=11+e−z,σ′(z)=σ(z)(1−σ(z))D = \sigma(z) = \frac{1}{1 + e^{-z}}, \qquad \sigma'(z) = \sigma(z)\bigl(1 - \sigma(z)\bigr)D=σ(z)=1+e−z1​,σ′(z)=σ(z)(1−σ(z))

where zzz is the raw score the last layer produces and DDD is the probability the discriminator assigns to "this one is real".

The generator never looks at a real face. Everything it learns arrives as a gradient that leaves the discriminator's verdict and travels backwards into the generator's weights — and on the way out it must pass through that final sigmoid, so the signal from each sample is multiplied by σ′(z)\sigma'(z)σ′(z) evaluated at that sample.

The team records the discriminator's average verdict on a batch of generated faces at two points in the run:

checkpointmean DDD on the fake batch
after 1 epoch0.300.300.30
after 20 epochs0.030.030.03

They are delighted with the second row: the judge now catches almost every fake.

Using σ′\sigma'σ′ at each batch's mean verdict as a stand-in for the whole batch, how has the size of the signal reaching the generator changed between the two checkpoints?

Hints

Solve it to unlock the solution

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

Select all that apply.