Ian Goodfellow and colleagues proposed a framework in which a generator learns through the response of another model. The discriminator sees reference and generated samples. Its assessment provides the signal for improving the generator. “Real” here means belonging to the reference data, not proof that a photograph is truthful.
Learning you can measure
Reference data follow N(1,0.6²). The generator is G(z)=μ+σz. The discriminator is logistic regression with features 1, x and x². Every click draws samples, computes derivatives and updates actual parameters. There is no prerecorded animation. Set each learning rate separately and inspect losses evaluated on fixed inspection points.
Why learning can fail
A discriminator that improves too quickly or a generator that takes excessively large steps can cause oscillation. A lower loss for one player does not necessarily mean a better overall result. Compare the generated distribution with the reference distribution as well as reading the losses.
What this model does not demonstrate
Mode collapse occurs when a generator produces limited variations and misses modes of the reference distribution. This single-mode experiment is not a demonstration of mode collapse. It isolates competition and instability with models small enough for their parameters to remain visible.
Museum suggestion for computing, probability and critical literacy. Compare two seeds, record the parameters and explain the mechanism behind the output. Older students can examine losses and the relationship between data and models.
Text, code, synthetic data, model weights, diagrams and sound patterns: original Museum of AI work, 2026, CC BY-SA 4.0. Research sources are linked, not reproduced. The existing three.js library is used under MIT.