Defensive Quantization: When Efficiency Meets Robustness

By Ji Lin, Chuang Gan, Song Han. 2019

222 citations recorded by the source corpus.

Neural network quantization is becoming an industry standard to efficiently deploy deep learning models on hardware platforms, such as CPU, GPU, TPU, and FPGAs. However, we observe that the conventional quantization approaches are vulnerable to adversarial attacks. This paper aims to raise people's awareness about the security of the quantized models, and we designed a novel quantization methodology to jointly optimize the efficiency and robustness of deep learning models. We first conduct an empirical study to show that vanilla quantization suffers more from adversarial attacks. We observe that the inferior robustness comes from the error amplification effect, where the quantization operation further enlarges the distance caused by amplified noise. Then we propose a novel Defensive Quantization (DQ) method by controlling the Lipschitz constant of the network during quantization, such that the magnitude of the adversarial noise remains non-expansive during inference. Extensive experiments on CIFAR-10 and SVHN datasets demonstrate that our new quantization method can defend neural networks against adversarial examples, and even achieves superior robustness than their full-precision counterparts while maintaining the same hardware efficiency as vanilla quantization approaches. As a by-product, DQ can also improve the accuracy of quantized models without adversarial attack.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Radiation, Efficiency & Compression, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mubarak Shah
  2. Ajmal Saeed Mian
  3. Navid Kardan
  4. Naveed Akhtar
  5. Ziwei Liu
  6. Mahyar Najibi
  7. Larry S. Davis
  8. Tom Goldstein

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Bernt Schiele
  4. Xiaogang Wang
  5. Ming-Hsuan Yang
  6. Jitendra Malik
  7. Larry S. Davis
  8. Andrew Zisserman

In Radiation

  1. Dinghuai Zhang
  2. Bin Dong
  3. Zhanxing Zhu
  4. Christoph Studer
  5. Tom Goldstein
  6. Tianyuan Zhang
  7. Yiping Lu

In Efficiency & Compression

  1. Larry S. Davis
  2. Zheng Xu
  3. Mahyar Najibi
  4. Dinghuai Zhang
  5. Haotao Wang
  6. Sijia Liu
  7. Mubarak Shah
  8. Bin Dong

In Safety, Robustness & Interpretability

  1. Tom Goldstein
  2. Mubarak Shah
  3. Navid Kardan
  4. Hongge Chen
  5. Adnan Siraj Rakin
  6. Zhezhi He
  7. Deliang Fan
  8. Sijia Liu

Citations in the corpus