In the proofs for the original GAN paper, it is written:

$$∫_x p_{data}(x) \log D(x)dx+∫_zp(z)\log(1−D(G(z)))dz =∫_xp_{data}(x)\log D(x)+p_G(x) \log(1−D(x))dx$$

I've seen some explanations asserting that the following equality is the key to understanding:


which is a consequence of the LOTUS theorem and $x_g = g(z)$. Why is $x_g = g(z)$?

| improve this question | | | | |
  • $\begingroup$ in all formulas shown you never showed $x_g$ or $g(z)$. What do these refer to and where? $\endgroup$ – mshlis Jun 17 '19 at 20:14

It's not supposed to be derived from some equation. That is the basic premise under which GANs work. The output of the Generator $G(z)$ is fed as an input $x_g$ to the discriminator.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.