Adversarial Robustness vs Model Compression, or Both?

Shaokai Ye, Kaidi Xu, Sijia Liu, Jan-Henrik Lambrechts, Huan Zhang +4 more
3/29/2019
cs.CVcs.CRcs.LG
quantization-pruning

Official code: yeshaokai/Robustness-Aware-Pruning-ADMM (90 stars, Python, last commit 2021-06-22).

Abstract

It is well known that deep neural networks (DNNs) are vulnerable to adversarial attacks, which are implemented by adding crafted perturbations onto benign examples. Min-max robust optimization based adversarial training can provide a notion of security against adversarial attacks.

Show full abstract

However, adversarial robustness requires a significantly larger capacity of the network than that for the natural training with only benign examples. This paper proposes a framework of concurrent adversarial training and weight pruning that enables model compression while still preserving the adversarial robustness and essentially tackles the dilemma of adversarial training. Furthermore, this work studies two hypotheses about weight pruning in the conventional setting and finds that weight pruning is essential for reducing the network model size in the adversarial setting, training a small model from scratch even with inherited initialization from the large model cannot achieve both adversarial robustness and high standard accuracy. Code is available at https://github.com/yeshaokai/Robustness-Aware-Pruning-ADMM.

View on arXivView PDF

Code Implementations(1)

Code release for "Adversarial Robustness vs Model Compression, or Both?"

9025PythonAug 6, 20195 years ago

Similar Papers

Cite this paper

@article{ye2019adversarial,
  title  = {Adversarial Robustness vs Model Compression, or Both?},
  author = {Shaokai Ye and Kaidi Xu and Sijia Liu and Jan-Henrik Lambrechts and Huan Zhang and Aojun Zhou and Kaisheng Ma and Yanzhi Wang and Xue Lin},
  year   = {2019},
  eprint = {1903.12561},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.12561}
}

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

Discussion