Gamma in JSMA attack #1364
-
Hi, I have a question regarding the JSMA implementation in ART. In the JSMA paper Gamma is the total number of pixels allowed to be distorted which for a greyscale MNIST image is 28x28. However, how is this computed in similar manner for images with RGB channels (% of pixels or % of total features in an image)? So for instance, for CIFAR the image dim is 32x32x3 then when I say gamma is 0.1 then does this mean 10% of (3072)? I just want to confirm that gamma here is percent features and not percent pixels. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Abhishek2271 Yes, that is also my understanding of ART's JSMA implementation. For the example of CIFAR-10 the total number of features would be 32x32x3=3072 and Gamma would describe the fraction of this total number of features that can be modified. This means that each color channel of a pixel is changed and counted separately. |
Beta Was this translation helpful? Give feedback.
Hi @Abhishek2271 Yes, that is also my understanding of ART's JSMA implementation. For the example of CIFAR-10 the total number of features would be 32x32x3=3072 and Gamma would describe the fraction of this total number of features that can be modified. This means that each color channel of a pixel is changed and counted separately.