Pith. sign in

Consistency Regularization for Adversarial Robustness

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

Adversarial training (AT) is currently one of the most successful methods to obtain the adversarial robustness of deep neural networks. However, the phenomenon of robust overfitting, i.e., the robustness starts to decrease significantly during AT, has been problematic, not only making practitioners consider a bag of tricks for a successful training, e.g., early stopping, but also incurring a significant generalization gap in the robustness. In this paper, we propose an effective regularization technique that prevents robust overfitting by optimizing an auxiliary `consistency' regularization loss during AT. Specifically, we discover that data augmentation is a quite effective tool to mitigate the overfitting in AT, and develop a regularization that forces the predictive distributions after attacking from two different augmentations of the same instance to be similar with each other. Our experimental results demonstrate that such a simple regularization technique brings significant improvements in the test robust accuracy of a wide range of AT methods. More remarkably, we also show that our method could significantly help the model to generalize its robustness against unseen adversaries, e.g., other types or larger perturbations compared to those used during training. Code is available at https://github.com/alinlab/consistency-adversarial.

fields

cs.LG 1

years

2025 1

verdicts

CONDITIONAL 1

representative citing papers

HEM: a margin-based loss for visual categorisation tasks

cs.LG · 2025-01-21 · conditional · novelty 6.0

A new margin-based loss, HEM, trains image classifiers that are more robust to unknown and adversarial inputs and better at continual learning and segmentation than cross-entropy-trained models.

citing papers explorer

Showing 1 of 1 citing paper.

  • HEM: a margin-based loss for visual categorisation tasks cs.LG · 2025-01-21 · conditional · none · ref 82 · internal anchor

    A new margin-based loss, HEM, trains image classifiers that are more robust to unknown and adversarial inputs and better at continual learning and segmentation than cross-entropy-trained models.