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

不要敲击!DNN模型后门处的Rowhammer

Don't Knock! Rowhammer at the Backdoor of DNN Models

Worcester Polytechnic Institute(伍斯特理工学院)

M. Caner Tol, Saad Islam, Andrew J. Adiletta, Berk Sunar, Ziming Zhang

AI总结:

本文首次在真实硬件上利用Rowhammer实现端到端DNN后门注入,并提出基于约束优化的训练算法,以极少的位翻转达到高攻击成功率。

摘要:

最先进的深度神经网络(DNN)已被证明容易受到对抗性操纵和后门攻击的影响。被植入后门的模型在带有预定义触发器的输入上偏离预期行为,同时在干净数据上保持性能。近期工作侧重于在推理阶段通过修改网络权重来软件模拟后门注入,我们发现由于硬件限制,这在实践中往往不现实。相比之下,在本工作中,我们首次提出了一种端到端的后门注入攻击,该攻击在真实硬件上对分类器模型实现,并使用Rowhammer作为故障注入方法。为此,我们首先研究了在硬件上实际部署DNN时后门注入攻击的可行性,并从一种新颖的优化视角解决硬件实现中的这些实际问题。我们的动机是脆弱内存位置非常罕见、因设备而异且分布稀疏。因此,我们提出了一种基于约束优化的新型网络训练算法,以在硬件中实现现实的后门注入攻击。通过统一修改卷积层和全连接层的参数并同时优化触发模式,我们以更少的位翻转实现了最先进的攻击性能。例如,我们的方法在硬件部署的、基于CIFAR-10训练的ResNet-20模型上,仅翻转220万位中的10位,就实现了超过89%的测试准确率和92%的攻击成功率。

英文摘要:

State-of-the-art deep neural networks (DNNs) have been proven to be vulnerable to adversarial manipulation and backdoor attacks. Backdoored models deviate from expected behavior on inputs with predefined triggers while retaining performance on clean data. Recent works focus on software simulation of backdoor injection during the inference phase by modifying network weights, which we find often unrealistic in practice due to restrictions in hardware. In contrast, in this work for the first time, we present an end-to-end backdoor injection attack realized on actual hardware on a classifier model using Rowhammer as the fault injection method. To this end, we first investigate the viability of backdoor injection attacks in real-life deployments of DNNs on hardware and address such practical issues in hardware implementation from a novel optimization perspective. We are motivated by the fact that vulnerable memory locations are very rare, device-specific, and sparsely distributed. Consequently, we propose a novel network training algorithm based on constrained optimization to achieve a realistic backdoor injection attack in hardware. By modifying parameters uniformly across the convolutional and fully-connected layers as well as optimizing the trigger pattern together, we achieve state-of-the-art attack performance with fewer bit flips. For instance, our method on a hardware-deployed ResNet-20 model trained on CIFAR-10 achieves over 89% test accuracy and 92% attack success rate by flipping only 10 out of 2.2 million bits.

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

↑