Quantifying the Preferential Direction of the Model Gradient in Adversarial Training With Projected Gradient Descent

Ricardo Bigolin Lanfredi, Joyce D. Schroeder, Tolga Tasdizen
9/10/2020
stat.MLcs.CVcs.LG

Official code: ricbl/gradient-direction-of-robust-models (0 stars, Python, last commit 2022-01-26).

Abstract

Adversarial training, especially projected gradient descent (PGD), has proven to be a successful approach for improving robustness against adversarial attacks. After adversarial training, gradients of models with respect to their inputs have a preferential direction.

Show full abstract

However, the direction of alignment is not mathematically well established, making it difficult to evaluate quantitatively. We propose a novel definition of this direction as the direction of the vector pointing toward the closest point of the support of the closest inaccurate class in decision space. To evaluate the alignment with this direction after adversarial training, we apply a metric that uses generative adversarial networks to produce the smallest residual needed to change the class present in the image. We show that PGD-trained models have a higher alignment than the baseline according to our definition, that our metric presents higher alignment values than a competing metric formulation, and that enforcing this alignment increases the robustness of models.

View on arXivView PDF

Code Implementations(1)

Code for the experiments from the paper "Quantifying the Preferential Direction of the Model Gradient in Adversarial Training With Projected Gradient Descent"

00Python, ShellFeb 16, 20214 years agoNOASSERTION

Similar Papers

Cite this paper

@article{lanfredi2020quantifying,
  title  = {Quantifying the Preferential Direction of the Model Gradient in Adversarial Training With Projected Gradient Descent},
  author = {Ricardo Bigolin Lanfredi and Joyce D. Schroeder and Tolga Tasdizen},
  year   = {2020},
  eprint = {2009.04709},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.04709}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.04709.svg)](https://codeofpaper.com/paper/2009.04709)

Discussion