mlsanityData to 7 Oct 2026

Quantization Backdoors to Deep Learning Commercial Frameworks

arXiv 2108.09187 ↗First posted 20 Aug 2021cs.CR cs.AI cs.LGcited by 25

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  5. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  6. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  7. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  8. 2018How To Backdoor Federated Learningcited by 745
  9. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
  10. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
  11. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
  12. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
25 more
  1. 2019Hidden Trigger Backdoor Attackscited by 359
  2. 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
  3. 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
  4. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
  5. 2020Binary Neural Networks: A Surveycited by 184
  6. 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
  7. 2020TensorFlow Lite Micro: Embedded Machine Learning on TinyML Systemscited by 161
  8. 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
  9. 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 121
  10. 2019TABOR: A Highly Accurate Approach to Inspecting and Restoring Trojan Backdoors in AI Systemscited by 120
  11. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
  12. 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 111
  13. 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
  14. 2019Bypassing Backdoor Detection Algorithms in Deep Learningcited by 69
  15. 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 66
  16. 2020Can Adversarial Weight Perturbations Inject Neural Backdoors?cited by 51
  17. 2018Model-Reuse Attacks on Deep Learning Systemscited by 47
  18. 2019Gotta Catch 'Em All: Using Honeypots to Catch Adversarial Attacks on Neural Networkscited by 40
  19. 2020TrojanZoo: Towards Unified, Holistic, and Practical Evaluation of Neural Backdoorscited by 30
  20. 2020FracBNN: Accurate and FPGA-Efficient Binary Neural Networks with Fractional Activationscited by 30
  21. 2018XNOR Neural Engine: a Hardware Accelerator IP for 21.6 fJ/op Binary Neural Network Inferencecited by 28
  22. 2020Backdooring and Poisoning Neural Networks with Image-Scaling Attackscited by 28
  23. 2021Stealthy Backdoors as Compression Artifactscited by 17
  24. 2020DeepDyve: Dynamic Verification for Deep Neural Networkscited by 12
  25. 2021RBNN: Memory-Efficient Reconfigurable Deep Binary Neural Network with IP Protection for Internet of Thingscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 2; 2024: 5; 2025: 8; 2026: 7.

25 papers.

Sort:

By area:

  1. 2024Exploiting LLM Quantizationcited by 61
  2. 2024Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attackscited by 14
  3. 2022Towards A Critical Evaluation of Robustness for Deep Learning Backdoor Countermeasurescited by 11
  4. 2024Architectural Neural Backdoors from First Principlescited by 10
  5. 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Liftingcited by 7
  6. 2024Locking Machine Learning Models into Hardwarecited by 6
  7. 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 6
  8. 2022Augmentation Backdoorscited by 5
  9. 2022Mind Your Heart: Stealthy Backdoor Attack on Dynamic Deep Neural Network in Edge Computingcited by 5
  10. 2025Exploiting Leaderboards for Large-Scale Distribution of Malicious Modelscited by 5
  11. 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakagecited by 3
  12. 2025Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attackcited by 3
13 more
  1. 2026Hardware-Triggered Backdoorscited by 2
  2. 2023A Comparative Study of Machine Learning Algorithms for Anomaly Detection in Industrial Environments: Performance and Environmental Impactcited by 1
  3. 2025Large Language Models Can Verbatim Reproduce Long Malicious Sequencescited by 1
  4. 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantizationcited by 1
  5. 2026Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor Attackscited by 1
  6. 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMscited by 1
  7. 2026FloatDoor: Platform-Triggered Backdoors in LLMscited by 1
  8. 2024Interactive Simulations of Backdoors in Neural Networkscited by 0
  9. 2025From Pixels to Trajectory: Universal Adversarial Example Detection via Temporal Imprintscited by 0
  10. 2025Quantization Blindspots: How Model Compression Breaks Backdoor Defensescited by 0
  11. 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attackscited by 0
  12. 2026SoK: Attack and Defense Landscape of Mobile On-device AI Systemscited by 0
  13. 2026AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agentscited by 0