Attack as Defense: Characterizing Adversarial Examples using Robustness

Zhe Zhao, Guangke Chen, Jingyi Wang, Yiwei Yang, Fu Song +1 more
3/13/2021
cs.CRcs.AIcs.SE

Official code: persistz/attack-as-defense (11 stars, Python, last commit 2021-09-04).

Abstract

As a new programming paradigm, deep learning has expanded its application to many real-world problems. At the same time, deep learning based software are found to be vulnerable to adversarial attacks.

Show full abstract

Though various defense mechanisms have been proposed to improve robustness of deep learning software, many of them are ineffective against adaptive attacks. In this work, we propose a novel characterization to distinguish adversarial examples from benign ones based on the observation that adversarial examples are significantly less robust than benign ones. As existing robustness measurement does not scale to large networks, we propose a novel defense framework, named attack as defense (A2D), to detect adversarial examples by effectively evaluating an example's robustness. A2D uses the cost of attacking an input for robustness evaluation and identifies those less robust examples as adversarial since less robust examples are easier to attack. Extensive experiment results on MNIST, CIFAR10 and ImageNet show that A2D is more effective than recent promising approaches. We also evaluate our defence against potential adaptive attacks and show that A2D is effective in defending carefully designed adaptive attacks, e.g., the attack success rate drops to 0% on CIFAR10.

View on arXivView PDF

Code Implementations(1)

Code for ISSTA'21 paper 'Attack as Defense: Characterizing Adversarial Examples using Robustness'.

112Python, ShellJul 14, 20215 years ago

Similar Papers

Cite this paper

@article{zhao2021attack,
  title  = {Attack as Defense: Characterizing Adversarial Examples using Robustness},
  author = {Zhe Zhao and Guangke Chen and Jingyi Wang and Yiwei Yang and Fu Song and Jun Sun},
  year   = {2021},
  eprint = {2103.07633},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.07633}
}

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

Discussion