71 min total

Generative AI

Generative adversarial networks

Generative adversarial networks

Generative Adversarial Networks ~2014

GANs are generative models that create new data instances resembling training data. GANs are heavily influenced by game theory (minimax). Was proposed by Ian Goodfellow, he came up with the idea in a single night, debated with his colleagues then implemented a proof-of-concept.

GANs consist of two networks:

  1. Generator: Produces data.
  2. Discriminator: Differentiates real and fake data.
GenAI / Mid 01 — Generative adversarial networks

Training Process:

  1. Generator starts producing low-quality fake data.
  2. Discriminator learns to classify real vs. fake.
  3. Generator improves to fool the discriminator.
  4. Eventually, the discriminator struggles to differentiate real and fake data.

Initially generator produces unrealistic data, but improves over time

Discriminator

Eventually discriminator struggles to differentiate real vs fake data

Is a CNN classifier model, has a training set that consists of real and fake instances. The loss function penalizes misclassifications.

GenAI / Mid 01 — Generative adversarial networks — notes
GenAI / Mid 01 — Generative adversarial networks — notes
GenAI / Mid 01 — Generative adversarial networks — notes

Post Mid-01