liveBook · Manning

Discriminator

As explained in Data Without Labels

The classification component of a generative adversarial network that distinguishes real data from data produced by the generator.

A discriminator is the classification component of a generative adversarial network (GAN). It distinguishes authentic data from synthetic data produced by the generator, assigning high probabilities to real examples and low probabilities to generated ones. section 10.4 section 10.4.2

A discriminator training cycle typically:

  • Receives real training data together with synthetic data generated from random noise. section 10.4.2 section 10.4.3
  • Evaluates both inputs and predicts whether each example is real or fake. section 10.4.2
  • Computes binary cross-entropy loss from classification errors and updates its parameters to improve discrimination. section 10.4.2 section 10.4.3
  • Provides feedback that guides the generator toward producing data indistinguishable from the real dataset. section 10.4.3

The discriminator and generator begin with random weights and improve iteratively: the discriminator becomes better at identification while the generator becomes better at realism. section 10.4.3

How Data Without Labels covers it

How deep it goes
Explains inputs, probabilities, loss, parameter updates, and iterative training without detailing network architecture or implementation code.
Examples
Uses real datasets, generated datasets, random noise, real-or-fake probabilities, and binary cross-entropy loss as working examples.
What it assumes
Assumes basic familiarity with neural networks, classification, GANs, and loss functions.
What you can do after
Evaluate generated samples and understand how discriminator feedback improves a GAN’s generator.
How it connects
Connects the discriminator to generative adversarial networks, generator networks, binary classification, binary cross-entropy, and adversarial training.

Also explained in

Compare how 8 books explain discriminator →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.