Combating Adversarial Attacks Using Sparse Representations

Soorya Gopalakrishnan, Zhinus Marzi, Upamanyu Madhow, Ramtin Pedarsani
3/11/2018
stat.MLcs.ITcs.LG

Official code: soorya19/sparsity-based-defenses (7 stars, BSD-3-Clause, last commit 2020-05-14).

Abstract

It is by now well-known that small adversarial perturbations can induce classification errors in deep neural networks (DNNs). In this paper, we make the case that sparse representations of the input data are a crucial tool for combating such attacks. For linear classifiers, we show that a sparsifying front end is provably effective against $\ell_{\infty}$-bounded attacks, reducing output distortion due to the attack by a factor of roughly $K / N$ where $N$ is the data dimension and $K$ is the sparsity level. We then extend this concept to DNNs, showing that a "locally linear" model can be used to develop a theoretical foundation for crafting attacks and defenses. Experimental results for the MNIST dataset show the efficacy of the proposed sparsifying front end.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Sparsity-based defenses against adversarial attacks on machine learning classifiers

72PythonApr 28, 20186 years agoBSD-3-Clause

Cite this paper

@article{gopalakrishnan2018combating,
  title  = {Combating Adversarial Attacks Using Sparse Representations},
  author = {Soorya Gopalakrishnan and Zhinus Marzi and Upamanyu Madhow and Ramtin Pedarsani},
  year   = {2018},
  eprint = {1803.03880},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.03880}
}

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

Discussion