Balanced Adversarial Training: Balancing Tradeoffs between Fickleness and Obstinacy in NLP Models

Hannah Chen, Yangfeng Ji, David Evans
10/20/2022
cs.CL

Official code: hannahxchen/balanced-adversarial-training (2 stars, Python, last commit 2022-10-20).

Abstract

Traditional (fickle) adversarial examples involve finding a small perturbation that does not change an input's true label but confuses the classifier into outputting a different prediction. Conversely, obstinate adversarial examples occur when an adversary finds a small perturbation that preserves the classifier's prediction but changes the true label of an input.

Show full abstract

Adversarial training and certified robust training have shown some effectiveness in improving the robustness of machine learnt models to fickle adversarial examples. We show that standard adversarial training methods focused on reducing vulnerability to fickle adversarial examples may make a model more vulnerable to obstinate adversarial examples, with experiments for both natural language inference and paraphrase identification tasks. To counter this phenomenon, we introduce Balanced Adversarial Training, which incorporates contrastive learning to increase robustness against both fickle and obstinate adversarial examples.

View on arXivView PDF

Code Implementations(1)

20Python, ShellOct 20, 20224 years ago

Similar Papers

Cite this paper

@article{chen2022balanced,
  title  = {Balanced Adversarial Training: Balancing Tradeoffs between Fickleness and Obstinacy in NLP Models},
  author = {Hannah Chen and Yangfeng Ji and David Evans},
  year   = {2022},
  eprint = {2210.11498},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11498}
}

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

Discussion