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

超越预训练特征:噪声图像建模可提供对抗防御

Beyond Pretrained Features: Noisy Image Modeling Provides Adversarial Defense

University of Sydney(悉尼大学);Seoul National University(首尔大学)

Zunzhi You, Daochang Liu, Bohyung Han, Chang Xu

AI总结:

针对MIM预训练模型易受对抗攻击的问题,本文提出基于噪声图像建模的De³防御方法,利用预训练解码器去噪,通过随机采样噪声超参数实现准确率与鲁棒性的可调权衡,性能与对抗训练相当且更具可调性。

摘要:

掩码图像建模(MIM)的最新进展使其成为自监督视觉表征学习的主流框架。与大多数深度神经网络方法类似,MIM预训练模型仍然容易受到对抗攻击,这限制了其实际应用,且该问题目前受到的研究关注较少。本文探究了这一强大的自监督学习范式如何为下游分类器提供对抗鲁棒性。在探索过程中我们发现,噪声图像建模(NIM)——一种采用去噪作为前置任务的MIM简单变体——即使在图像严重受损的情况下,也能以惊人的效果重建噪声图像。受这一观察结果启发,我们提出了一种名为De³的对抗防御方法,该方法利用预训练的解码器进行去噪。通过De³,NIM不仅能提供预训练特征,还能增强对抗鲁棒性。此外,我们加入了一项简单的改进:从随机分布中采样噪声尺度超参数,使防御方法能够在准确率和鲁棒性之间实现更优且可调的权衡。实验结果表明,在对抗鲁棒性方面,NIM凭借其有效的去噪能力优于MIM。此外,NIM提供的防御方法性能与对抗训练相当,还具备额外的可调性优势。源代码和模型可在https://github.com/youzunzhi/NIM-AdvDef获取。

英文摘要:

Recent advancements in masked image modeling (MIM) have made it a prevailing framework for self-supervised visual representation learning. The MIM pretrained models, like most deep neural network methods, remain vulnerable to adversarial attacks, limiting their practical application, and this issue has received little research attention. In this paper, we investigate how this powerful self-supervised learning paradigm can provide adversarial robustness to downstream classifiers. During the exploration, we find that noisy image modeling (NIM), a simple variant of MIM that adopts denoising as the pre-text task, reconstructs noisy images surprisingly well despite severe corruption. Motivated by this observation, we propose an adversarial defense method, referred to as De^3, by exploiting the pretrained decoder for denoising. Through De^3, NIM is able to enhance adversarial robustness beyond providing pretrained features. Furthermore, we incorporate a simple modification, sampling the noise scale hyperparameter from random distributions, and enable the defense to achieve a better and tunable trade-off between accuracy and robustness. Experimental results demonstrate that, in terms of adversarial robustness, NIM is superior to MIM thanks to its effective denoising capability. Moreover, the defense provided by NIM achieves performance on par with adversarial training while offering the extra tunability advantage. Source code and models are available at https://github.com/youzunzhi/NIM-AdvDef.

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

↑