GAN

A GAN (Generative Adversarial Network) is a pair of neural networks trained against each other: a generator creates synthetic samples while a discriminator judges them against real data, and each improves by trying to beat the other.

Generative AIGenerative Adversarial Networkadversarial network
§ 01DefinitionGAN

No jargon, no math

In plain words, what is it?

Two players, one table. The generator takes random noise and turns it into a fake sample; the discriminator sees real and fake samples mixed together and must say which is which. Every verdict becomes feedback: the discriminator learns to catch subtler fakes, the generator learns to produce more convincing ones. They level up together, like a forger and a detective training on each other. The equilibrium arrives when the fakes pass as real. The known weak points: if the generator finds one type of fake that always works, it stops varying (called mode collapse), and training can oscillate for a long time before settling, or never settle at all.

§ 02How it worksA forger and a detective training each other
  1. 01

    Sample. Random noise goes in as the seed for a new synthetic record.

  2. 02

    Generate. The generator turns the noise into a fake.

  3. 03

    Judge. The discriminator scores the fake against real data: real or fake.

  4. 04

    Feedback. The generator adjusts to fool the judge better next round.

  5. 05

    Repeat. Rounds continue until the fakes pass as real.

§ 04

Want this running in your stack?

We design and ship AI systems with permissions, logs and human approval. It starts with a 30-minute scoping call.