HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Enhancing Robust Representation in Adversarial Training: Alignment and Exclusion Criteria

Nuoyan Zhou Nannan Wang Decheng Liu Dawei Zhou Xinbo Gao

Enhancing Robust Representation in Adversarial Training: Alignment and Exclusion Criteria

Abstract

Deep neural networks are vulnerable to adversarial noise. Adversarial Training (AT) has been demonstrated to be the most effective defense strategy to protect neural networks from being fooled. However, we find AT omits to learning robust features, resulting in poor performance of adversarial robustness. To address this issue, we highlight two criteria of robust representation: (1) Exclusion: \emph{the feature of examples keeps away from that of other classes}; (2) Alignment: \emph{the feature of natural and corresponding adversarial examples is close to each other}. These motivate us to propose a generic framework of AT to gain robust representation, by the asymmetric negative contrast and reverse attention. Specifically, we design an asymmetric negative contrast based on predicted probabilities, to push away examples of different classes in the feature space. Moreover, we propose to weight feature by parameters of the linear classifier as the reverse attention, to obtain class-aware feature and pull close the feature of the same class. Empirical evaluations on three benchmark datasets show our methods greatly advance the robustness of AT and achieve state-of-the-art performance.

Code Repositories

changzhang777/ancra
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
adversarial-attack-on-cifar-10TRADES-ANCRA/ResNet18
Attack: AutoAttack: 59.70
adversarial-defense-on-cifar-10ResNet18 (TRADES-ANCRA/PGD-40)
Accuracy: 81.70
Attack: AutoAttack: 59.70
Robust Accuracy: 82.96
adversarial-defense-on-cifar-100resnet18
autoattack: 60.10/35.05
adversarial-robustness-on-cifar-10TRADES-ANCRA/ResNet18
Accuracy: 81.70
Attack: AutoAttack: 59.70
adversarial-robustness-on-cifar-100ResNet18/MART-ANCRA
AutoAttacked Accuracy: 35.05
Clean Accuracy: 60.10

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Enhancing Robust Representation in Adversarial Training: Alignment and Exclusion Criteria | Papers | HyperAI