Targeted Adversarial Training for Natural Language Understanding

Lis Pereira, Xiaodong Liu, Hao Cheng, Hoifung Poon, Jianfeng Gao +1 more
4/12/2021
cs.CL

Official code: namisan/mt-dnn (2,257 stars, Python, MIT, PyTorch, last commit 2024-03-07).

Abstract

We present a simple yet effective Targeted Adversarial Training (TAT) algorithm to improve adversarial training for natural language understanding. The key idea is to introspect current mistakes and prioritize adversarial training steps to where the model errs the most.

Show full abstract

Experiments show that TAT can significantly improve accuracy over standard adversarial training on GLUE and attain new state-of-the-art zero-shot results on XNLI. Our code will be released at: https://github.com/namisan/mt-dnn.

View on arXivView PDF

Code Implementations(1)

namisan/mt-dnnOfficial100%
PyTorchMIT

Multi-Task Deep Neural Networks for Natural Language Understanding

2,257406Python, ShellFeb 19, 20192 years agoMIT
bertdeep-learningmachine-reading-comprehensionmicrosoftmulti-task-learning+5 more

Similar Papers

Cite this paper

@article{pereira2021targeted,
  title  = {Targeted Adversarial Training for Natural Language Understanding},
  author = {Lis Pereira and Xiaodong Liu and Hao Cheng and Hoifung Poon and Jianfeng Gao and Ichiro Kobayashi},
  year   = {2021},
  eprint = {2104.05847},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05847}
}

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

Discussion