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

通过解耦视觉表示掩码提升对抗鲁棒性

Improving Adversarial Robustness via Decoupled Visual Representation Masking

Xidian University(西安电子科技大学);Chongqing University of Posts and Telecommunications(重庆邮电大学)

Decheng Liu, Tao Chen, Chunlei Peng, Nannan Wang, Ruimin Hu, Xinbo Gao

AI总结:

本文提出解耦视觉特征掩码模块DFM,通过在对抗训练中同时增大类内多样性并减小类间差异,以即插即用方式提升现有防御算法的鲁棒性。

摘要:

深度神经网络已被证明容易受到精心设计的对抗样本的攻击,对抗防御算法如今受到越来越多的关注。基于预处理的防御是一种主要策略,同时学习鲁棒特征表示也已被证明是提升泛化能力的有效途径。然而,现有的防御工作缺乏在训练过程中考虑不同深度层次的视觉特征。本文首先从特征分布的角度揭示了鲁棒特征的两个新性质:1)多样性。类内样本的鲁棒特征能够保持适当的多样性;2)判别性。类间样本的鲁棒特征应确保充分的分离。我们发现最先进的防御方法都旨在很好地解决上述两个问题。这促使我们在对抗训练中同时增大类内方差并减小类间差异。具体而言,我们提出了一种基于解耦视觉表示掩码的简单而有效的防御方法。所设计的解耦视觉特征掩码(DFM)模块能够通过多样的掩码策略自适应地解耦视觉判别特征和非视觉特征,而适当丢弃信息可以扰乱对抗噪声以提高鲁棒性。我们的工作为任何现有的对抗训练算法提供了一个通用且易于插入的模块单元,以整体实现更好的保护。大量实验结果表明,与最先进的防御方法相比,所提方法能够取得更优越的性能。代码已公开在 https://github.com/chenboluo/Adversarial-defense。

英文摘要:

Deep neural networks are proven to be vulnerable to fine-designed adversarial examples, and adversarial defense algorithms draw more and more attention nowadays. Pre-processing based defense is a major strategy, as well as learning robust feature representation has been proven an effective way to boost generalization. However, existing defense works lack considering different depth-level visual features in the training process. In this paper, we first highlight two novel properties of robust features from the feature distribution perspective: 1) \textbf{Diversity}. The robust feature of intra-class samples can maintain appropriate diversity; 2) \textbf{Discriminability}. The robust feature of inter-class samples should ensure adequate separation. We find that state-of-the-art defense methods aim to address both of these mentioned issues well. It motivates us to increase intra-class variance and decrease inter-class discrepancy simultaneously in adversarial training. Specifically, we propose a simple but effective defense based on decoupled visual representation masking. The designed Decoupled Visual Feature Masking (DFM) block can adaptively disentangle visual discriminative features and non-visual features with diverse mask strategies, while the suitable discarding information can disrupt adversarial noise to improve robustness. Our work provides a generic and easy-to-plugin block unit for any former adversarial training algorithm to achieve better protection integrally. Extensive experimental results prove the proposed method can achieve superior performance compared with state-of-the-art defense approaches. The code is publicly available at \href{https://github.com/chenboluo/Adversarial-defense}{https://github.com/chenboluo/Adversarial-defense}.

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

↑