-
Notifications
You must be signed in to change notification settings - Fork 14
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
Results Interpretation #1
Comments
Sorry for the late reply. Yes, you can use the code to evaluate your model, no mater how they were trained. When you run the code example for computing CROWN verified error, It is easy the dump CROWN bounds on some architecture + data, on any networks, not necessarily trained using CROWN-IBP. There is some commented code in These comments print out lower and upper bounds for all examples in a batch. You can check if the lower bound is less than 0 to determine if an example is guaranteed to be safe or not, just like what I did for computing the verified error here. In order to make the code read your model and data, you can follow instructions on how to train your own model, except for the last step where you run Let me know if there is anything unclear or if you have any further questions. |
No worries, thank you for the detailed reply, I'll try it in the next days. |
I am just wondering why you only need to check lowerbound<0 to guarantee safety? I thought we needed to check whether the perturbation is within the boundary - But I might just be confused about the definition of verification |
How could one print out model parameters for each layer? |
I don't remember if models allowed are from keras implementations, but in that case it's enough
|
Hi,
When I run the CROWN verified error with let's say \epsilon = 0.3, what's the exact meaning of the terms in the output like Loss, CE loss etc.? I'd like to estimate or desume a lower bound with just CROWN on some architectures+data, is it possible with this code?
p.s. the architecture has not been trained with CROWN-IBP, it is just naturally trained (or at least with adversarial robustness).
Written in other words, given an epsilon radius, I'd like to know if that n-ball is safe using just CROWN.. is it possible to do that with your code and with a naturally trained architecture that I've built by myself?
Thank you,
Best.
The text was updated successfully, but these errors were encountered: