Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label smoothing #41

Open
knazeri opened this issue May 28, 2018 · 0 comments
Open

Label smoothing #41

knazeri opened this issue May 28, 2018 · 0 comments

Comments

@knazeri
Copy link

knazeri commented May 28, 2018

I believe the label smoothing is not performed for fake samples as mentioned under Use Soft and Noisy Labels section in this repo. In the referenced paper by Salimans et. al. 2016 they mention that they smooth only the positive labels, leaving negative labels set to 0.

It was later explained by Goodfellow at NIPS 2016 Tutorial why label smoothing is done only for real samples:

It is important to not smooth the labels for the fake samples. Suppose we use a target of 1 − α for the real data and a target of 0 + β for the fake samples. When β is zero, then smoothing by α does nothing but scale down the optimal value of the discriminator. When β is nonzero, the shape of the optimal discriminator function changes. The discriminator will thus reinforce incorrect behavior in the generator; the generator will be trained either to produce samples that resemble the data or to produce samples that resemble the samples it already makes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant