mlsanityData to 14 Oct 2026

2-in-1 Accelerator: Enabling Random Precision Switch for Winning Both Adversarial Robustness and Efficiency

arXiv 2109.05223 ↗First posted 11 Sep 2021cs.LG cs.AR cs.CRcited by 5

Not on the map. Why?

Abstract (arXiv)

The recent breakthroughs of deep neural networks (DNNs) and the advent of billions of Internet of Things (IoT) devices have excited an explosive demand for intelligent IoT devices equipped with domain-specific DNN accelerators. However, the deployment of DNN accelerator enabled intelligent functionality into real-world IoT devices still remains particularly challenging. First, powerful DNNs often come at prohibitive complexities, whereas IoT devices often suffer from stringent resource constraints. Second, while DNNs are vulnerable to adversarial attacks especially on IoT devices exposed to complex real-world environments, many IoT applications require strict security. Existing DNN accelerators mostly tackle only one of the two aforementioned challenges (i.e., efficiency or adversarial robustness) while neglecting or even sacrificing the other. To this end, we propose a 2-in-1 Accelerator, an integrated algorithm-accelerator co-design framework aiming at winning both the adversarial robustness and efficiency of DNN accelerators. Specifically, we first propose a Random Precision Switch (RPS) algorithm that can effectively defend DNNs against adversarial attacks by enabling random DNN quantization as an in-situ model switch. Furthermore, we propose a new precision-scalable accelerator featuring (1) a new precision-scalable MAC unit architecture which spatially tiles the temporal MAC units to boost both the achievable efficiency and flexibility and (2) a systematically optimized dataflow that is searched by our generic accelerator optimizer. Extensive experiments and ablation studies validate that our 2-in-1 Accelerator can not only aggressively boost both the adversarial robustness and efficiency of DNN accelerators under various attacks, but also naturally support instantaneous robustness-efficiency trade-offs adapting to varied resources without the necessity of DNN retraining.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 68 of its 88 references that are in the map. First posted on arXiv 11 Sep 2021.

Builds on

68 of 88 references.

References · 68

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  3. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  4. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  5. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  6. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  7. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
  8. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  9. 2016Practical Black-Box Attacks against Machine Learningcited by 903
  10. 2017Ensemble Adversarial Training: Attacks and Defensescited by 840
  11. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  12. 2020Fast is better than free: Revisiting adversarial trainingcited by 727
38 more
  1. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
  2. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
  3. 2019Adversarial Training for Free!cited by 643
  4. 2019Learned Step Size Quantizationcited by 628
  5. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  6. 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
  7. 2017Countering Adversarial Images using Input Transformationscited by 520
  8. 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 501
  9. 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 486
  10. 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 460
  11. 2017Mitigating Adversarial Effects Through Randomizationcited by 383
  12. 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
  13. 2019Adversarial Examples Improve Image Recognitioncited by 286
  14. 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 269
  15. 2018Adversarial Attacks and Defences: A Surveycited by 259
  16. 2019Simple Black-box Adversarial Attackscited by 251
  17. 2017Detecting Adversarial Samples from Artifactscited by 245
  18. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 244
  19. 2017On Detecting Adversarial Perturbationscited by 232
  20. 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 189
  21. 2018Certified Adversarial Robustness with Additive Noisecited by 180
  22. 2018Stochastic Activation Pruning for Robust Adversarial Defensecited by 171
  23. 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 160
  24. 2019Drawing Early-Bird Tickets: Towards More Efficient Training of Deep Networkscited by 160
  25. 2017Towards Robust Neural Networks via Random Self-ensemblecited by 159
  26. 2018Prior Convictions: Black-Box Adversarial Attacks with Bandits and Priorscited by 146
  27. 2018Parametric Noise Injection: Trainable Randomness to Improve Deep Neural Network Robustness against Adversarial Attackcited by 125
  28. 2017Bit Fusion: Bit-Level Dynamically Composable Architecture for Accelerating Deep Neural Networkscited by 109
  29. 2019Defensive Quantization: When Efficiency Meets Robustnesscited by 95
  30. 2019Model Compression with Adversarial Robustness: A Unified Optimization Frameworkcited by 71
  31. 2019AdaBits: Neural Network Quantization with Adaptive Bit-Widthscited by 64
  32. 2020Robust Quantization: One Model to Rule Them Allcited by 63
  33. 2020PROFIT: A Novel Training Method for sub-4-bit MobileNet Modelscited by 50
  34. 2017Ensemble Methods as a Defense to Adversarial Perturbations Against Deep Neural Networkscited by 31
  35. 2019Dual Dynamic Inference: Enabling More Efficient, Adaptive and Controllable Deep Inferencecited by 31
  36. 2017Attacking Binarized Neural Networkscited by 29
  37. 2020AutoDNNchip: An Automated DNN Chip Predictor and Builder for Both FPGAs and ASICscited by 26
  38. 2020FracTrain: Fractionally Squeezing Bit Savings Both Temporally and Spatially for Efficient DNN Trainingcited by 23

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021Random and Adversarial Bit Error Robustness: Energy-Efficient and Secure DNN Accelerators
  2. 2021Power-Based Attacks on Spatial DNN Accelerators
  3. 2025HaShiFlex: A High-Throughput Hardened Shifter DNN Accelerator with Fine-Tuning Flexibility
  4. 2025SoK: Systematic analysis of adversarial threats against deep learning approaches for autonomous anomaly detection systems in SDN-IoT networks
  5. 2022Low- and Mixed-Precision Inference Accelerators
  6. 2023Marsellus: A Heterogeneous RISC-V AI-IoT End-Node SoC with 2-to-8b DNN Acceleration and 30%-Boost Adaptive Body Biasing
  7. 2022BARVINN: Arbitrary Precision DNN Accelerator Controlled by a RISC-V CPU
  8. 2025Energy Backdoor Attack to Deep Neural Networks