DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flips

被引:0
|
作者
Yao, Fan [1 ]
Rakin, Adnan Siraj [2 ]
Fan, Deliang [2 ]
机构
[1] Univ Cent Florida, Orlando, FL 32816 USA
[2] Arizona State Univ, Tempe, AZ 85287 USA
基金
美国国家科学基金会;
关键词
HARDWARE;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Security of machine learning is increasingly becoming a major concern due to the ubiquitous deployment of deep learning in many security-sensitive domains. Many prior studies have shown external attacks such as adversarial examples that tamper the integrity of DNNs using maliciously crafted inputs. However, the security implication of internal threats (i.e., hardware vulnerabilities) to DNN models has not yet been well understood. In this paper, we demonstrate the first hardware-based attack on quantized deep neural networks-DeepHammer-that deterministically induces bit flips in model weights to compromise DNN inference by exploiting the rowhammer vulnerability. DeepHammer performs an aggressive bit search in the DNN model to identify the most vulnerable weight bits that are flippable under system constraints. To trigger deterministic bit flips across multiple pages within a reasonable amount of time, we develop novel system-level techniques that enable fast deployment of victim pages, memory-efficient rowhammering and precise flipping of targeted bits. DeepHammer can deliberately degrade the inference accuracy of the victim DNN system to a level that is only as good as random guess, thus completely depleting the intelligence of targeted DNN systems. We systematically demonstrate our attacks on real systems against 11 DNN architectures with 4 datasets corresponding to different application domains. Our evaluation shows that DeepHammer is able to successfully tamper DNN inference behavior at run-time within a few minutes. We further discuss several mitigation techniques from both algorithm and system levels to protect DNNs against such attacks. Our work highlights the need to incorporate security mechanisms in future machine learning systems to enhance the robustness of DNN against hardware-based deterministic fault injections.
引用
收藏
页码:1463 / 1480
页数:18
相关论文
共 50 条
  • [1] SPARSEBFA: ATTACKING SPARSE DEEP NEURAL NETWORKS WITH THEWORST-CASE BIT FLIPS ON COORDINATES
    Lee, Kyungmi
    Chandrakasan, Anantha P.
    2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 4208 - 4212
  • [2] NeuroAttack: Undermining Spiking Neural Networks Security through Externally Triggered Bit-Flips
    Venceslai, Valerio
    Marchisio, Alberto
    Alouani, Ihsen
    Martina, Maurizio
    Shafique, Muhammad
    2020 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2020,
  • [3] Highly Evasive Targeted Bit-Trojan on Deep Neural Networks
    Jin, Lingxin
    Jiang, Wei
    Zhan, Jinyu
    Wen, Xiangyu
    IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (09) : 2350 - 2363
  • [4] Hardly Perceptible Trojan Attack Against Neural Networks with Bit Flips
    Bai, Jiawang
    Gao, Kuofeng
    Gong, Dihong
    Xia, Shu-Tao
    Li, Zhifeng
    Liu, Wei
    COMPUTER VISION - ECCV 2022, PT V, 2022, 13665 : 104 - 121
  • [5] Hardly Perceptible Trojan Attack against Neural Networks with Bit Flips
    Bai, Jiawang
    Gao, Kuofeng
    Gong, Dihong
    Xia, Shu-Tao
    Li, Zhifeng
    Liu, Wei
    arXiv, 2022,
  • [6] Aegis: Mitigating Targeted Bit-flip Attacks against Deep Neural Networks
    Wang, Jialai
    Zhang, Ziyuan
    Wang, Meiqi
    Qiu, Han
    Zhang, Tianwei
    Li, Qi
    Li, Zongpeng
    Wei, Tao
    Zhang, Chao
    PROCEEDINGS OF THE 32ND USENIX SECURITY SYMPOSIUM, 2023, : 2329 - 2346
  • [7] State Estimation for Markovian Jump Neural Networks Under Probabilistic Bit Flips: Allocating Constrained Bit Rates
    Guo, Yuru
    Wang, Zidong
    Li, Jun-Yi
    Xu, Yong
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, : 1 - 12
  • [8] Bit Efficient Quantization for Deep Neural Networks
    Nayak, Prateeth
    Zhang, David
    Chai, Sek
    FIFTH WORKSHOP ON ENERGY EFFICIENT MACHINE LEARNING AND COGNITIVE COMPUTING - NEURIPS EDITION (EMC2-NIPS 2019), 2019, : 52 - 56
  • [9] Sparse Deep Neural Networks for Embedded Intelligence
    Bi, Jia
    Gunn, Steve R.
    2018 IEEE 30TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI), 2018, : 30 - 38
  • [10] Elastic Significant Bit Quantization and Acceleration for Deep Neural Networks
    Gong, Cheng
    Lu, Ye
    Xie, Kunpeng
    Jin, Zongming
    Li, Tao
    Wang, Yanzhi
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (11) : 3178 - 3193