Defensive Quantization: When Efficiency Meets Robustness
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 95 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Apr 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 29; 2022: 22; 2023: 20; 2024: 10; 2025: 10; 2026: 4.
95 papers.
Sort:
By area:
- 2021Towards Robust Vision Transformercited by 137
- 2021Advances in adversarial attacks and defenses in computer vision: A surveycited by 127
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2021When Does Contrastive Learning Preserve Adversarial Robustness from Pretraining to Finetuning?cited by 76
- 2021SoK: How Robust is Image Classification Deep Neural Network Watermarking? (Extended Version)cited by 67
- 2023Intriguing Properties of Quantization at Scalecited by 48
- 2021WaveGuard: Understanding and Mitigating Audio Adversarial Examplescited by 39
- 2021Qimera: Data-free Quantization with Synthetic Boundary Supporting Samplescited by 39
- 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantizationcited by 36
- 2021Inspect, Understand, Overcome: A Survey of Practical Methods for AI Safetycited by 35
- 2022DL4SciVis: A State-of-the-Art Survey on Deep Learning for Scientific Visualizationcited by 32
- 2021Drawing Robust Scratch Tickets: Subnetworks with Inborn Robustness Are Found within Randomly Initialized Networkscited by 29
38 more
- 2022Machine Learning for Microcontroller-Class Hardware: A Reviewcited by 28
- 2021QuantumNAT: Quantum Noise-Aware Training with Noise Injection, Quantization and Normalizationcited by 27
- 2021Distribution-sensitive Information Retention for Accurate Binary Neural Networkcited by 25
- 2021Taxonomy of Machine Learning Safety: A Survey and Primercited by 22
- 2023BiBench: Benchmarking and Analyzing Network Binarizationcited by 22
- 2023RobustMQ: Benchmarking Robustness of Quantized Modelscited by 19
- 2022Lipschitz Continuity Retained Binary Neural Networkcited by 14
- 2022DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted Hardwarecited by 13
- 2023CBD: A Certified Backdoor Detector Based on Local Dominant Probabilitycited by 13
- 2022On the Robustness of Bayesian Neural Networks to Adversarial Attackscited by 12
- 2021On the Adversarial Robustness of Quantized Neural Networkscited by 11
- 2023Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradientcited by 11
- 2021Fast Gradient Non-sign Methodscited by 9
- 2022QEBVerif: Quantization Error Bound Verification of Neural Networkscited by 9
- 2024Investigating the Impact of Quantization on Adversarial Robustnesscited by 9
- 2021CARTL: Cooperative Adversarially-Robust Transfer Learningcited by 8
- 2022CorrectNet: Robustness Enhancement of Analog In-Memory Computing for Neural Networks by Error Suppression and Compensationcited by 8
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2022Special Session: Towards an Agile Design Methodology for Efficient, Reliable, and Secure ML Systemscited by 6
- 2022A Tale of Two Models: Constructing Evasive Attacks on Edge Modelscited by 6
- 2023Risk-optimized Outlier Removal for Robust 3D Point Cloud Classificationcited by 6
- 2023Relationship between Model Compression and Adversarial Robustness: A Review of Current Evidencecited by 6
- 2021A Little Energy Goes a Long Way: Build an Energy-Efficient, Accurate Spiking Neural Network from Convolutional Neural Networkcited by 5
- 2021Stochastic-Shield: A Probabilistic Approach Towards Training-Free Adversarial Defense in Quantized CNNscited by 5
- 2022Robust Binary Models by Pruning Randomly-initialized Networkscited by 5
- 20212-in-1 Accelerator: Enabling Random Precision Switch for Winning Both Adversarial Robustness and Efficiencycited by 4
- 2022RoVISQ: Reduction of Video Service Quality via Adversarial Attacks on Deep Learning-based Video Compressioncited by 4
- 2022CSTAR: Towards Compact and STructured Deep Neural Networks with Adversarial Robustnesscited by 4
- 2021One Model for All Quantization: A Quantized Network Supporting Hot-Swap Bit-Width Adjustmentcited by 3
- 2021Efficiency-driven Hardware Optimization for Adversarially Robust Neural Networkscited by 3
- 2021A Layer-wise Adversarial-aware Quantization Optimization for Improving Robustnesscited by 3
- 2021Generalized Depthwise-Separable Convolutions for Adversarially Robust and Efficient Neural Networkscited by 3
- 2022What Do Adversarially trained Neural Networks Focus: A Fourier Domain-based Studycited by 3
- 2022Symmetry Regularization and Saturating Nonlinearity for Robust Quantizationcited by 3
- 2022Seeking Interpretability and Explainability in Binary Activated Neural Networkscited by 3
- 2023Improving Robustness Against Adversarial Attacks with Deeply Quantized Neural Networkscited by 3
- 2021Noise Sensitivity-Based Energy Efficient and Robust Adversary Detection in Neural Networkscited by 2
- 2021Adversarial Machine Learning in Text Analysis and Generationcited by 2
50 most cited of 95 All 95 (JSON)
- 2026AeroDPO: Unleashing Lightweight UAV Navigation with High-Fidelity Perception and Automated Preference Optimization2 Aug 2026
- 2026Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networks26 Jun 2026
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent1 Apr 2026
- 2026Layerwise Progressive Freezing Enables STE-Free Training of Deep Binary Neural Networks30 Jan 2026
- 2025Quantization Blindspots: How Model Compression Breaks Backdoor Defenses6 Dec 2025
- 2025Q-MLLM: Vector Quantization for Robust Multimodal Large Language Model Security20 Nov 2025
- 2025Robust Client-Server Watermarking for Split Federated Learning17 Nov 2025
- 2025Enhancing Robustness of Implicit Neural Representations Against Weight Perturbations19 Aug 2025
- 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Models16 May 2025
- 2025Gradual Binary Search and Dimension Expansion : A general method for activation quantization in LLMs18 Apr 2025
- 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantization13 Apr 2025
- 2025Variance-Aware Noisy Training: Hardening DNNs against Unstable Analog Computations20 Mar 2025
38 more
- 2025Stabilizing Quantization-Aware Training by Implicit-Regularization on Hessian Matrix14 Mar 2025
- 2025Quantitative Analysis of Deeply Quantized Tiny Neural Networks Robust to Adversarial Attacks12 Mar 2025
- 2024ARQ: A Mixed-Precision Quantization Framework for Accurate and Certifiably Robust DNNs31 Oct 2024
- 2024Is ReLU Adversarially Robust?6 May 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
- 2024David and Goliath: An Empirical Evaluation of Attacks and Defenses for QNNs at the Deep Edge8 Apr 2024
- 2024Investigating the Impact of Quantization on Adversarial Robustness8 Apr 2024
- 2024An Empirical Study of the Influence of Adversarial Fine-Tuning on Compressed Neural Networks14 Mar 2024
- 2024Are Classification Robustness and Explanation Robustness Really Strongly Correlated? An Analysis Through Input Loss Landscape9 Mar 2024
- 2024In-Distribution Consistency Regularization Improves the Generalization of Quantization-Aware Training21 Feb 2024
- 2024Robustness to distribution shifts of compressed networks for edge devices22 Jan 2024
- 2024Machine Translation Testing via Syntactic Tree Pruning1 Jan 2024
- 2023ARBiBench: Benchmarking Adversarial Robustness of Binarized Neural Networks21 Dec 2023
- 2023VNN: Verification-Friendly Neural Networks with Hard Robustness Guarantees15 Dec 2023
- 2023Improving the Robustness of Quantized Deep Neural Networks to White-Box Attacks using Stochastic Quantization and Information-Theoretic Ensemble Training30 Nov 2023
- 2023Relationship between Model Compression and Adversarial Robustness: A Review of Current Evidence27 Nov 2023
- 2023RepQ: Generalizing Quantization-Aware Training for Re-Parametrized Architectures9 Nov 2023
- 2023CBD: A Certified Backdoor Detector Based on Local Dominant Probability26 Oct 2023
- 2023RobustEdge: Low Power Adversarial Detection for Cloud-Edge Systems5 Sep 2023
- 2023HyperSNN: A new efficient and robust deep learning model for resource constrained control applications16 Aug 2023
- 2023RobustMQ: Benchmarking Robustness of Quantized Models4 Aug 2023
- 2023An Estimator for the Sensitivity to Perturbations of Deep Neural Networks24 Jul 2023
- 2023Risk-optimized Outlier Removal for Robust 3D Point Cloud Classification20 Jul 2023
- 2023Intriguing Properties of Quantization at Scale30 May 2023
- 2023Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradient25 Apr 2023
- 2023Improving Robustness Against Adversarial Attacks with Deeply Quantized Neural Networks25 Apr 2023
- 2023Benchmarking the Robustness of Quantized Models8 Apr 2023
- 2023Latent Feature Relation Consistency for Adversarial Robustness29 Mar 2023
- 2023Adversarial Attacks on Machine Learning in Embedded and IoT Platforms3 Mar 2023
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classification19 Feb 2023
- 2023BiBench: Benchmarking and Analyzing Network Binarization26 Jan 2023
- 2023RedBit: An End-to-End Flexible Framework for Evaluating the Accuracy of Quantized CNNs15 Jan 2023
- 2022QEBVerif: Quantization Error Bound Verification of Neural Networks6 Dec 2022
- 2022CSTAR: Towards Compact and STructured Deep Neural Networks with Adversarial Robustness4 Dec 2022
- 2022CorrectNet: Robustness Enhancement of Analog In-Memory Computing for Neural Networks by Error Suppression and Compensation27 Nov 2022
- 2022Towards Global Neural Network Abstractions with Locally-Exact Reconstruction21 Oct 2022
- 2022ODG-Q: Robust Quantization via Online Domain Generalization17 Oct 2022
- 2022Seeking Interpretability and Explainability in Binary Activated Neural Networks7 Sep 2022
50 newest of 95 All 95 (JSON)
- 2021Towards Robust Vision Transformercited by 137
- 2021Advances in adversarial attacks and defenses in computer vision: A surveycited by 127
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2021When Does Contrastive Learning Preserve Adversarial Robustness from Pretraining to Finetuning?cited by 76
- 2021SoK: How Robust is Image Classification Deep Neural Network Watermarking? (Extended Version)cited by 67
- 2023Intriguing Properties of Quantization at Scalecited by 48
- 2021WaveGuard: Understanding and Mitigating Audio Adversarial Examplescited by 39
- 2021Qimera: Data-free Quantization with Synthetic Boundary Supporting Samplescited by 39
- 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantizationcited by 36
- 2021Inspect, Understand, Overcome: A Survey of Practical Methods for AI Safetycited by 35
- 2022DL4SciVis: A State-of-the-Art Survey on Deep Learning for Scientific Visualizationcited by 32
- 2021Drawing Robust Scratch Tickets: Subnetworks with Inborn Robustness Are Found within Randomly Initialized Networkscited by 29
12 most cited of 93 All 93 (JSON)
- 2026Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networks26 Jun 2026
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent1 Apr 2026
- 2026Layerwise Progressive Freezing Enables STE-Free Training of Deep Binary Neural Networks30 Jan 2026
- 2025Quantization Blindspots: How Model Compression Breaks Backdoor Defenses6 Dec 2025
- 2025Robust Client-Server Watermarking for Split Federated Learning17 Nov 2025
- 2025Enhancing Robustness of Implicit Neural Representations Against Weight Perturbations19 Aug 2025
- 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Models16 May 2025
- 2025Gradual Binary Search and Dimension Expansion : A general method for activation quantization in LLMs18 Apr 2025
- 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantization13 Apr 2025
- 2025Variance-Aware Noisy Training: Hardening DNNs against Unstable Analog Computations20 Mar 2025
- 2025Stabilizing Quantization-Aware Training by Implicit-Regularization on Hessian Matrix14 Mar 2025
- 2025Quantitative Analysis of Deeply Quantized Tiny Neural Networks Robust to Adversarial Attacks12 Mar 2025
12 newest of 93 All 93 (JSON)