WeightLock: A Mixed-Grained Weight Encryption Approach Using Local Decrypting Units for Ciphertext Computing in DNN Accelerators
Authors:
- 11 June 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-5
Abstract
With the wide use of NVM-based DNN accelerators for higher computing efficiency, the long data retention time essentially causes a high risk of unauthorized weight stealing by attackers. Weight encryption is an effective method, but existing ciphertext computing accelerators cannot achieve high encryption complexity and flexibility. This paper proposes WeightLock, a mixed-grained hardware-software co-design approach based on local decrypting units (LDUs). This work proposes a key-controlled cell-level hardware design for higher granularity and two weight selection schemes for higher flexibility. The simulation results show that the accuracy of VGG-8 and ResNet-18 in the Cifar-10 classification drops from 80% to only 10% even if 80% of keys are leaked. This shows >20% higher key leakage tolerance and >17x longer retraining latency protection, compared with the prior state-of-the-art hardware and software approaches, respectively. The area cost of the encryption function is negligible, with ~600x, 2.2x, and 2.4x reduction from the state-of-the-art cell-wise, column-wise, and 1T4R structures, respectively.Keywords
Funding Information
- Tsinghua University
This publication has 17 references indexed in Scilit:
- XOR-CIM2020
- Chaotic Weights: A Novel Approach to Protect Intellectual Property of Deep Neural NetworksIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2020
- Hardware-Assisted Intellectual Property Protection of Deep Learning Models2020
- Enabling Secure in-Memory Neural Network Computing by Sparse Fast Gradient Encryption2019
- Leveraging Memory PUFs and PIM-based encryption to secure edge deep learning systems2019
- Where Technology Meets Security: Key Storage and Data Separation for System-on-Chips2018
- A Survey of Techniques for Improving Security of Non-volatile MemoriesJournal of Hardware and Systems Security, 2018
- Deep Residual Learning for Image Recognition2016
- 16.2 A 0.19pJ/b PVT-variation-tolerant hybrid physically unclonable function circuit for 100% stable secure key generation in 22nm CMOS2014
- Recent Advances in Homomorphic Encryption: A Possible Future for Signal Processing in the Encrypted DomainIEEE Signal Processing Magazine, 2013