Do Perceptually Aligned Gradients Imply Adversarial Robustness?

Roy Ganz, Bahjat Kawar, Michael Elad
7/22/2022
cs.CV

No official code found. Best implementation: royg27/PAG-ROB (6 stars, last commit 2023-07-25).

Abstract

Adversarially robust classifiers possess a trait that non-robust models do not -- Perceptually Aligned Gradients (PAG). Their gradients with respect to the input align well with human perception. Several works have identified PAG as a byproduct of robust training, but none have considered it as a standalone phenomenon nor studied its own implications. In this work, we focus on this trait and test whether \emph{Perceptually Aligned Gradients imply Robustness}. To this end, we develop a novel objective to directly promote PAG in training classifiers and examine whether models with such gradients are more robust to adversarial attacks. Extensive experiments on multiple datasets and architectures validate that models with aligned gradients exhibit significant robustness, exposing the surprising bidirectional connection between PAG and robustness. Lastly, we show that better gradient alignment leads to increased robustness and harness this observation to boost the robustness of existing adversarial training techniques.

View on arXivView PDF

Code Implementations(1)

royg27/PAG-ROBCommunity100%

[ICML 2023 - Oral] Do Perceptually Aligned Gradients Imply Robustness? -- Official Code Repository

61PythonMay 26, 20233 years ago

Similar Papers

Cite this paper

@article{ganz2022perceptually,
  title  = {Do Perceptually Aligned Gradients Imply Adversarial Robustness?},
  author = {Roy Ganz and Bahjat Kawar and Michael Elad},
  year   = {2022},
  eprint = {2207.11378},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11378v3}
}

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/2207.11378.svg)](https://codeofpaper.com/paper/2207.11378)

Discussion