robustness
robustness copied to clipboard
What is fgsm function in corruptions.py file?
In the documentation of ImageNet-C Corruption Functions, There are 19 functions.
But in the implementation, there is another function called fgsm that has a weird implementation.
Anyone could explain it to me what is it?
Thanks.
fgsm stands for Fast-Gradient-Sign-Method, which is an optimization/updating method for white-box attack. It generates adversarail patterns based on gradient values (specifically, its sign, i.e. positive or negtive).
Hope you find it helpful if you still need it.