-
Notifications
You must be signed in to change notification settings - Fork 10
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
Robust Accuracy of StAdv Model #10
Comments
Hi, I looked back at the evaluation output and it looks like our evaluation did give a robust accuracy of 53.9% to that model. What exact parameters are you using for the attack? I can also re-run the evaluation and make sure the models didn't get mixed up or something. |
Hey, I tried to follow the sample code in the starter notebook. |
Hey, sorry for the slow response. By default, StAdv uses 20 iterations but we evaluated with 100 for the PAT paper. It looks like the StAdv attack may actually be less strong when using more iterations, which would explain the discrepancy. I believe this is because it uses a penalty term on the "smoothness" of the perturbation. Using more iterations of optimization could thus improve the smoothness but reduce the effectiveness of the attack. Hopefully the community can find better spatial attacks more suited to benchmarking. I'm currently evaluating the model you evaluated using StAdv with only 20 iterations to see if I get the same results. |
Just confirmed that using only 20 iterations gives a robust accuracy for that model of 39.9%. |
Thanks for checking this. One fix could be to make an early stop on finding a successful example. Can you confirm which of the following models did you use for the numbers in the table in the main paper: |
Can you also let me know where do you set the number of iterations? |
I'll look into the early stopping. I thought the library If you look in the README under evaluation, there are the exact attacks used for evaluation in the paper. For instance, these are the ones for CIFAR-10:
You can see that the number of iterations is set using The README file in the checkpoints zip file describes exactly which checkpoints were used for each table in the paper—let me know if that answers your question. |
Hi, according to Table 2, (AT StAdv) model achieves >50% accuracy against StAdv attacks (bound = 0.05). I used the pre-trained models provided (stadv_0.05.pt) but got a robust accuracy of around ~40%. Can you confirm if this is indeed the case?
Thanks!
The text was updated successfully, but these errors were encountered: