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
Hi,
I use SMART.
In the SMART paper, the gradient is divided by the infinity norm of the gradient first, but in the perturbation.py, the gradient is multiplied by the step_size first, and then the sum of the initial noise and the gradient is divided by the infinity norm of it.
According to the algorithm on the paper, I think that the only gradient is divided by the infinity norm of the gradient, and then the initial noise should be added to it
Could you let me know which is correct?
The text was updated successfully, but these errors were encountered:
Hi,
I use SMART.
In the SMART paper, the gradient is divided by the infinity norm of the gradient first, but in the perturbation.py, the gradient is multiplied by the step_size first, and then the sum of the initial noise and the gradient is divided by the infinity norm of it.
According to the algorithm on the paper, I think that the only gradient is divided by the infinity norm of the gradient, and then the initial noise should be added to it
Could you let me know which is correct?
The text was updated successfully, but these errors were encountered: