You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line is pointing to the first iteration of log, i.e. the distortion after finding the initial points by adding random distortion.
The log records all iteration's distortion and its # of quires until the algorithm stops, so you could think it is a matrix per example as shown in
Hello,
I am working through your implementation of the OPT attack, and had a question about calculation of distortion. It is logged as only
g_theta
here: https://github.com/cmhcbb/attackbox/blob/master/attack/OPT_attack.py#L69However if I understand correctly, the right way to log distortion would be as
LA.norm(g_theta * best_theta)
, since the final adversarial sample isx0 + g_theta*best_theta
. It is printed that way here: https://github.com/cmhcbb/attackbox/blob/master/attack/OPT_attack.py#L99Could this be clarified by the authors?
Thanks
The text was updated successfully, but these errors were encountered: