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

愿噪声与你同在:无需对抗样本的对抗训练

May the Noise be with you: Adversarial Training without Adversarial Examples

New York University (NYU)(纽约大学);UPHF(法国上法兰西理工大学);University of California Riverside(加州大学河滨分校);Queen’s University Belfast(贝尔法斯特女王大学)

Ayoub Arous, Andres F Lopez-Lopera, Nael Abu-Ghazaleh, Ihsen Alouani

AI总结:

该研究提出无需对抗样本的对抗训练方法,通过在神经网络层内嵌入高斯噪声引入内在随机性,构建闭式随机损失与噪声感知梯度,在良性数据上训练的随机模型期望函数具备与传统对抗训练相近的对抗鲁棒性。

摘要:

本文研究了以下问题:我们能否不在对抗样本上训练,就能得到经过对抗训练的模型?我们的直觉是,训练具有内在随机性的模型,即通过最小化随机损失函数来优化参数,会得到一个非随机的鲁棒期望函数。与在输入层引入噪声的相关方法不同,我们提出的方法通过在训练时将高斯噪声嵌入神经网络(NN)模型的层内来引入内在随机性。我们对噪声在各层间的传播进行建模,提出了一种包含噪声方差参数的闭式随机损失函数。此外,我们还提出了形式化的噪声感知梯度,使得在优化模型参数时能够考虑随机性。我们的实验结果证实,在良性分布上训练的随机架构的期望模型具有对抗鲁棒性。有趣的是,我们发现所施加的高斯噪声的标准差对鲁棒性和基准准确率的影响,与对抗训练中使用的噪声幅度的影响高度相似。我们的工作用一种完全不同的方法实现了对抗训练网络,其实验鲁棒性与对抗训练相近。

英文摘要:

In this paper, we investigate the following question: Can we obtain adversarially-trained models without training on adversarial examples? Our intuition is that training a model with inherent stochasticity, i.e., optimizing the parameters by minimizing a stochastic loss function, yields a robust expectation function that is non-stochastic. In contrast to related methods that introduce noise at the input level, our proposed approach incorporates inherent stochasticity by embedding Gaussian noise within the layers of the NN model at training time. We model the propagation of noise through the layers, introducing a closed-form stochastic loss function that encapsulates a noise variance parameter. Additionally, we contribute a formalized noise-aware gradient, enabling the optimization of model parameters while accounting for stochasticity. Our experimental results confirm that the expectation model of a stochastic architecture trained on benign distribution is adversarially robust. Interestingly, we find that the impact of the applied Gaussian noise's standard deviation on both robustness and baseline accuracy closely mirrors the impact of the noise magnitude employed in adversarial training. Our work contributes adversarially trained networks using a completely different approach, with empirically similar robustness to adversarial training.

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

↑