Kernel: Python 3
The DiracGAN example
Author: Mihaela Rosca
We show DiracGAN (https://arxiv.org/abs/1801.04406), where the true distribution is is Dirac delta distribution with mass at zero. The generator is modeling a Dirac delta distribution with parameter : and the discriminator is a linear function of the input with learned parameter : . This results in the zero-sum game given by:
where depends on the GAN formulation used ( for instance). The unique equilibrium point is .
In [ ]:
In [ ]:
Display variables
In [ ]:
In [ ]:
In [ ]:
Defining the Euler updates (gradient descent)
In [ ]:
In [ ]:
Dirac GAN
In [ ]:
In [ ]:
(-3.0, 4.5)
In [ ]:
(-3.0, 4.5)
In [ ]:
<matplotlib.legend.Legend at 0x7fb428d40a90>
In [ ]:
(-3.0, 4.5)