arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.08323cs.LGcs.ARcs.CRcs.CV
收藏

随机和对抗性比特错误鲁棒性:节能和安全的DNN加速器

Random and Adversarial Bit Error Robustness: Energy-Efficient and Secure DNN Accelerators

Max Planck Institute for Informatics(马克斯·普朗克信息学研究所);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心);University of Tübingen(图宾根大学)

David Stutz, Nandhini Chandramoorthy, Matthias Hein, Bernt Schiele

摘要:

深度神经网络(DNN)加速器近年来受到了相当大的关注,因为与主流硬件相比,它具有节能的潜力。DNN加速器的低电压操作允许进一步降低能量消耗,然而,在存储量化权重的存储器中引起比特级故障。此外,DNN加速器容易受到电压控制器或单个比特的对抗攻击。在本文中,我们证明了鲁棒定点量化,权重裁剪以及随机比特错误训练(RandBET)或对抗性比特错误训练(AdvBET)的组合显着提高了量化DNN权重中对随机或对抗性比特错误的鲁棒性。这不仅为低电压操作和低精度量化带来了高节能,而且还提高了DNN加速器的安全性。与相关工作相比,我们的方法概括了整个工作电压和加速器,不需要硬件的变化。此外,我们提出了一种新的对抗性比特错误攻击,并能够获得针对有针对性和无针对性的比特级攻击的鲁棒性。在不损失超过0.8%/2%的测试精度的情况下,我们可以在CIFAR 10上减少20%/30%的8/4位量化能耗。允许多达320个对抗性比特错误,我们将测试错误从90%以上(机会水平)降低到26.22%。

英文摘要:

Deep neural network (DNN) accelerators received considerable attention in recent years due to the potential to save energy compared to mainstream hardware. Low-voltage operation of DNN accelerators allows to further reduce energy consumption, however, causes bit-level failures in the memory storing the quantized weights. Furthermore, DNN accelerators are vulnerable to adversarial attacks on voltage controllers or individual bits. In this paper, we show that a combination of robust fixed-point quantization, weight clipping, as well as random bit error training (RandBET) or adversarial bit error training (AdvBET) improves robustness against random or adversarial bit errors in quantized DNN weights significantly. This leads not only to high energy savings for low-voltage operation as well as low-precision quantization, but also improves security of DNN accelerators. In contrast to related work, our approach generalizes across operating voltages and accelerators and does not require hardware changes. Moreover, we present a novel adversarial bit error attack and are able to obtain robustness against both targeted and untargeted bit-level attacks. Without losing more than 0.8%/2% in test accuracy, we can reduce energy consumption on CIFAR10 by 20%/30% for 8/4-bit quantization. Allowing up to 320 adversarial bit errors, we reduce test error from above 90% (chance level) to 26.22%.

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

↑