Leveraging Expert Guided Adversarial Augmentation For Improving Generalization in Named Entity Recognition

Aaron Reich, Jiaao Chen, Aastha Agrawal, Yanzhe Zhang, Diyi Yang
3/21/2022
cs.CLcs.AI

Official code: SALT-NLP/Guided-Adversarial-Augmentation (5 stars, Jupyter Notebook, Apache-2.0, last commit 2022-07-19).

Abstract

Named Entity Recognition (NER) systems often demonstrate great performance on in-distribution data, but perform poorly on examples drawn from a shifted distribution. One way to evaluate the generalization ability of NER models is to use adversarial examples, on which the specific variations associated with named entities are rarely considered.

Show full abstract

To this end, we propose leveraging expert-guided heuristics to change the entity tokens and their surrounding contexts thereby altering their entity types as adversarial attacks. Using expert-guided heuristics, we augmented the CoNLL 2003 test set and manually annotated it to construct a high-quality challenging set. We found that state-of-the-art NER systems trained on CoNLL 2003 training data drop performance dramatically on our challenging set. By training on adversarial augmented training examples and using mixup for regularization, we were able to significantly improve the performance on the challenging set as well as improve out-of-domain generalization which we evaluated by using OntoNotes data. We have publicly released our dataset and code at https://github.com/GT-SALT/Guided-Adversarial-Augmentation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
51Jupyter Notebook, PythonMar 14, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{reich2022leveraging,
  title  = {Leveraging Expert Guided Adversarial Augmentation For Improving Generalization in Named Entity Recognition},
  author = {Aaron Reich and Jiaao Chen and Aastha Agrawal and Yanzhe Zhang and Diyi Yang},
  year   = {2022},
  eprint = {2203.10693},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10693}
}

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

Discussion