Improving Fast Adversarial Training with Prior-Guided Knowledge

Xiaojun Jia, Yong Zhang, Xingxing Wei, Baoyuan Wu, Ke Ma +2 more
4/1/2023
cs.LGcs.CV

No official code found. Best implementation: jiaxiaojunQAQ/FGSM-PGK (43 stars, last commit 2024-04-21).

Abstract

Fast adversarial training (FAT) is an efficient method to improve robustness. However, the original FAT suffers from catastrophic overfitting, which dramatically and suddenly reduces robustness after a few training epochs. Although various FAT variants have been proposed to prevent overfitting, they require high training costs. In this paper, we investigate the relationship between adversarial example quality and catastrophic overfitting by comparing the training processes of standard adversarial training and FAT. We find that catastrophic overfitting occurs when the attack success rate of adversarial examples becomes worse. Based on this observation, we propose a positive prior-guided adversarial initialization to prevent overfitting by improving adversarial example quality without extra training costs. This initialization is generated by using high-quality adversarial perturbations from the historical training process. We provide theoretical analysis for the proposed initialization and propose a prior-guided regularization method that boosts the smoothness of the loss function. Additionally, we design a prior-guided ensemble FAT method that averages the different model weights of historical models using different decay rates. Our proposed method, called FGSM-PGK, assembles the prior-guided knowledge, i.e., the prior-guided initialization and model weights, acquired during the historical training process. Evaluations of four datasets demonstrate the superiority of the proposed method.

View on arXivView PDF

Code Implementations(1)

Improving fast adversarial training with prior-guided knowledge (TPAMI2024)

435PythonApr 7, 20242 years ago

Similar Papers

Cite this paper

@article{jia2023improving,
  title  = {Improving Fast Adversarial Training with Prior-Guided Knowledge},
  author = {Xiaojun Jia and Yong Zhang and Xingxing Wei and Baoyuan Wu and Ke Ma and Jue Wang and Xiaochun Cao},
  year   = {2023},
  eprint = {2304.00202},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.00202v2}
}

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

Discussion