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

第一道防线:稳健的第一层可缓解对抗攻击

First line of defense: A robust first layer mitigates adversarial attacks

Indian Institute of Technology Madras(马德拉斯印度理工学院);Imperial College London(帝国理工学院)

Janani Suresh, Nancy Nayak, Sheetal Kalyani

AI总结:

本文提出通过结合大卷积核、增加卷积过滤器和最大池化操作构建隐式对抗噪声过滤器(ANF)作为神经网络第一层,无需对抗训练即可提升 ResNet 等架构的对抗鲁棒性,效果媲美对抗训练模型。

摘要:

对抗训练(AT)会带来显著的计算开销,促使人们越来越关注设计固有鲁棒性的架构。我们证明,精心设计的神经网络第一层可作为隐式对抗噪声过滤器(ANF)。该过滤器通过结合大卷积核尺寸、增加的卷积过滤器数量以及最大池化操作构建。我们表明,将该过滤器作为 ResNet、VGG 和 EfficientNet 等架构的第一层,能构建出具有对抗鲁棒性的网络。我们的方法无需 AT 即可实现比现有原生鲁棒架构更高的对抗精度,且在多种数据集上与对抗训练架构相媲美。为支持我们的发现,我们证明: 该方法的决策区域具有更好的边界; 可视化的损失表面更平滑; ANF 输出处的修改峰值信噪比(mPSNR)值更高; 高频分量被更大程度衰减; 结合 ANF 的架构在处理高斯噪声时相比基线架构展现出更好的去噪效果。所有实验的代码可在 \url{https://github.com/janani-suresh-97/first-line-defence.git} 获取。

英文摘要:

Adversarial training (AT) incurs significant computational overhead, leading to growing interest in designing inherently robust architectures. We demonstrate that a carefully designed first layer of the neural network can serve as an implicit adversarial noise filter (ANF). This filter is created using a combination of large kernel size, increased convolution filters, and a maxpool operation. We show that integrating this filter as the first layer in architectures such as ResNet, VGG, and EfficientNet results in adversarially robust networks. Our approach achieves higher adversarial accuracies than existing natively robust architectures without AT and is competitive with adversarial-trained architectures across a wide range of datasets. Supporting our findings, we show that (a) the decision regions for our method have better margins, (b) the visualized loss surfaces are smoother, (c) the modified peak signal-to-noise ratio (mPSNR) values at the output of the ANF are higher, (d) high-frequency components are more attenuated, and (e) architectures incorporating ANF exhibit better denoising in Gaussian noise compared to baseline architectures. Code for all our experiments are available at \url{https://github.com/janani-suresh-97/first-line-defence.git}.

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

↑