Gradient-based attacks, particularly methods like FGSM, exploit the sign of the loss function's gradient with respect to the input to determine the precise direction for perturbing input data, thereby efficiently maximizing reconstruction error.
Open the full topic