SimulatorAttack icon indicating copy to clipboard operation
SimulatorAttack copied to clipboard

About Loss Functions and Targeted Attacks

Open jimo17 opened this issue 2 years ago • 1 comments

Hi and thanks for the open source. I am very interested in your paper. I have some questions. Excuse me, does the loss function used in training the simulator and the loss function used in the simulator attack have to be the same? Can I use a targeted attack while training the simulator and an untargeted attack while the simulator is attacking?

jimo17 avatar Jul 28 '22 12:07 jimo17

@jimo17 (1) No, they are different loss functions. The loss function used in training the simulator is the Mean-Square-Error(MSE) loss, the loss function used in attacking is the logits-difference loss or cross-entropy loss. (2) Sorry, I don't understand what do you mean? an untargeted attack while the simulator is attacking? YES, it can do it.

machanic avatar Aug 11 '22 08:08 machanic