Quantization Backdoors to Deep Learning Commercial Frameworks
Not on the map. Why?
Abstract (arXiv)
Currently, there is a burgeoning demand for deploying deep learning (DL) models on ubiquitous edge Internet of Things (IoT) devices attributed to their low latency and high privacy preservation. However, DL models are often large in size and require large-scale computation, which prevents them from being placed directly onto IoT devices, where resources are constrained and 32-bit floating-point (float-32) operations are unavailable. Commercial framework (i.e., a set of toolkits) empowered model quantization is a pragmatic solution that enables DL deployment on mobile devices and embedded systems by effortlessly post-quantizing a large high-precision model (e.g., float-32) into a small low-precision model (e.g., int-8) while retaining the model inference accuracy. However, their usability might be threatened by security vulnerabilities. This work reveals that the standard quantization toolkits can be abused to activate a backdoor. We demonstrate that a full-precision backdoored model which does not have any backdoor effect in the presence of a trigger -- as the backdoor is dormant -- can be activated by the default i) TensorFlow-Lite (TFLite) quantization, the only product-ready quantization framework to date, and ii) the beta released PyTorch Mobile framework. When each of the float-32 models is converted into an int-8 format model through the standard TFLite or Pytorch Mobile framework's post-training quantization, the backdoor is activated in the quantized model, which shows a stable attack success rate close to 100% upon inputs with the trigger, while it behaves normally upon non-trigger inputs. This work highlights that a stealthy security threat occurs when an end user utilizes the on-device post-training model quantization frameworks, informing security researchers of cross-platform overhaul of DL models post quantization even if these models pass front-end backdoor inspections.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 37 of its 67 references that are in the map. First posted on arXiv 20 Aug 2021.
Builds on
37 of 67 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2018How To Backdoor Federated Learningcited by 745
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
25 more
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
- 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
- 2020Binary Neural Networks: A Surveycited by 184
- 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
- 2020TensorFlow Lite Micro: Embedded Machine Learning on TinyML Systemscited by 161
- 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
- 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 121
- 2019TABOR: A Highly Accurate Approach to Inspecting and Restoring Trojan Backdoors in AI Systemscited by 120
- 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
- 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 111
- 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
- 2019Bypassing Backdoor Detection Algorithms in Deep Learningcited by 69
- 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 66
- 2020Can Adversarial Weight Perturbations Inject Neural Backdoors?cited by 51
- 2018Model-Reuse Attacks on Deep Learning Systemscited by 47
- 2019Gotta Catch 'Em All: Using Honeypots to Catch Adversarial Attacks on Neural Networkscited by 40
- 2020TrojanZoo: Towards Unified, Holistic, and Practical Evaluation of Neural Backdoorscited by 30
- 2020FracBNN: Accurate and FPGA-Efficient Binary Neural Networks with Fractional Activationscited by 30
- 2018XNOR Neural Engine: a Hardware Accelerator IP for 21.6 fJ/op Binary Neural Network Inferencecited by 28
- 2020Backdooring and Poisoning Neural Networks with Image-Scaling Attackscited by 28
- 2021Stealthy Backdoors as Compression Artifactscited by 17
- 2020DeepDyve: Dynamic Verification for Deep Neural Networkscited by 12
- 2021RBNN: Memory-Efficient Reconfigurable Deep Binary Neural Network with IP Protection for Internet of Thingscited by 3
Built on by
Citing papers per year: 2022: 3; 2023: 2; 2024: 5; 2025: 8; 2026: 7.
25 papers.
Sort:
By area:
- 2024Exploiting LLM Quantizationcited by 61
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attackscited by 14
- 2022Towards A Critical Evaluation of Robustness for Deep Learning Backdoor Countermeasurescited by 11
- 2024Architectural Neural Backdoors from First Principlescited by 10
- 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Liftingcited by 7
- 2024Locking Machine Learning Models into Hardwarecited by 6
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 6
- 2022Augmentation Backdoorscited by 5
- 2022Mind Your Heart: Stealthy Backdoor Attack on Dynamic Deep Neural Network in Edge Computingcited by 5
- 2025Exploiting Leaderboards for Large-Scale Distribution of Malicious Modelscited by 5
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakagecited by 3
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attackcited by 3
13 more
- 2026Hardware-Triggered Backdoorscited by 2
- 2023A Comparative Study of Machine Learning Algorithms for Anomaly Detection in Industrial Environments: Performance and Environmental Impactcited by 1
- 2025Large Language Models Can Verbatim Reproduce Long Malicious Sequencescited by 1
- 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantizationcited by 1
- 2026Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor Attackscited by 1
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMscited by 1
- 2026FloatDoor: Platform-Triggered Backdoors in LLMscited by 1
- 2024Interactive Simulations of Backdoors in Neural Networkscited by 0
- 2025From Pixels to Trajectory: Universal Adversarial Example Detection via Temporal Imprintscited by 0
- 2025Quantization Blindspots: How Model Compression Breaks Backdoor Defensescited by 0
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attackscited by 0
- 2026SoK: Attack and Defense Landscape of Mobile On-device AI Systemscited by 0
- 2026AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agentscited by 0
- 2026AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agents12 Sep 2026
- 2026SoK: Attack and Defense Landscape of Mobile On-device AI Systems1 Jul 2026
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attacks27 Jun 2026
- 2026FloatDoor: Platform-Triggered Backdoors in LLMs17 Jun 2026
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMs20 May 2026
- 2026Hardware-Triggered Backdoors29 Jan 2026
- 2026Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor Attacks23 Jan 2026
- 2025Quantization Blindspots: How Model Compression Breaks Backdoor Defenses6 Dec 2025
- 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantization5 Oct 2025
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack28 Sep 2025
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers14 Sep 2025
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakage22 Jul 2025
13 more
- 2025Exploiting Leaderboards for Large-Scale Distribution of Malicious Models11 Jul 2025
- 2025Large Language Models Can Verbatim Reproduce Long Malicious Sequences21 Mar 2025
- 2025From Pixels to Trajectory: Universal Adversarial Example Detection via Temporal Imprints6 Mar 2025
- 2024Locking Machine Learning Models into Hardware31 May 2024
- 2024Exploiting LLM Quantization28 May 2024
- 2024Interactive Simulations of Backdoors in Neural Networks21 May 2024
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attacks21 May 2024
- 2024Architectural Neural Backdoors from First Principles10 Feb 2024
- 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Lifting8 Dec 2023
- 2023A Comparative Study of Machine Learning Algorithms for Anomaly Detection in Industrial Environments: Performance and Environmental Impact1 Jul 2023
- 2022Mind Your Heart: Stealthy Backdoor Attack on Dynamic Deep Neural Network in Edge Computing22 Dec 2022
- 2022Augmentation Backdoors29 Sep 2022
- 2022Towards A Critical Evaluation of Robustness for Deep Learning Backdoor Countermeasures13 Apr 2022
- 2025Large Language Models Can Verbatim Reproduce Long Malicious Sequencescited by 1
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMscited by 1
- 2026FloatDoor: Platform-Triggered Backdoors in LLMscited by 1
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attackscited by 0
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attacks27 Jun 2026
- 2026FloatDoor: Platform-Triggered Backdoors in LLMs17 Jun 2026
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMs20 May 2026
- 2025Large Language Models Can Verbatim Reproduce Long Malicious Sequences21 Mar 2025
- 2024Exploiting LLM Quantizationcited by 61
- 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attackscited by 14
- 2022Towards A Critical Evaluation of Robustness for Deep Learning Backdoor Countermeasurescited by 11
- 2024Architectural Neural Backdoors from First Principlescited by 10
- 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Liftingcited by 7
- 2024Locking Machine Learning Models into Hardwarecited by 6
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 6
- 2022Augmentation Backdoorscited by 5
- 2022Mind Your Heart: Stealthy Backdoor Attack on Dynamic Deep Neural Network in Edge Computingcited by 5
- 2025Exploiting Leaderboards for Large-Scale Distribution of Malicious Modelscited by 5
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakagecited by 3
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attackcited by 3
12 most cited of 20 All 20 (JSON)
- 2026SoK: Attack and Defense Landscape of Mobile On-device AI Systems1 Jul 2026
- 2026Hardware-Triggered Backdoors29 Jan 2026
- 2026Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor Attacks23 Jan 2026
- 2025Quantization Blindspots: How Model Compression Breaks Backdoor Defenses6 Dec 2025
- 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantization5 Oct 2025
- 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack28 Sep 2025
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers14 Sep 2025
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakage22 Jul 2025
- 2025Exploiting Leaderboards for Large-Scale Distribution of Malicious Models11 Jul 2025
- 2025From Pixels to Trajectory: Universal Adversarial Example Detection via Temporal Imprints6 Mar 2025
- 2024Locking Machine Learning Models into Hardware31 May 2024
- 2024Exploiting LLM Quantization28 May 2024
12 newest of 20 All 20 (JSON)