In this paper https://arxiv.org/abs/1406.2661 , the codes for training a gan are :
Why do we train the discriminator for $k$ steps while the generator only for $1$ step? Why not the other way around?
Artificial Intelligence Stack Exchange is a question and answer site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment. It only takes a minute to sign up.
Sign up to join this communityIn this paper https://arxiv.org/abs/1406.2661 , the codes for training a gan are :
Why do we train the discriminator for $k$ steps while the generator only for $1$ step? Why not the other way around?
The answer to your question can be found in [1, sec. 4.4]. Briefly, the GAN optimization problem is a mini-max game, and early on the proposition of GANs, the authors had the idea that one should balance the power/optimization of these two actors. Here is a quote from the said reference:
The author’s present belief is that GANs work by estimating the ratio of the data density and model density. This ratio is estimated correctly only when the discriminator is optimal, so it is fine for the discriminator to overpower the generator.
It appears that, despite their initial claims in [2], the authors do not believe that this is the case anymore. In [1], Goodfellow explains,
The idea that the discriminator should always be optimal in order to best estimate the ratio would suggest training the discriminator for k > 1 steps every time the generator is trained for one step. In practice, this does not usually result in a clear improvement.
To summarize: when the discriminator is near optimality, the ratio between densities ($p_{data}$ and $p_{model}$) is mode accurate, generating better gradients to update $p_{model}$ a.k.a. the generator. If you choose to do the other way around, you would be updating the generator successively with poor gradients.
[1] Goodfellow, I. (2016). Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160.
[2] Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., ... & Bengio, Y. (2014). Generative adversarial nets. Advances in neural information processing systems, 27.