arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.13841cs.CR
收藏

基于分布迁移的对抗防御

Adversarial defense based on distribution transfer

Jiahao Chen, Diqun Yan, Li Dong

AI总结:

本文提出一种基于分布偏移的扩散模型对抗防御方法,通过前向扩散与受保护模型引导的反向过程将对抗样本映射回正常分布,在多数据集上显著提升了模型鲁棒性与泛化性能。

摘要:

对抗样本的存在对深度学习模型及其应用构成了重大威胁。现有的防御方法对对抗样本提供了一定的鲁棒性,但往往面临准确率和泛化性能下降的问题,使得在鲁棒性和泛化之间实现权衡极具挑战。为解决此问题,本文从样本分布的角度解释了对抗样本问题,并提出了一种基于分布偏移的防御方法,利用扩散模型的分布迁移能力进行对抗防御。核心思想是利用正常样本与对抗样本分布之间的差异,通过预训练的扩散模型实现对抗防御。具体而言,对抗样本经历前向扩散过程,远离源分布,随后在受保护模型(victim model)输出的引导下进行反向过程,将其映射回正常分布。在CIFAR10和ImageNet30数据集上进行了实验评估,与对抗训练和输入预处理方法进行了比较。对于扰动为8/255的无穷范数攻击,分别实现了78.1%和83.5%的准确率。对于扰动为128/255的2范数攻击,准确率分别为74.3%和82.5%。考虑扰动幅度、扩散迭代和自适应攻击的额外实验也验证了所提方法的有效性。结果表明,即使攻击者了解防御机制,所提基于分布的方法也能有效抵御对抗样本。它填补了传统方法的空白,恢复了高质量的原始样本,并在模型鲁棒性和泛化性上展现出卓越性能。

英文摘要:

The presence of adversarial examples poses a significant threat to deep learning models and their applications. Existing defense methods provide certain resilience against adversarial examples, but often suffer from decreased accuracy and generalization performance, making it challenging to achieve a trade-off between robustness and generalization. To address this, our paper interprets the adversarial example problem from the perspective of sample distribution and proposes a defense method based on distribution shift, leveraging the distribution transfer capability of a diffusion model for adversarial defense. The core idea is to exploit the discrepancy between normal and adversarial sample distributions to achieve adversarial defense using a pretrained diffusion model. Specifically, an adversarial sample undergoes a forward diffusion process, moving away from the source distribution, followed by a reverse process guided by the protected model (victim model) output to map it back to the normal distribution. Experimental evaluations on CIFAR10 and ImageNet30 datasets are conducted, comparing with adversarial training and input preprocessing methods. For infinite-norm attacks with 8/255 perturbation, accuracy rates of 78.1% and 83.5% are achieved, respectively. For 2-norm attacks with 128/255 perturbation, accuracy rates are 74.3% and 82.5%. Additional experiments considering perturbation amplitude, diffusion iterations, and adaptive attacks also validate the effectiveness of the proposed method. Results demonstrate that even when the attacker has knowledge of the defense, the proposed distribution-based method effectively withstands adversarial examples. It fills the gaps of traditional approaches, restoring high-quality original samples and showcasing superior performance in model robustness and generalization.

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

↑