关于NVM交叉阵列上对抗训练网络的噪声稳定性与鲁棒性
On the Noise Stability and Robustness of Adversarially Trained Networks on NVM Crossbars
AI总结:
本文结合对抗训练与NVM交叉阵列硬件的内在鲁棒性,研究了对抗训练DNN在模拟硬件上的噪声稳定性与鲁棒性,发现需在硬件非理想性与训练参数间谨慎校准以优化性能与鲁棒性。
摘要:
基于深度神经网络(DNNs)的应用在过去十年中呈指数级增长。为满足其日益增长的计算需求,研究人员提出了多种基于非易失性存储器(NVM)交叉阵列的加速器。近期研究表明,除了提升能效和性能外,此类近似硬件在防御对抗攻击方面还具有内在鲁棒性。先前的工作量化了在无扰动输入上训练的普通DNN的这种内在鲁棒性。然而,DNN的对抗训练是实现鲁棒性的基准技术,仅依赖硬件的内在鲁棒性可能不够。在本研究中,我们通过将对抗训练与基于NVM交叉阵列的模拟硬件的内在鲁棒性相结合,探索鲁棒DNN的设计。首先,我们研究了此类网络在无扰动输入上的噪声稳定性,观察到对抗训练网络的内部激活具有较低的信噪比(SNR),且与普通网络相比对噪声更敏感。因此,由于模拟硬件上的近似计算,它们的性能平均下降了2倍。噪声稳定性分析表明对抗训练的DNN存在不稳定性。另一方面,对于使用Square黑盒攻击生成的对抗图像,在CIFAR-10/100上进行对抗训练的ResNet-10/20表现出20-30%的鲁棒性提升。对于使用投影梯度下降(PGD)白盒攻击生成的对抗图像,当$ε_{attack}$大于$ε_{train}$时,由于底层的NVM交叉阵列,对抗训练的DNN在鲁棒精度上提升了5-10%。我们的结果表明,在模拟硬件上实现对抗训练网络需要在硬件非理想性与$ε_{train}$之间进行仔细校准,以实现最佳的鲁棒性和性能。
英文摘要:
Applications based on Deep Neural Networks (DNNs) have grown exponentially in the past decade. To match their increasing computational needs, several Non-Volatile Memory (NVM) crossbar based accelerators have been proposed. Recently, researchers have shown that apart from improved energy efficiency and performance, such approximate hardware also possess intrinsic robustness for defense against adversarial attacks. Prior works quantified this intrinsic robustness for vanilla DNNs trained on unperturbed inputs. However, adversarial training of DNNs is the benchmark technique for robustness, and sole reliance on intrinsic robustness of the hardware may not be sufficient. In this work, we explore the design of robust DNNs through the amalgamation of adversarial training and intrinsic robustness of NVM crossbar-based analog hardware. First, we study the noise stability of such networks on unperturbed inputs and observe that internal activations of adversarially trained networks have lower Signal-to-Noise Ratio (SNR), and are sensitive to noise compared to vanilla networks. As a result, they suffer on average 2x performance degradation due to the approximate computations on analog hardware. Noise stability analyses show the instability of adversarially trained DNNs. On the other hand, for adversarial images generated using Square Black Box attacks, ResNet-10/20 adversarially trained on CIFAR-10/100 display a robustness gain of 20-30%. For adversarial images generated using Projected-Gradient-Descent (PGD) White-Box attacks, adversarially trained DNNs present a 5-10% gain in robust accuracy due to underlying NVM crossbar when $ε_{attack}$ is greater than $ε_{train}$. Our results indicate that implementing adversarially trained networks on analog hardware requires careful calibration between hardware non-idealities and $ε_{train}$ for optimum robustness and performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。