arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.02792cs.CRcs.AR
收藏

存内计算体系结构的侧信道攻击分析

Side-channel attack analysis on in-memory computing architectures

Ziyu Wang, Fan-hsuan Meng, Yongmo Park, Jason K. Eshraghian, Wei D. Lu

摘要:

存内计算(IMC)系统在加速诸如深度神经网络(DNN)之类的数据密集型任务方面具有巨大潜力。由于DNN模型通常是高度专有的,因此神经网络架构成为有价值的攻击目标。在IMC系统中,由于整个模型被映射在芯片上并且权重存储器读取可以被限制,因此预映射的DNN模型对于用户来说充当“黑匣子”。然而,局部化和固定的权重和数据模式可能使IMC系统遭受其他攻击。在本文中,我们提出了一个侧信道攻击的IMC架构的方法。我们表明,它是可能的提取模型的建筑信息,从功率跟踪测量没有任何先验知识的神经网络。我们首先开发了一个仿真框架,可以模拟IMC宏的动态功率跟踪。然后,我们执行侧通道泄漏分析,以根据IMC宏的功率轨迹对模型信息进行反向工程,例如存储的层类型、层序列、输出通道/特征大小和卷积内核大小。基于所提取的信息,可以潜在地重建完整网络而无需任何神经网络的知识。最后,我们讨论了潜在的对策建设IMC系统,提供抵抗这些模型窃取攻击。

英文摘要:

In-memory computing (IMC) systems have great potential for accelerating data-intensive tasks such as deep neural networks (DNNs). As DNN models are generally highly proprietary, the neural network architectures become valuable targets for attacks. In IMC systems, since the whole model is mapped on chip and weight memory read can be restricted, the pre-mapped DNN model acts as a ``black box'' for users. However, the localized and stationary weight and data patterns may subject IMC systems to other attacks. In this paper, we propose a side-channel attack methodology on IMC architectures. We show that it is possible to extract model architectural information from power trace measurements without any prior knowledge of the neural network. We first developed a simulation framework that can emulate the dynamic power traces of the IMC macros. We then performed side-channel leakage analysis to reverse engineer model information such as the stored layer type, layer sequence, output channel/feature size and convolution kernel size from power traces of the IMC macros. Based on the extracted information, full networks can potentially be reconstructed without any knowledge of the neural network. Finally, we discuss potential countermeasures for building IMC systems that offer resistance to these model extraction attack.

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

↑