arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.08829cs.CVcs.CR
收藏

通过特征模式一致性约束提升对抗鲁棒性

Improving Adversarial Robustness via Feature Pattern Consistency Constraint

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);State Key Laboratory of Blockchain and Security, Zhejiang University(浙江大学区块链与安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新区(滨江)区块链与数据安全研究院);National University of Singapore(新加坡国立大学);School of Software Technology, Zhejiang University(浙江大学软件学院)

Jiacong Hu, Jingwen Ye, Zunlei Feng, Jiazhen Yang, Shunyu Liu, Xiaotian Yu, Lingxiang Jia, Mingli Song

AI总结:

针对CNN易受对抗攻击且现有防御存在过拟合或推理开销问题,提出仅用干净样本的FPCC,通过特征修改、选择与模式一致性损失提升内在对抗鲁棒性。

摘要:

卷积神经网络(CNNs)因易受对抗攻击而众所周知,这带来了严重的安全隐患。为应对这些威胁,各种防御方法相继出现,以增强模型的鲁棒性。然而,大多数现有方法要么侧重于从对抗扰动中学习,导致对对抗样本过拟合;要么旨在推理过程中消除此类扰动,不可避免地增加计算负担。相反,仅依靠干净样本增强模型鲁棒性的干净训练能够解决上述问题。本文遵循这一方法路线,并提升其对未知对抗样本的泛化能力。这种增强通过审视网络内部潜在特征的行为实现。我们认识到正确预测依赖于潜在特征模式的正确性,因此提出一种新颖且有效的特征模式一致性约束(FPCC)方法,以增强潜在特征保持正确特征模式的能力。具体而言,我们提出空间维度特征修改和通道维度特征选择来增强潜在特征。随后,我们采用模式一致性损失,约束潜在特征的特征模式与正确特征模式之间的相似性。实验表明,FPCC方法使潜在特征即使面对对抗样本也能保持正确的特征模式,从而产生超越最先进模型的内在对抗鲁棒性。

英文摘要:

Convolutional Neural Networks (CNNs) are well-known for their vulnerability to adversarial attacks, posing significant security concerns. In response to these threats, various defense methods have emerged to bolster the model's robustness. However, most existing methods either focus on learning from adversarial perturbations, leading to overfitting to the adversarial examples, or aim to eliminate such perturbations during inference, inevitably increasing computational burdens. Conversely, clean training, which strengthens the model's robustness by relying solely on clean examples, can address the aforementioned issues. In this paper, we align with this methodological stream and enhance its generalizability to unknown adversarial examples. This enhancement is achieved by scrutinizing the behavior of latent features within the network. Recognizing that a correct prediction relies on the correctness of the latent feature's pattern, we introduce a novel and effective Feature Pattern Consistency Constraint (FPCC) method to reinforce the latent feature's capacity to maintain the correct feature pattern. Specifically, we propose Spatial-wise Feature Modification and Channel-wise Feature Selection to enhance latent features. Subsequently, we employ the Pattern Consistency Loss to constrain the similarity between the feature pattern of the latent features and the correct feature pattern. Our experiments demonstrate that the FPCC method empowers latent features to uphold correct feature patterns even in the face of adversarial examples, resulting in inherent adversarial robustness surpassing state-of-the-art models.

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

↑