fra31 / sparse-rs

Sparse-RS: a versatile framework for query-efficient sparse black-box adversarial attacks
https://arxiv.org/abs/2006.12834
MIT License
44 stars 6 forks source link

Is the update paper for patch locations consistent with the code? #8

Open bobiyaya opened 1 year ago

bobiyaya commented 1 year ago

The paper shows that patch's position update is randomly selected within a 2D L∞ ball, but looking at the code indicates that it seems to be randomly selected within a square domain.

位置更新 2d无穷球

Looking forward to your reply

fra31 commented 1 year ago

Hi,

I'm not sure to understand the question. I think the square domain can be seen as an $\ell_\infty$-ball around the corner of the patch. Or do you mean something else?