Evil from Within: Machine Learning Backdoors through Hardware Trojans
Not on the map. Why?
Abstract (arXiv)
Backdoors pose a serious threat to machine learning, as they can compromise the integrity of security-critical systems, such as self-driving cars. While different defenses have been proposed to address this threat, they all rely on the assumption that the hardware on which the learning models are executed during inference is trusted. In this paper, we challenge this assumption and introduce a backdoor attack that completely resides within a common hardware accelerator for machine learning. Outside of the accelerator, neither the learning model nor the software is manipulated, so that current defenses fail. To make this attack practical, we overcome two challenges: First, as memory on a hardware accelerator is severely limited, we introduce the concept of a minimal backdoor that deviates as little as possible from the original model and is activated by replacing a few model parameters only. Second, we develop a configurable hardware trojan that can be provisioned with the backdoor and performs a replacement only when the specific target model is processed. We demonstrate the practical feasibility of our attack by implanting our hardware trojan into the Xilinx Vitis AI DPU, a commercial machine-learning accelerator. We configure the trojan with a minimal backdoor for a traffic-sign recognition system. The backdoor replaces only 30 (0.069%) model parameters, yet it reliably manipulates the recognition once the input contains a backdoor trigger. Our attack expands the hardware circuit of the accelerator by 0.24% and induces no run-time overhead, rendering a detection hardly possible. Given the complex and highly distributed manufacturing process of current hardware, our work points to a new threat in machine learning that is inaccessible to current security mechanisms and calls for hardware to be manufactured only in fully trusted environments.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 89 references that are in the map. First posted on arXiv 17 Apr 2023.
Builds on
39 of 89 references.
References · 39
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 541
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 519
- 2018Spectral Signatures in Backdoor Attackscited by 484
27 more
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
- 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 456
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
- 2019Hidden Trigger Backdoor Attackscited by 371
- 2020Input-Aware Dynamic Backdoor Attackcited by 313
- 2017Variational Dropout Sparsifies Deep Neural Networkscited by 265
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 199
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 188
- 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 151
- 2018Backdoor Embedding in Convolutional Neural Network Models via Invisible Perturbationcited by 134
- 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 124
- 2017Bayesian Compression for Deep Learningcited by 116
- 2017Soft Weight-Sharing for Neural Network Compressioncited by 99
- 2016Training Sparse Neural Networkscited by 73
- 2017Adaptive Quantization for Deep Neural Networkcited by 67
- 2019Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attackscited by 57
- 2021DeepPayload: Black-box Backdoor Attack on Deep Learning Models through Neural Payload Injectioncited by 44
- 2020Mind Your Weight(s): A Large-scale Study on Insufficient Machine Learning Model Protection in Mobile Appscited by 36
- 2016DLAU: A Scalable Deep Learning Accelerator Unit on FPGAcited by 12
- 2018Hardware Trojan Attacks on Neural Networkscited by 12
- 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 9
- 2018Hu-Fu: Hardware and Software Collaborative Attack Framework against Neural Networkscited by 8
- 2018Hardware Trojan Detection through Information Flow Security Verificationcited by 6
- 2021The Unpatchable Silicon: A Full Break of the Bitstream Encryption of Xilinx 7-Series FPGAscited by 2
- 2019Insights into the Mind of a Trojan Designer: The Challenge to Integrate a Trojan into the Bitstreamcited by 1
- 2019A Stealthy Hardware Trojan Exploiting the Architectural Vulnerability of Deep Learning Architectures: Input Interception Attack (IIA)cited by 1
- 2021How Not to Protect Your IP -- An Industry-Wide Break of IEEE 1735 Implementationscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Hardware-Triggered Backdoors
- 2025Architectural Backdoors for Within-Batch Data Stealing and Model Inference Manipulation
- 2023Exploiting Logic Locking for a Neural Trojan Attack on Machine Learning Accelerators
- 2026(A)iSpy: Parasitic Trojans for Machine Learning Infrastructure
- 2022Trojan Horse Training for Breaking Defenses against Backdoor Attacks in Deep Learning
- 2025Backdoor Attacks and Defenses in Computer Vision Domain: A Survey
- 2022An Adaptive Black-box Defense against Trojan Attacks (TrojDef)
- 2021CatchBackdoor: Backdoor Detection via Critical Trojan Neural Path Fuzzing