[论文解读] Bandlimiting Neural Networks Against Adversarial Attacks
本文提出了一种简单的后处理平均防御方法,通过在频域中平滑深度ReLU神经网络的高频分量来实现带限,从而在无需微调的情况下显著提升对对抗攻击的鲁棒性。该方法在ImageNet上对FGSM、PGD、DeepFool和C&W攻击的防御率超过95%,且在干净图像上的准确率下降不足1%。
In this paper, we study the adversarial attack and defence problem in deep learning from the perspective of Fourier analysis. We first explicitly compute the Fourier transform of deep ReLU neural networks and show that there exist decaying but non-zero high frequency components in the Fourier spectrum of neural networks. We demonstrate that the vulnerability of neural networks towards adversarial samples can be attributed to these insignificant but non-zero high frequency components. Based on this analysis, we propose to use a simple post-averaging technique to smooth out these high frequency components to improve the robustness of neural networks against adversarial attacks. Experimental results on the ImageNet dataset have shown that our proposed method is universally effective to defend many existing adversarial attacking methods proposed in the literature, including FGSM, PGD, DeepFool and C&W attacks. Our post-averaging method is simple since it does not require any re-training, and meanwhile it can successfully defend over 95% of the adversarial samples generated by these methods without introducing any significant performance degradation (less than 1%) on the original clean images.
研究动机与目标
- 通过傅里叶分析研究深度神经网络对抗脆弱性的根本原因。
- 证明傅里叶谱中非零的高频分量是模型对对抗扰动敏感的原因。
- 开发一种简单、无需微调的防御机制,可有效应对多种对抗攻击。
- 在ImageNet上评估所提方法在多种攻击类型和评估标准下的鲁棒性与效率。
提出的方法
- 作者推导了全连接ReLU神经网络的显式傅里叶变换,揭示了其存在衰减但非零的高频分量。
- 他们指出,这些高频分量使模型对微小且难以察觉的扰动变得敏感,从而导致对抗脆弱性。
- 提出一种后处理平均技术,通过在输入空间的球形邻域内对网络输出进行平均,来平滑高频分量。
- 采用两种采样策略——随机采样与近似采样——以高效计算平均值,其中后者可实现更快的推理速度。
- 该方法作为后处理步骤应用,无需模型微调或架构修改。
- 防御性能通过多种攻击设置下的top-1和top-5准确率标准进行评估。
实验结果
研究问题
- RQ1从谱域视角看,为何深度ReLU网络在本质上对对抗攻击具有脆弱性?
- RQ2傅里叶谱中非零的高频分量在多大程度上导致了对抗脆弱性?
- RQ3一种简单、无需微调的后处理技术能否有效防御多种对抗攻击?
- RQ4采样策略与半径的选择如何影响防御性能与推理效率?
- RQ5该方法是否能在保持高干净图像准确率的同时,对多种攻击类型实现强鲁棒性?
主要发现
- 所提后处理平均方法在ImageNet上对FGSM、PGD、DeepFool和C&W攻击生成的对抗样本防御率超过95%,且在干净图像上的性能下降不足1%。
- 在FGSM攻击下,采用K=60和半径r=30的随机采样,该方法在top-5-miss标准下实现了95.65%的防御率。
- 在PGD攻击下,采用随机采样与K=60,该方法在top-5-miss标准下实现了97.68%的防御率。
- 即使仅使用K=6个采样方向,该方法仍保持良好性能,将每张图像的计算量减少至37次采样,支持快速GPU推理。
- 近似采样相比随机采样防御性能略低,但计算效率更优。
- 该方法在不同攻击类型和评估指标下均表现出稳定且鲁棒的防御性能,表明其具备广谱有效性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。