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

Raise exception when using "--neuronwise_optimize" parameter #1

Open
zhangzhaodi233 opened this issue Dec 21, 2021 · 0 comments
Open

Comments

@zhangzhaodi233
Copy link

zhangzhaodi233 commented Dec 21, 2021

Hi Zhaoyang,

I'm really into your tool - FROWN, and I'm using it to get certifier bounds on my pretrained models with sigmoid. But when I used the parameter "--neuronwise_optimize". The code abrupt and raise exception in the following line.

def getConvenientGeneralActivationBound(l,u, activation, use_constant=False, remain_tangent_line_info=False):
if (l>u).sum()>0:
raise Exception('l must be less or equal to u')

Then, I read the paper "Fastened CROWN: Tightened Neural Network Robustness Certificates" again. In this paper, there is a Condition 1 - self-consistency. In the Chapter of "Fastened CROWN", it mentioned that "Condition 1 is too strong a condition for our proposed optimization framework to be practical. Actually we propose to improve CROWN by breaking Condition 1."

So, I don't know if the raised exception is related to the failure to meet Condition 1.

Thanks and regards,
Zoey

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