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

RADAR:运行时间对抗性权重攻击检测与精度恢复

RADAR: Run-time Adversarial Weight Attack Detection and Accuracy Recovery

Arizona State University(亚利桑那州立大学);Shanghai Jiao Tong University(上海交通大学)

Jingtao Li, Adnan Siraj Rakin, Zhezhi He, Deliang Fan, Chaitali Chakrabarti

摘要:

对神经网络权重的对抗攻击,例如渐进式位翻转攻击(PBFA),可以通过翻转非常少量的位来导致准确性的灾难性下降。此外,PBFA可以在运行时间对存储在DRAM主存储器中的权重进行。在这项工作中,我们提出了雷达,一个运行时间对抗性的重量攻击检测和准确性恢复计划,以保护DNN权重对PBFA。我们将散布在层中的权重组织成组,并对权重采用基于校验和的算法来为每组导出2位签名。在运行时间,计算2位签名并与安全存储的黄金签名进行比较,以检测组中的位翻转攻击。在成功检测之后,我们将组中的所有权重归零,以减轻恶意位翻转造成的准确性下降。所提出的方案是嵌入在推理计算阶段。对于ResNet-18 ImageNet模型,我们的方法平均可以检测到10个比特翻转中的9.6个。对于该模型,所提出的精度恢复方案可以将精度从10位翻转引起的低于1%恢复到69%以上。所提出的方法具有极低的时间和存储开销。在gem 5上的系统级仿真表明,RADAR仅增加了<1%的推理时间,使该方案非常适合于运行时间攻击检测和缓解。

英文摘要:

Adversarial attacks on Neural Network weights, such as the progressive bit-flip attack (PBFA), can cause a catastrophic degradation in accuracy by flipping a very small number of bits. Furthermore, PBFA can be conducted at run time on the weights stored in DRAM main memory. In this work, we propose RADAR, a Run-time adversarial weight Attack Detection and Accuracy Recovery scheme to protect DNN weights against PBFA. We organize weights that are interspersed in a layer into groups and employ a checksum-based algorithm on weights to derive a 2-bit signature for each group. At run time, the 2-bit signature is computed and compared with the securely stored golden signature to detect the bit-flip attacks in a group. After successful detection, we zero out all the weights in a group to mitigate the accuracy drop caused by malicious bit-flips. The proposed scheme is embedded in the inference computation stage. For the ResNet-18 ImageNet model, our method can detect 9.6 bit-flips out of 10 on average. For this model, the proposed accuracy recovery scheme can restore the accuracy from below 1% caused by 10 bit flips to above 69%. The proposed method has extremely low time and storage overhead. System-level simulation on gem5 shows that RADAR only adds <1% to the inference time, making this scheme highly suitable for run-time attack detection and mitigation.

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

↑