NoiLIn: Improving Adversarial Training and Correcting Stereotype of Noisy Labels

Jingfeng Zhang, Xilie Xu, Bo Han, Tongliang Liu, Gang Niu +2 more
5/31/2021
cs.LG

Official code: zjfheart/NoiLIn (8 stars, Python, last commit 2022-08-06).

Abstract

Adversarial training (AT) formulated as the minimax optimization problem can effectively enhance the model's robustness against adversarial attacks. The existing AT methods mainly focused on manipulating the inner maximization for generating quality adversarial variants or manipulating the outer minimization for designing effective learning objectives.

Show full abstract

However, empirical results of AT always exhibit the robustness at odds with accuracy and the existence of the cross-over mixture problem, which motivates us to study some label randomness for benefiting the AT. First, we thoroughly investigate noisy labels (NLs) injection into AT's inner maximization and outer minimization, respectively and obtain the observations on when NL injection benefits AT. Second, based on the observations, we propose a simple but effective method -- NoiLIn that randomly injects NLs into training data at each training epoch and dynamically increases the NL injection rate once robust overfitting occurs. Empirically, NoiLIn can significantly mitigate the AT's undesirable issue of robust overfitting and even further improve the generalization of the state-of-the-art AT methods. Philosophically, NoiLIn sheds light on a new perspective of learning with NLs: NLs should not always be deemed detrimental, and even in the absence of NLs in the training set, we may consider injecting them deliberately. Codes are available in https://github.com/zjfheart/NoiLIn.

View on arXivView PDF

Code Implementations(1)

zjfheart/NoiLInOfficial100%

The code for NoiLIn: Improving Adversarial Training and Correcting Stereotype of Noisy Labels (TMLR 22 accept)

82Python, ShellJun 10, 20224 years ago
adversarial-learning

Similar Papers

Cite this paper

@article{zhang2021noilin,
  title  = {NoiLIn: Improving Adversarial Training and Correcting Stereotype of Noisy Labels},
  author = {Jingfeng Zhang and Xilie Xu and Bo Han and Tongliang Liu and Gang Niu and Lizhen Cui and Masashi Sugiyama},
  year   = {2021},
  eprint = {2105.14676},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14676}
}

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

Discussion