Enhancing the Security and Reliability of Deep Learning Systems under Attacks and Hardware Faults
Year: 2022
Type: dissertation
Abstract: Deep Neural Networks (DNNs) have been widely applied in many real-world applications such as speech recognition, robotics, and self-driving vehicles. However, it also introduces the ever-increasing security and reliability concerns for these intelligent systems. From the security standpoint, input-based adversarial attacks can easily mislead DNNs' decisions by adding tiny and imperceptible perturbations into input samples. Aside from input-based attacks, adversarial weight attacks after DNNs are deployed to hardware engines, can also destroy the function of DNNs through active fault injection, e.g., flipping a minimal number of bits of model parameters stored in hardware memories via DRAM row-hammering. From the reliability standpoint, the emerging processing-in-memory (PIM) based on DNN accelerators built upon resistive random-access memory (ReRAM or memristor) offers orders of magnitude better energy efficiency than CMOS counterparts but suffers from hardware faults that can significantly degrade the inference accuracy.This dissertation proposes a series of effective techniques to address the security/reliability challenges of deep learning systems under different attacks/hardware-faults. In terms of deep learning security, this dissertation focuses on designing various defense approaches against two types of representative attacks: adversarial attacks (i.e., input-based attacks) and bit-flip attacks (i.e., model-based attacks). 1) Defending deep learning systems against adversarial attacks. To explore the robustness of compressed DNNs against adversarial examples, we design the multi-factor adversarial attacks customized for the compressed DNNs and propose a low-cost and effective defense approach to enhance the model's robustness. In addition, to achieve a comprehensive defense that has potential against various adversarial attacks, we orchestrate two proposed techniques ``defensive hash classifier\" and ``gradient inhibition\" to construct the defensive decision boundary and suppress adversarial gradient, decreasing the effectiveness of 9 types of adversarial attacks significantly for image classification. Moreover, since adversarial examples were recently found in biomedical image segmentation models, but the defense approach has never been discussed, to make up this gap, we make the first attempt to develop an input transformation-based defense technique named Frequency Refinement (FR) to mitigate attacks effectively. 2) Defending deep learning systems against bit-flip attacks. We propose a weight encoding-based defense framework to concurrently detect bit-flip attacks by leveraging the spatial locality of malicious bit-flipping and a fast encoding of sensitive weights only. To further reduce the overhead and improve detection performance, we design a "honeypot" inspired proactive defense technique—"NeuroPots" that can effectively detect malicious bit-flips (close to 100% detection rate) and recover model performance to the original level in real-time. In terms of deep learning reliability, this dissertation examines hardware faults from the memristor in the deep learning accelerator. To assure reliable inference execution on emerging memristor-based DNN accelerators, we design special test patterns tuned to be sensitive to different levels of error accumulation. In this way, the health (or accuracy) status information of a running accelerator can be captured correctly and quickly.
Source: Lehigh Preserve
Author: Qi Liu
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7132912984
