A novel half-complementary cipher for <i>in-situ</i> secure computing-in-memory
The advent of the new AI era has led to an increase in the number of intelligent terminals in use and the generation of a vast amount of data, driving the development of novel AI accelerator techniques. However, in the pursuit of high speed and high efficiency, the rising privacy risks and security concerns pose an urgent need for highly applicable encryption solutions without heavily increasing hardware cost for AI accelerators. In this work, to enhance the security of computing-in-memory architecture, we propose a novel half-complementary cipher to provide an effective information shield and in situ decryption function without sacrificing hardware cost. With the integrated 4 Kb STT-MRAM system, the decryption and inference of speech command classification is experimentally demonstrated, validating the feasibility of the half-complementary cipher. Simulation results for larger neural networks also substantiate the effectiveness. Moreover, the 2T2R structure-based half-complementary cipher facilitates further scaling up of the computing-in-memory architecture and offers a promising avenue for secure and efficient edge AI, thanks to a ∼50% reduction in three key factors, including the number of memory cells, the maximum accumulative source line current, and the noise in its worst-case scenario, compared to the conventional XOR cipher.
Authors
- Yinuo Shi (ORCID: https://orcid.org/0000-0001-7301-5746)
- Xiaomi Chen (ORCID: https://orcid.org/0009-0000-4984-2995)
- Xiang Feng (ORCID: https://orcid.org/0000-0003-1308-7849)
- Tailai Zhou
- Bo Liu (ORCID: https://orcid.org/0000-0001-6421-0443)
- Wenbiao Zhang (ORCID: https://orcid.org/0000-0002-3204-306X)
- Jianting Liu (ORCID: https://orcid.org/0000-0001-6346-3588)
- Ying Zhou
Institutions
- Hangzhou Dianzi University (CN)
Publication Details
- Journal
- AIP Advances
- Published
- 2025-04-01
- DOI
- https://doi.org/10.1063/5.0258756
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00