Experimental Evaluation of Deep Neural Network Resistance Against Fault Injection Attacks

Xiaolu Hou, Jakub Breier, Dirmanto Jap, Lei Ma, Shivam Bhasin, Yang Liu

Abstract

As Deep Neural Networks (DNNs) are increasingly deployed on edge devices, they become susceptible to physical hardware manipulation. This paper evaluates the vulnerability of DNNs to laser fault injection (LFI) targeting the execution of activation functions. By inducing instruction skips in a microcontroller, the researchers demonstrate that compromising as few as 10% of neurons can lead to a 70% misclassification rate. These findings highlight a critical security gap in embedded AI systems and the need for fault-aware hardware-software co-design.

Introduction

The rise of "TinyML" has brought sophisticated deep learning models to embedded systems such as smart grids, medical devices, and autonomous sensors. While traditional AI security focuses on adversarial inputs, the physical accessibility of edge devices introduces the threat of hardware-level fault injection (FI). This paper addresses how hardware interference—specifically laser pulses—can perturb the non-linear computations that form the "brain" of a neural network, undermining the integrity of the entire system.

Experimental Methodology

The researchers employed a combination of hardware exploitation and algorithmic optimization to evaluate model resilience. The primary tool was a near-infrared diode pulse laser targeted at an ATmega328P microcontroller. The goal was to induce "instruction skipping," where a precisely timed laser pulse prevents a specific line of assembly code from executing correctly.

Experimental setup for laser fault injection

To maximize the impact of these faults, the team used a Genetic Algorithm (GA) to identify the most "critical" neurons within the network. By evolving a population of attack vectors, the GA could pinpoint which combination of faulted neurons in the final hidden layer would most effectively force a misclassification. This approach was tested against models trained on the MNIST dataset, providing a baseline for fault sensitivity across different architectures.

The Vulnerability of Non-Linearity

The core insight of the study is that activation functions—the non-linear components of a DNN—are the system's "soft underbelly." By reverse-engineering how functions like ReLU, Sigmoid, and Tanh are compiled into assembly, the researchers identified specific instructions that, if skipped, fundamentally alter the neuron's logic.

Mathematical impact of faults on activation functions

As shown in the table above, a fault in a ReLU implementation often results in the neuron always outputting zero, effectively "killing" it. In contrast, faults in Sigmoid or Tanh functions can "flip" the neuron's logic (e.g., $y' = 1 - y$), turning a strong positive signal into a negative one. This logic-flipping is significantly more destructive than simple neuron death, explaining why Sigmoid-based networks showed higher vulnerability in the experiments.

Key Results and Insights

  • The Power of 10%: Using the Genetic Algorithm to target the most sensitive neurons, the researchers achieved a ~70% misclassification rate in Sigmoid-based networks by faulting only 10% of the neurons.
  • ReLU Resilience: ReLU-based networks proved more resilient as network size increased. Because a faulted ReLU typically just outputs zero, the network's inherent redundancy can often mask the failure better than the logic-flipping seen in other functions.
  • Bypassing Software Defenses: The team demonstrated a proof-of-concept attack against PRADA, a state-of-the-art defense against model extraction. By skipping a single security check at the hardware level, the entire software-based defense was rendered moot.

Conclusion and Future Work

While the current attack requires physical proximity and white-box knowledge of the model, it serves as a sobering reminder that software-level security is only as strong as the underlying hardware. Future research may explore remote fault injection methods, such as Rowhammer-based attacks, which could induce similar faults without physical access. To protect the next generation of edge AI, the authors advocate for "fault-aware" implementations, incorporating redundancy and error-correction techniques borrowed from high-reliability fields like aerospace engineering.

Summary updated

BibTeX
@article{hou2019experimental,
  author = {Xiaolu Hou and Jakub Breier and Dirmanto Jap and Lei Ma and Shivam Bhasin and Yang Liu},
  title = {{Experimental Evaluation of Deep Neural Network Resistance Against Fault Injection Attacks}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2019},
  url = {https://openreview.net/forum?id=yGZzawvMm8f},
}
Figure