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

Aegis:减轻针对深度神经网络的定向位翻转攻击

Aegis: Mitigating Targeted Bit-flip Attacks against Deep Neural Networks

Jialai Wang, Ziyuan Zhang, Meiqi Wang, Han Qiu, Tianwei Zhang, Qi Li, Zongpeng Li, Tao Wei, Chao Zhang

摘要:

比特翻转攻击(BFA)最近引起了广泛的关注,其中攻击者可以篡改少量的模型参数比特来破坏DNN的完整性。为了减轻这种威胁,提出了一批防御方法,重点是非目标场景。不幸的是,它们要么需要额外的值得信赖的应用程序,要么使模型更容易受到目标BFA的攻击。针对目标明确、隐蔽性更强、目的性更强的生物武器的反措施还远远没有建立起来。在这项工作中,我们提出了Aegis,一种新的防御方法,以减轻有针对性的BFA。核心观察是,现有的有针对性的攻击集中在翻转某些重要层中的关键位。因此,我们设计了一个动态退出机制,将额外的内部分类器(IC)附加到隐藏层。该机制使输入样本能够提前退出不同的层,这有效地打乱了对手的攻击计划。此外,动态退出机制在每次推理期间随机选择IC进行预测,以显着增加自适应攻击的攻击成本,其中所有防御机制对对手是透明的。我们进一步提出了一种鲁棒性训练策略,通过在IC训练阶段模拟BFA来使IC适应攻击场景,以提高模型的鲁棒性。对四个知名数据集和两个流行DNN结构的广泛评估表明,Aegis可以有效地缓解不同的最先进的针对性攻击,将攻击成功率降低5-10 $\times$,显著优于现有的防御方法。

英文摘要:

Bit-flip attacks (BFAs) have attracted substantial attention recently, in which an adversary could tamper with a small number of model parameter bits to break the integrity of DNNs. To mitigate such threats, a batch of defense methods are proposed, focusing on the untargeted scenarios. Unfortunately, they either require extra trustworthy applications or make models more vulnerable to targeted BFAs. Countermeasures against targeted BFAs, stealthier and more purposeful by nature, are far from well established. In this work, we propose Aegis, a novel defense method to mitigate targeted BFAs. The core observation is that existing targeted attacks focus on flipping critical bits in certain important layers. Thus, we design a dynamic-exit mechanism to attach extra internal classifiers (ICs) to hidden layers. This mechanism enables input samples to early-exit from different layers, which effectively upsets the adversary's attack plans. Moreover, the dynamic-exit mechanism randomly selects ICs for predictions during each inference to significantly increase the attack cost for the adaptive attacks where all defense mechanisms are transparent to the adversary. We further propose a robustness training strategy to adapt ICs to the attack scenarios by simulating BFAs during the IC training phase, to increase model robustness. Extensive evaluations over four well-known datasets and two popular DNN structures reveal that Aegis could effectively mitigate different state-of-the-art targeted attacks, reducing attack success rate by 5-10$\times$, significantly outperforming existing defense methods.

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

↑