paper-with-me

Papers

Defensive Quantization: When Efficiency Meets Robustness

2019-04-17 · ICLR 2019 5 · Ji Lin, Chuang Gan, Song Han

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.

📄 PDF Abstract BibTeX arXiv:1904.08444

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial AttackCPUGPUQuantization

Similar Papers 제목 키워드 기반

Attacking Binarized Neural Networks

2017-11-01 · ICLR 2018 1 · Angus Galloway, Graham W. Taylor, Medhat Moussa

Neural networks with low-precision weights and activations offer compelling efficiency advantages over their full-precision equivalents. The two most frequently discussed benefits of quantization are reduced memory consu…

Quantization

Feature Distillation: DNN-Oriented JPEG Compression Against Adversarial Examples

2018-03-14 · CVPR 2019 6 · Zihao Liu, Qi Liu, Tao Liu, Nuo Xu 외

Image compression-based approaches for defending against the adversarial-example attacks, which threaten the safety use of deep neural networks (DNN), have been investigated recently. However, prior works mainly rely on …

ClassificationGeneral ClassificationImage CompressionQuantization

Stable Unlearnable Example: Enhancing the Robustness of Unlearnable Examples via Stable Error-Minimizing Noise

2023-11-22 · Yixin Liu, Kaidi Xu, Xun Chen, Lichao Sun

The open source of large amounts of image data promotes the development of deep learning techniques. Along with this comes the privacy risk of these open-source image datasets being exploited by unauthorized third partie…

Chain-of-Defensive-Thought: Structured Reasoning Elicits Robustness in Large Language Models against Reference Corruption

2025-04-29 · Wenxiao Wang, Parsa Hosseini, Soheil Feizi

Chain-of-thought prompting has demonstrated great success in facilitating the reasoning abilities of large language models. In this work, we explore how these enhanced reasoning abilities can be exploited to improve the …

Natural Questions

Efficiency Meets Fidelity: A Novel Quantization Framework for Stable Diffusion

2024-12-09 · Shuaiting Li, Juncan Deng, Zeyu Wang, Kedong Xu 외

Text-to-image generation via Stable Diffusion models (SDM) have demonstrated remarkable capabilities. However, their computational intensity, particularly in the iterative denoising process, hinders real-time deployment …

DenoisingImage GenerationQuantizationText to Image Generation+1