Improving Adversarial Robustness via Feature Pattern Consistency Constraint

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hu, Jiacong, Ye, Jingwen, Feng, Zunlei, Yang, Jiazhen, Liu, Shunyu, Yu, Xiaotian, Jia, Lingxiang, Song, Mingli
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910485244280832
author Hu, Jiacong
Ye, Jingwen
Feng, Zunlei
Yang, Jiazhen
Liu, Shunyu
Yu, Xiaotian
Jia, Lingxiang
Song, Mingli
author_facet Hu, Jiacong
Ye, Jingwen
Feng, Zunlei
Yang, Jiazhen
Liu, Shunyu
Yu, Xiaotian
Jia, Lingxiang
Song, Mingli
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_08829
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Adversarial Robustness via Feature Pattern Consistency Constraint
Hu, Jiacong
Ye, Jingwen
Feng, Zunlei
Yang, Jiazhen
Liu, Shunyu
Yu, Xiaotian
Jia, Lingxiang
Song, Mingli
Computer Vision and Pattern Recognition
Cryptography and Security
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.
title Improving Adversarial Robustness via Feature Pattern Consistency Constraint
topic Computer Vision and Pattern Recognition
Cryptography and Security
url https://arxiv.org/abs/2406.08829