igul222 / improved_wgan_training

Code for reproducing experiments in "Improved Training of Wasserstein GANs"
MIT License
2.35k stars 670 forks source link

High discriminator values at edges #12

Closed stefdoerr closed 7 years ago

stefdoerr commented 7 years ago

Hey, I have been trying to make the improved wgan work on my dataset (using the toy examples) but I am getting the weird behaviour that the discriminator learns really high values at the edges of my data space, even though there are close to no samples there.

I don't know if you have any intuition as to what might cause this? Practically it seems like the generator learns to spawn from the correct distribution but for some reason the discriminator assigns huge values to areas where it hasn't seen any real or fake samples.

download 1

download 2

igul222 commented 7 years ago

In theory, the value of the critic at points which are never sampled can be anything at all -- there's no reason to expect those values to remain close to zero. This shouldn't be a problem for learning the generator though, since (as you mention) those points are never actually sampled, so the generator gets no signal from them.