Conflict-Aware Adversarial Training

Zhiyu Xue, Haohan Wang, Yao Qin, Ramtin Pedarsani
10/21/2024
cs.LGcs.AI

No official code found. Best implementation: chrisyxue/CA-AT (0 stars, MIT, last commit 2025-12-05).

Abstract

Adversarial training is the most effective method to obtain adversarial robustness for deep neural networks by directly involving adversarial samples in the training procedure. To obtain an accurate and robust model, the weighted-average method is applied to optimize standard loss and adversarial loss simultaneously. In this paper, we argue that the weighted-average method does not provide the best tradeoff for the standard performance and adversarial robustness. We argue that the failure of the weighted-average method is due to the conflict between the gradients derived from standard and adversarial loss, and further demonstrate such a conflict increases with attack budget theoretically and practically. To alleviate this problem, we propose a new trade-off paradigm for adversarial training with a conflict-aware factor for the convex combination of standard and adversarial loss, named \textbf{Conflict-Aware Adversarial Training~(CA-AT)}. Comprehensive experimental results show that CA-AT consistently offers a superior trade-off between standard performance and adversarial robustness under the settings of adversarial training from scratch and parameter-efficient finetuning.

View on arXivView PDF

Code Implementations(1)

chrisyxue/CA-ATCommunity64%
MIT

Source Code for Conflict-Aware Adversarial Training

00May 21, 202410 months agoMIT

Similar Papers

Cite this paper

@article{xue2024conflictaware,
  title  = {Conflict-Aware Adversarial Training},
  author = {Zhiyu Xue and Haohan Wang and Yao Qin and Ramtin Pedarsani},
  year   = {2024},
  eprint = {2410.16579},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.16579v1}
}

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/2410.16579.svg)](https://codeofpaper.com/paper/2410.16579)

Discussion