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

matching numbers from the paper #2

Closed
krishnakanthnakka opened this issue Sep 18, 2018 · 1 comment
Closed

matching numbers from the paper #2

krishnakanthnakka opened this issue Sep 18, 2018 · 1 comment

Comments

@krishnakanthnakka
Copy link

krishnakanthnakka commented Sep 18, 2018

I'm trying to generate the Table 4, Row 1 results of the paper.

Set up is a white box, Model A, FGSM attack 0.3, No defense, 50 epochs, 1e-3 lr, MNIST, Adam optimizer. While the paper reports 99.7 classifier accuracy and 0.217 in case of no defense, the code produces around 99.4 classifier accuracy and 0.16 in the case of no defense.

Can you please tell us the changes to get close to original numbers. the only difference that I can notice is complete data (60K) is used in the code without any validation data

@po0ya
Copy link
Collaborator

po0ya commented Nov 4, 2018

@krishnakanthnakka unfortunately this code is very different than the one used for the paper due to various time constraints at different times. It's hard to exactly know where the difference is coming from, maybe it's due to simply not fixing the random seeds at that time. Feel free to report the numbers that are produced by the current code in your papers. The point of the repo was mostly to flesh out the algorithmic technical details of the implementation.

@po0ya po0ya closed this as completed Nov 4, 2018
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

2 participants