arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15152cs.CR
收藏

SNNGX:在基于RRAM的神经形态加速器上利用遗传XOR加密保护脉冲神经网络

SNNGX: Securing Spiking Neural Networks with Genetic XOR Encryption on RRAM-based Neuromorphic Accelerator

Kwunhang Wong, Songqi Wang, Wei Huang, Xinyuan Zhang, Yangu He, Karl M. H. Lai, Yuzhong Jiao, Ning Lin, Xiaojuan Qi, Xiaoming Chen, Zhongrui Wang

AI总结:

本文提出SNNGX,一种基于RRAM的软硬件协同设计神经形态加速器,通过定制的遗传算法和XOR加密仅保护极少量权重,在实现零解密延迟的同时大幅降低能耗,有效防御SNNs的白盒攻击并保护知识产权。

摘要:

具有生物合理性的脉冲神经网络(SNNs)以脉冲稀疏性为特征,与人工神经网络(ANNs)相比,在智能边缘设备和关键生物医学应用中正受到极大关注。然而,从SNNs中提取白盒信息(即权重)的恶意企图带来了相当大的风险,因为攻击者可能利用训练良好的SNNs牟利,并引发白盒对抗性问题。迫切需要知识产权(IP)保护措施。在本文中,我们提出了一种新颖的安全软硬件协同设计的基于RRAM的神经形态加速器,用于保护SNNs的IP。在软件方面,我们设计了定制的遗传算法与经典XOR加密相结合,以定位需要加密的最少权重数量。从硬件角度来看,我们开发了一个低能耗解密模块,经过精心设计以提供零解密延迟。来自多个数据集(包括NMNIST、DVSGesture、EEGMMIDB、Braille Letter和SHD)的大量结果表明,我们提出的方法通过仅加密0.00005%至0.016%的隐蔽权重位,有效保护了SNNs的安全。此外,该方法实现了显著的能耗降低,范围从59倍到6780倍,并大幅降低了解密延迟,范围从175倍到4250倍。此外,我们的方法在数据集中每类仅需一个样本即可进行加密,并解决了对基于Hessian/梯度的搜索不敏感的问题。该策略为在多种应用中保护SNNs提供了高效且灵活的解决方案。

英文摘要:

Biologically plausible Spiking Neural Networks (SNNs), characterized by spike sparsity, are growing tremendous attention over intellectual edge devices and critical bio-medical applications as compared to artificial neural networks (ANNs). However, there is a considerable risk from malicious attempts to extract white-box information (i.e., weights) from SNNs, as attackers could exploit well-trained SNNs for profit and white-box adversarial concerns. There is a dire need for intellectual property (IP) protective measures. In this paper, we present a novel secure software-hardware co-designed RRAM-based neuromorphic accelerator for protecting the IP of SNNs. Software-wise, we design a tailored genetic algorithm with classic XOR encryption to target the least number of weights that need encryption. From a hardware perspective, we develop a low-energy decryption module, meticulously designed to provide zero decryption latency. Extensive results from various datasets, including NMNIST, DVSGesture, EEGMMIDB, Braille Letter, and SHD, demonstrate that our proposed method effectively secures SNNs by encrypting a minimal fraction of stealthy weights, only 0.00005% to 0.016% weight bits. Additionally, it achieves a substantial reduction in energy consumption, ranging from x59 to x6780, and significantly lowers decryption latency, ranging from x175 to x4250. Moreover, our method requires as little as one sample per class in dataset for encryption and addresses hessian/gradient-based search insensitive problems. This strategy offers a highly efficient and flexible solution for securing SNNs in diverse applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑