F

méthode du gradient de signe rapide

FGSM

La méthode du signe du gradient rapide (Fast Gradient Sign Method, FGSM) est une technique pour générer des exemples adversaires en apprentissage automatique.

La Méthode du signe du gradient rapide (FGSM) is an efficient algorithm used in the field of apprentissage automatique, particularly in the area of l'apprentissage automatique adversaire. It aims to create adversarial examples—slightly altered inputs designed to deceive machine learning models into making incorrect predictions.

FGSM works by leveraging the gradients of the fonction de perte with respect to the input data. The core idea is to modify the input data in the direction that maximizes the loss, which is typically associated with the model’s predictions. This is achieved by calculating the gradient of the loss function and then adjusting the input data using a small perturbation. The perturbation is determined by the sign of the gradient, hence the name ‘Fast Gradient Sign Method.’

Mathématiquement, la FGSM peut être représentée comme suit :

x' = x + ε * sign(∇_x J(θ, x, y))

Ici, x is the original input, x’ is the adversarial example, ε is a small constant that controls the magnitude of the perturbation, ∇_x J(θ, x, y) denotes the gradient of the loss function J with respect to the input x, and y represents the true label. The sign function extracts the direction of the gradient, ensuring that the perturbation is applied in the most effective way to increase the model’s error.

FGSM is notable for its speed and simplicity, allowing researchers and practitioners to quickly generate adversarial examples for evaluating the robustness of machine learning models. However, while it is effective, FGSM can be limited in its ability to create strong attaques adverses against more sophisticated models.

oEmbed (JSON) + /