electra icon indicating copy to clipboard operation
electra copied to clipboard

Adversarially training

Open mshislam opened this issue 3 years ago • 2 comments

In the paper you mentioned about experiment of training Adversarially and you said "it is challenging because it is impossible to backpropagate through sampling from the generator" could you please elaborate more on this issue and whether you have found a solution?

mshislam avatar Feb 12 '21 23:02 mshislam

Not the author, but this might be a better question for StackOverflow or the like. Essentially, gradient descent cannot be applied when there are stochastic nodes in the computation graph (what is the gradient through the sampling step? this is equivalent to asking what is the derivative of a random variable with respect to the source of the randomness, which can't be computed [in general] although there have been attempts to smartly work around it in specific cases). I think a more common way this problem manifests itself is in the context of the reparameterization trick, so it might help to look into that too.

gokart23 avatar Mar 03 '21 20:03 gokart23

Is the code using reinforce for adversarial training publicly available?

afcruzs avatar May 11 '21 18:05 afcruzs