RockNER: A Simple Method to Create Adversarial Examples for Evaluating the Robustness of Named Entity Recognition Models
Bill Yuchen Lin, Wenyang Gao, Jun Yan et al. · Conference on Empirical Methods in Natural Language Processing (EMNLP) · 2021
To audit the robustness of named entity recognition (NER) models, we propose RockNER, a simple yet effective method to create natural adversarial examples.Specifically, at the entity level, we replace target entities with other entities of the same semantic class in Wikidata; at the context level, we use pre-trained language models (e.g., BERT) to generate word substitutions.Together, the two levels of attack produce natural adversarial examples that result in a shifted distribution from the training data on which our target models have been trained.We apply the proposed method to the OntoNotes dataset and create a new benchmark named OntoRock for evaluating the robustness of existing NER models via a systematic evaluation protocol.Our experiments and analysis reveal that even the best model has a significant performance drop, and these models seem to memorize in-domain entity patterns instead of reasoning from the context.Our work also studies the effects of a few simple data augmentation methods to improve the robustness of NER models. 1
Cited by 32 works. doi:10.18653/v1/2021.emnlp-main.302 Open-access PDF
Authors
References
- AI-Assisted Pipeline for Dynamic Generation of Trustworthy Health Supplement Content at Scale
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- HISTORIAE, History of Socio-Cultural Transformation as Linguistic Data Science. A Humanities Use Case
- Introduction to the CoNLL-2003 shared task
- Neural Architectures for Named Entity Recognition
- Introduction to the CoNLL-2002 Shared Task: Language-Independent Named Entity Recognition
- Contextual String Embeddings for Sequence Labeling
- Adversarial Examples for Evaluating Reading Comprehension Systems
- Introduction to the CoNLL-2002 shared task
- Stanza: A Python Natural Language Processing Toolkit for Many Human Languages