cg563 / simple-blackbox-attack

Code for ICML 2019 paper "Simple Black-box Adversarial Attacks"
MIT License
191 stars 56 forks source link

about the order of coordinate selection #17

Closed fzgang111 closed 3 years ago

fzgang111 commented 3 years ago

Hi. I have read the literature and code. I want to know where the diagonal order and block order come from? Could you give me some references?

cg563 commented 3 years ago

Both are randomized sampling methods that are biased towards selecting the top-left corner entries. You can see their definition in https://github.com/cg563/simple-blackbox-attack/blob/master/utils.py#L146 and https://github.com/cg563/simple-blackbox-attack/blob/master/utils.py#L169.

All results in the paper on ResNet and DenseNet are produced using the block order with initial_size=28 and stride=7. Hope this helps.