David and Goliath: An Empirical Evaluation of Attacks and Defenses for QNNs at the Deep Edge
Not on the map. Why?
Abstract (arXiv)
ML is shifting from the cloud to the edge. Edge computing reduces the surface exposing private data and enables reliable throughput guarantees in real-time applications. Of the panoply of devices deployed at the edge, resource-constrained MCUs, e.g., Arm Cortex-M, are more prevalent, orders of magnitude cheaper, and less power-hungry than application processors or GPUs. Thus, enabling intelligence at the deep edge is the zeitgeist, with researchers focusing on unveiling novel approaches to deploy ANNs on these constrained devices. Quantization is a well-established technique that has proved effective in enabling the deployment of neural networks on MCUs; however, it is still an open question to understand the robustness of QNNs in the face of adversarial examples. To fill this gap, we empirically evaluate the effectiveness of attacks and defenses from (full-precision) ANNs on (constrained) QNNs. Our evaluation includes three QNNs targeting TinyML applications, ten attacks, and six defenses. With this study, we draw a set of interesting findings. First, quantization increases the point distance to the decision boundary and leads the gradient estimated by some attacks to explode or vanish. Second, quantization can act as a noise attenuator or amplifier, depending on the noise magnitude, and causes gradient misalignment. Regarding adversarial defenses, we conclude that input pre-processing defenses show impressive results on small perturbations; however, they fall short as the perturbation increases. At the same time, train-based defenses increase the average point distance to the decision boundary, which holds after quantization. However, we argue that train-based defenses still need to smooth the quantization-shift and gradient misalignment phenomenons to counteract adversarial example transferability to QNNs. All artifacts are open-sourced to enable independent validation of results.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 49 references that are in the map. First posted on arXiv 8 Apr 2024.
Builds on
26 of 49 references.
References · 26
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 459
- 2017Adversarial Examples: Attacks and Defenses for Deep Learningcited by 350
- 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
14 more
- 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 154
- 2016Technical Report on the CleverHans v2.1.0 Adversarial Examples Librarycited by 123
- 2018CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUscited by 116
- 2020Deep Learning for LiDAR Point Clouds in Autonomous Driving: A Reviewcited by 114
- 2019Defensive Quantization: When Efficiency Meets Robustnesscited by 95
- 2020Benchmarking TinyML Systems: Challenges and Directioncited by 89
- 2020GeoDA: a geometric framework for black-box adversarial attackscited by 66
- 2017A Berkeley View of Systems Challenges for AIcited by 15
- 2020Improving Adversarial Robustness in Weight-quantized Neural Networkscited by 11
- 2021On the Adversarial Robustness of Quantized Neural Networkscited by 11
- 2019Impact of Low-bitwidth Quantization on the Adversarial Robustness for Embedded Neural Networkscited by 9
- 2021Optimal Transport as a Defense Against Adversarial Attackscited by 6
- 2023A 3 TOPS/W RISC-V Parallel Cluster for Inference of Fine-Grain Mixed-Precision Quantized Neural Networkscited by 3
- 2021Shifting Capsule Networks from the Cloud to the Deep Edgecited by 2
Built on by
Not cited yet.