Dual Head Adversarial Training

Yujing Jiang, Xingjun Ma, Sarah Monazam Erfani, James Bailey
4/21/2021
cs.LGcs.CRcs.CV

Official code: yujingmarkjiang/Dual-Head-Adversarial-Training (5 stars, Python, last commit 2022-11-15).

Abstract

Deep neural networks (DNNs) are known to be vulnerable to adversarial examples/attacks, raising concerns about their reliability in safety-critical applications. A number of defense methods have been proposed to train robust DNNs resistant to adversarial attacks, among which adversarial training has so far demonstrated the most promising results.

Show full abstract

However, recent studies have shown that there exists an inherent tradeoff between accuracy and robustness in adversarially-trained DNNs. In this paper, we propose a novel technique Dual Head Adversarial Training (DH-AT) to further improve the robustness of existing adversarial training methods. Different from existing improved variants of adversarial training, DH-AT modifies both the architecture of the network and the training strategy to seek more robustness. Specifically, DH-AT first attaches a second network head (or branch) to one intermediate layer of the network, then uses a lightweight convolutional neural network (CNN) to aggregate the outputs of the two heads. The training strategy is also adapted to reflect the relative importance of the two heads. We empirically show, on multiple benchmark datasets, that DH-AT can bring notable robustness improvements to existing adversarial training methods. Compared with TRADES, one state-of-the-art adversarial training method, our DH-AT can improve the robustness by 3.4% against PGD40 and 2.3% against AutoAttack, and also improve the clean accuracy by 1.8%.

View on arXivView PDF

Code Implementations(1)

IJCNN'21 paper "Dual Head Adversarial Training" by Yujing Jiang, Xingjun Ma, Sarah Monazam Erfani, and James Bailey.

50PythonApr 22, 20214 years ago

Similar Papers

Cite this paper

@article{jiang2021dual,
  title  = {Dual Head Adversarial Training},
  author = {Yujing Jiang and Xingjun Ma and Sarah Monazam Erfani and James Bailey},
  year   = {2021},
  eprint = {2104.10377},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.10377}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.10377.svg)](https://codeofpaper.com/paper/2104.10377)

Discussion