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

人们能听到神经网络的形状吗?通过磁侧通道探测GPU

Can one hear the shape of a neural network?: Snooping the GPU via Magnetic Side Channel

Columbia University(哥伦比亚大学);Adobe Research(Adobe研究院);University of Toronto(多伦多大学)

Henrique Teles Maia, Chang Xiao, Dingzeyu Li, Eitan Grinspun, Changxi Zheng

摘要:

神经网络应用在企业和个人环境中都变得流行。网络解决方案针对每项任务进行了精心调整,并且可以稳健地解决查询的设计最终会受到高度需求。随着准确和高性能的机器学习模型的商业价值的增加,保护神经架构作为机密投资的需求也在增加。我们通过电磁侧通道探索了部署为加速硬件上的黑匣子的神经网络的脆弱性。我们研究了从图形处理单元的电源线发出的磁通量,通过一个便宜的3美元的感应传感器获得,发现这个信号背叛了一个黑盒神经网络模型的详细拓扑结构和超参数。该攻击获取具有未知输入值但已知输入维度的一个查询的磁信号。由于在其中评估深度神经网络的模块层序列,网络重构是可能的。我们发现,每个层组件的评估产生一个可识别的磁信号签名,从该层的拓扑结构,宽度,功能类型和序列顺序可以推断使用适当训练的分类器和基于整数规划的联合一致性优化。我们研究在何种程度上可以恢复网络规范,并考虑比较网络相似性的指标。我们证明了这种侧信道攻击在恢复广泛的网络架构,包括随机设计的细节的潜在准确性。我们考虑可以利用这种新的侧信道暴露的应用,例如对抗性转移攻击。作为回应,我们讨论的对策,以防止我们的方法和其他类似的窥探技术。

英文摘要:

Neural network applications have become popular in both enterprise and personal settings. Network solutions are tuned meticulously for each task, and designs that can robustly resolve queries end up in high demand. As the commercial value of accurate and performant machine learning models increases, so too does the demand to protect neural architectures as confidential investments. We explore the vulnerability of neural networks deployed as black boxes across accelerated hardware through electromagnetic side channels. We examine the magnetic flux emanating from a graphics processing unit's power cable, as acquired by a cheap $3 induction sensor, and find that this signal betrays the detailed topology and hyperparameters of a black-box neural network model. The attack acquires the magnetic signal for one query with unknown input values, but known input dimensions. The network reconstruction is possible due to the modular layer sequence in which deep neural networks are evaluated. We find that each layer component's evaluation produces an identifiable magnetic signal signature, from which layer topology, width, function type, and sequence order can be inferred using a suitably trained classifier and a joint consistency optimization based on integer programming. We study the extent to which network specifications can be recovered, and consider metrics for comparing network similarity. We demonstrate the potential accuracy of this side channel attack in recovering the details for a broad range of network architectures, including random designs. We consider applications that may exploit this novel side channel exposure, such as adversarial transfer attacks. In response, we discuss countermeasures to protect against our method and other similar snooping techniques.

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

↑