Enabling Secure NVM-Based in-Memory Neural Network Computing by Sparse Fast Gradient Encryption

被引:16
|
作者
Cai, Yi [1 ]
Chen, Xiaoming [2 ]
Tian, Lu [3 ]
Wang, Yu [1 ]
Yang, Huazhong [1 ]
机构
[1] Tsinghua Univ, Beijing Natl Res Ctr Informat Sci & Technol BNRis, Dept Elect Engn, Beijing 100084, Peoples R China
[2] Chinese Acad Sci, Inst Comp Technol, State Key Lab Comp Architecture, Beijing 100864, Peoples R China
[3] Xilinx Inc, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Artificial neural networks; Nonvolatile memory; Encryption; Computational modeling; Hardware; Non-volatile memory (NVM); compute-in-memory (CIM); neural network; security; encryption; ATTACKS;
D O I
10.1109/TC.2020.3017870
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Neural network (NN) computing is energy-consuming on traditional computing systems, owing to the inherent memory wall bottleneck of the von Neumann architecture and the Moore's Law being approaching the end. Non-volatile memories (NVMs) have been demonstrated as promising alternatives for constructing computing-in-memory (CIM) systems to accelerate NN computing. However, NVM-based NN computing systems are vulnerable to the confidentiality attacks because the weight parameters persist in memory when the system is powered off, enabling an adversary with physical access to extract the well-trained NN models. The goal of this article is to find a solution for thwarting the confidentiality attacks. We define and model the weight encryption problem. Then we propose an effective framework, containing a sparse fast gradient encryption (SFGE) method and a runtime encryption scheduling (RES) scheme, to guarantee the confidentiality security of NN models with a negligible performance overhead. Moreover, we improve the SFGE method by incrementally generating the encryption keys. Additionally, we provide variants of the encryption method to better fit quantized models and various mapping strategies. The experiments demonstrate that only encrypting an extremely small proportion of the weights (e.g., 20 weights per layer in ResNet-101), the NN models can be strictly protected.
引用
收藏
页码:1596 / 1610
页数:15
相关论文
共 50 条
  • [1] Enabling Secure in-Memory Neural Network Computing by Sparse Fast Gradient Encryption
    Cai, Yi
    Chen, Xiaoming
    Tian, Lu
    Wang, Yu
    Yang, Huazhong
    2019 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2019,
  • [2] A Consistency Mechanism for NVM-Based in-Memory File Systems
    Zha, Jin
    Huang, Linpeng
    Wu, Linzhu
    Zheng, Sheng-an
    Liu, Hao
    PROCEEDINGS OF THE ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS (CF'16), 2016, : 197 - 204
  • [3] RAM: Exploiting Restrained and Approximate Management for Enabling Neural Network Training on NVM-based Systems
    Ho, Chien-Chung
    Wang, Wei-Chen
    Chen, Szu-Yu
    Li, Yung-Chun
    Chiang, Kun-Chi
    37TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2022, : 116 - 123
  • [4] Megalloc*: Fast Distributed Memory Allocator for NVM-based Cluster
    Yu, Songping
    Xiao, Nong
    Deng, Mingzhu
    Xing, Yuxuan
    Liu, Fang
    Chen, Wei
    2017 INTERNATIONAL CONFERENCE ON NETWORKING, ARCHITECTURE, AND STORAGE (NAS), 2017, : 131 - 139
  • [5] An energy-efficient encryption mechanism for NVM-based main memory in mobile systems
    Liu, Duo
    Luo, Xianlu
    Li, Yang
    Shao, Zili
    Guan, Yong
    JOURNAL OF SYSTEMS ARCHITECTURE, 2017, 76 : 47 - 57
  • [6] Specific ADC of NVM-Based Computation-in-Memory for Deep Neural Networks
    Shi, Ao
    Zhang, Yizhou
    Han, Lixia
    Zhou, Zheng
    Chen, Yiyang
    Yang, Haozhang
    Liu, Lifeng
    Shen, Linxiao
    Liu, Xiaoyan
    Kang, Jinfeng
    Huang, Peng
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2024, : 5387 - 5399
  • [7] Enhancing security of NVM-based main memory with dynamic Feistel network mapping
    Huang, Fang-ting
    Feng, Dan
    Xia, Wen
    Zhou, Wen
    Zhang, Yu-cheng
    Fu, Min
    Jiang, Chun-tao
    Zhou, Yu-kun
    FRONTIERS OF INFORMATION TECHNOLOGY & ELECTRONIC ENGINEERING, 2018, 19 (07) : 847 - 863
  • [8] Enhancing security of NVM-based main memory with dynamic Feistel network mapping
    Fang-ting HUANG
    Dan FENG
    Wen XIA
    Wen ZHOU
    Yu-cheng ZHANG
    Min FU
    Chun-tao JIANG
    Yu-kun ZHOU
    FrontiersofInformationTechnology&ElectronicEngineering, 2018, 19 (07) : 847 - 863
  • [9] Enhancing security of NVM-based main memory with dynamic Feistel network mapping
    Fang-ting Huang
    Dan Feng
    Wen Xia
    Wen Zhou
    Yu-cheng Zhang
    Min Fu
    Chun-tao Jiang
    Yu-kun Zhou
    Frontiers of Information Technology & Electronic Engineering, 2018, 19 : 847 - 863
  • [10] eNVM based In-memory Computing for Intelligent and Secure Computing Systems
    Huang, Kejie
    Qin, Chuyun
    32ND IEEE INTERNATIONAL SYSTEM ON CHIP CONFERENCE (IEEE SOCC 2019), 2019, : 348 - 353