# Training the generator in a GAN pair with back propagation

For the purposes of this question I am asking about training the generator, assume that training the discriminator is another topic.

My understanding of generative adversarial networks is that you feed random input data to the generator and it generates images. Out of those images, the ones which the discriminator thinks are real are used to train the generator.

For example, I have the random inputs $$i_1$$, $$i_2$$, $$i_3$$, $$i_4$$... from which the generator produces $$o_1$$, $$o_2$$, $$o_3$$, $$o_4$$. Say for example, the discriminator thinks that $$o_1$$ and $$o_2$$ are real but $$o_3$$ and $$o_4$$ are fake, I then throw away input output pairs 3 and 4, but keep 1 and 2, and run back propagation on the generator to tell it that $$i_1$$ should produce $$o_1$$, and $$i_2$$ should produce $$o_2$$ since these were "correct" according to the discriminator.

The contradiction seems to come from the fact that the generator already generates those outputs from those inputs, so nothing will be gained by running backprop on those input output pairs.

Where is the flaw in my logic here? I seem to have something wrong in my reasoning, or a misunderstanding of how the generator is trained.