Closed haoming-codes closed 2 years ago
Yes that’s expected as tightness of bounds can be different.
Can you please elaborate more? Why should the tightness be different?
@haoming-codes lb1 should be tighter than lb2+lb3 and ub1 should be tighter than ub2+ub3, due to the last layer elision trick. See https://arxiv.org/pdf/1810.12715.pdf
@huanzhang12 @shizhouxing Thank you!
In running the sample code
auto_LiRPA/examples/vision/simple_training.py --bound_type IBP
, I was trying to test whether {the bound of the margin between classes} is equal to {the difference between the bound between classes}.Specifically, I did
I expect
lb1 == lb2+lb3
andub1 == ub2+ub3
, but they are not equal. Is this expected?