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

some questions about dropout in VAT #4

Open
caoxu915683474 opened this issue Apr 3, 2019 · 3 comments
Open

some questions about dropout in VAT #4

caoxu915683474 opened this issue Apr 3, 2019 · 3 comments
Labels
bug Something isn't working question Further information is requested

Comments

@caoxu915683474
Copy link

hello, I have some questions about dropout in VAT.

If I use dropout in VAT, the output distribution will change even without perturbation.

thanks!

@enricivi enricivi added the question Further information is requested label Apr 3, 2019
@enricivi
Copy link
Owner

enricivi commented Apr 3, 2019 via email

@caoxu915683474
Copy link
Author

Hi, I come back again. A question of virtual adversarial training arose to me. When using this method, we first feed the unlabeled data into the forward net to get their predictions as labels, and in the meantime, feed the noised data to get logits, then regard the KL divergence as the loss to get r_vadv. But in your codes, you applied dropout to the forward net. As far as I know, tensorflow only reuses variables and no operation (e.g. dropout) in the graph, thus the logits and the labels we get from the above procedure use different settings of dropout, i.e., the KL divergence computed may include the noises from dropout. How do you consider about it? Would it make the r_vadv not accurate enough?

@enricivi enricivi added bug Something isn't working help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Apr 5, 2019
@aurelpjetri
Copy link
Collaborator

Hi Cao_enjun,
sorry for the late reply. We have analysed our code and your issue seems to be actually a bug in our code. Unfortunately, we can't currently fix this problem due to other deadlines. If you have a solution to propose and want to make a pull request we would appreciate it very much.

Thank you,
aurel.

@aurelpjetri aurelpjetri reopened this Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants