2-in-1 Accelerator: Enabling Random Precision Switch for Winning Both Adversarial Robustness and Efficiency
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
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2016Practical Black-Box Attacks against Machine Learningcited by 903
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 840
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2020Fast is better than free: Revisiting adversarial trainingcited by 727
38 more
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
- 2019Adversarial Training for Free!cited by 643
- 2019Learned Step Size Quantizationcited by 628
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
- 2017Countering Adversarial Images using Input Transformationscited by 520
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 501
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 486
- 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 460
- 2017Mitigating Adversarial Effects Through Randomizationcited by 383
- 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
- 2019Adversarial Examples Improve Image Recognitioncited by 286
- 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 269
- 2018Adversarial Attacks and Defences: A Surveycited by 259
- 2019Simple Black-box Adversarial Attackscited by 251
- 2017Detecting Adversarial Samples from Artifactscited by 245
- 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 244
- 2017On Detecting Adversarial Perturbationscited by 232
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 189
- 2018Certified Adversarial Robustness with Additive Noisecited by 180
- 2018Stochastic Activation Pruning for Robust Adversarial Defensecited by 171
- 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 160
- 2019Drawing Early-Bird Tickets: Towards More Efficient Training of Deep Networkscited by 160
- 2017Towards Robust Neural Networks via Random Self-ensemblecited by 159
- 2018Prior Convictions: Black-Box Adversarial Attacks with Bandits and Priorscited by 146
- 2018Parametric Noise Injection: Trainable Randomness to Improve Deep Neural Network Robustness against Adversarial Attackcited by 125
- 2017Bit Fusion: Bit-Level Dynamically Composable Architecture for Accelerating Deep Neural Networkscited by 109
- 2019Defensive Quantization: When Efficiency Meets Robustnesscited by 95
- 2019Model Compression with Adversarial Robustness: A Unified Optimization Frameworkcited by 71
- 2019AdaBits: Neural Network Quantization with Adaptive Bit-Widthscited by 64
- 2020Robust Quantization: One Model to Rule Them Allcited by 63
- 2020PROFIT: A Novel Training Method for sub-4-bit MobileNet Modelscited by 50
- 2017Ensemble Methods as a Defense to Adversarial Perturbations Against Deep Neural Networkscited by 31
- 2019Dual Dynamic Inference: Enabling More Efficient, Adaptive and Controllable Deep Inferencecited by 31
- 2017Attacking Binarized Neural Networkscited by 29
- 2020AutoDNNchip: An Automated DNN Chip Predictor and Builder for Both FPGAs and ASICscited by 26
- 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
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 2.
5 papers.
- 2024EDGE-LLM: Enabling Efficient Large Language Model Adaptation on Edge Devices via Layerwise Unified Compression and Adaptive Layer Tuning and Votingcited by 27
- 2021MIA-Former: Efficient and Robust Vision Transformers via Multi-grained Input-Adaptationcited by 12
- 2024FlexiBit: Fully Flexible Precision Bit-parallel Accelerator Architecture for Arbitrary Mixed Precision AIcited by 5
- 2023Robust Tickets Can Transfer Better: Drawing More Transferable Subnetworks in Transfer Learningcited by 3
- 2022DNNShield: Dynamic Randomized Model Sparsification, A Defense Against Adversarial Machine Learningcited by 0
- 2024FlexiBit: Fully Flexible Precision Bit-parallel Accelerator Architecture for Arbitrary Mixed Precision AI27 Nov 2024
- 2024EDGE-LLM: Enabling Efficient Large Language Model Adaptation on Edge Devices via Layerwise Unified Compression and Adaptive Layer Tuning and Voting22 Jun 2024
- 2023Robust Tickets Can Transfer Better: Drawing More Transferable Subnetworks in Transfer Learning24 Apr 2023
- 2022DNNShield: Dynamic Randomized Model Sparsification, A Defense Against Adversarial Machine Learning31 Jul 2022
- 2021MIA-Former: Efficient and Robust Vision Transformers via Multi-grained Input-Adaptation21 Dec 2021
Similar, not cited
Close in wording, no citation either way
- 2021Random and Adversarial Bit Error Robustness: Energy-Efficient and Secure DNN Accelerators
- 2021Power-Based Attacks on Spatial DNN Accelerators
- 2025HaShiFlex: A High-Throughput Hardened Shifter DNN Accelerator with Fine-Tuning Flexibility
- 2025SoK: Systematic analysis of adversarial threats against deep learning approaches for autonomous anomaly detection systems in SDN-IoT networks
- 2022Low- and Mixed-Precision Inference Accelerators
- 2023Marsellus: A Heterogeneous RISC-V AI-IoT End-Node SoC with 2-to-8b DNN Acceleration and 30%-Boost Adaptive Body Biasing
- 2022BARVINN: Arbitrary Precision DNN Accelerator Controlled by a RISC-V CPU
- 2025Energy Backdoor Attack to Deep Neural Networks