Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
  • Evolution plays games0/4
  • Game theory inside AI0/4
  • Using it in life0/5
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
π\piπGame theory, module 11: Game theory inside AI, lesson 3 of 4

Two networks, one game

Image generators were once trained as a game between a forger and a detective. Their equilibrium is a perfect fake.

7 minute read3 questionsFree

Read the whole lesson free

Make a free account to read on, try the examples, answer the 3 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • A GAN trains a generator and a discriminator as two players in a zero-sum game.
  • At equilibrium, the discriminator can only guess, so the fakes match real images.
  • Thinking of training as a game helps explain why it can be unstable.

More in Game theory inside AI

  1. 1Gambit trains himself
  2. 2Self-play
  3. 3Two networks, one game
  4. 4Many AIs, one world