mlsanityData to 7 Oct 2026

RockNER: A Simple Method to Create Adversarial Examples for Evaluating the Robustness of Named Entity Recognition Models

arXiv 2109.05620 ↗First posted 12 Sep 2021cs.CLcited by 28

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 18 of its 29 references that are in the map. First posted on arXiv 12 Sep 2021.

Builds on

18 of 29 references.

References · 18

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 719
  4. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  5. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  6. 2016Neural Architectures for Named Entity Recognitioncited by 548
  7. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  8. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  9. 2019Augmenting Data with Mixup for Sentence Classification: An Empirical Studycited by 125
  10. 2019Scalable Zero-shot Entity Linking with Dense Entity Retrievalcited by 85
  11. 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
  12. 2018Adversarially Regularising Neural NLI Models to Integrate Logical Background Knowledgecited by 45
6 more
  1. 2020Rethinking Generalization of Neural Models: A Named Entity Recognition Case Studycited by 35
  2. 2020TriggerNER: Learning with Entity Triggers as Explanations for Named Entity Recognitioncited by 30
  3. 2020Interpretability Analysis for Named Entity Recognition to Understand System Predictions and How They Can Improvecited by 16
  4. 2020Entity-Switched Datasets: An Approach to Auditing the In-Domain Robustness of Named Entity Recognition Modelscited by 12
  5. 2019Robust Named Entity Recognition with Truecasing Pretrainingcited by 11
  6. 2019Robustness to Capitalization Errors in Named Entity Recognitioncited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 10; 2023: 9; 2024: 4; 2025: 1; 2026: 2.

28 papers.

Sort:

By area:

  1. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  2. 2022Perturbation Augmentation for Fairer NLPcited by 51
  3. 2023Training-free Lexical Backdoor Attacks on Language Modelscited by 27
  4. 2021On the Robustness of Reading Comprehension Models to Entity Renamingcited by 17
  5. 2022CROP: Zero-shot Cross-lingual Named Entity Recognition with Multilingual Labeled Sequence Translationcited by 17
  6. 2022A Word is Worth A Thousand Dollars: Adversarial Attack on Tweets Fools Stock Predictionscited by 15
  7. 2022BLINK with Elasticsearch for Efficient Entity Linking in Business Conversationscited by 13
  8. 2022What do we Really Know about State of the Art NER?cited by 10
  9. 2022PSSAT: A Perturbed Semantic Structure Awareness Transferring Method for Perturbation-Robust Slot Fillingcited by 9
  10. 2022FactMix: Using a Few Labeled In-domain Examples to Generalize to Cross-domain Named Entity Recognitioncited by 7
  11. 2022PeerDA: Data Augmentation via Modeling Peer Relation for Span Identification Taskscited by 7
  12. 2022Improving Named Entity Recognition in Telephone Conversations via Effective Active Learning with Human in the Loopcited by 7
16 more
  1. 2023RobustGEC: Robust Grammatical Error Correction Against Subtle Context Perturbationcited by 6
  2. 2023Attack Named Entity Recognition by Entity Boundary Interferencecited by 4
  3. 2023Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purificationcited by 4
  4. 2023Automated Testing and Improvement of Named Entity Recognition Systemscited by 3
  5. 2024QueryNER: Segmentation of E-commerce Queriescited by 3
  6. 2022Style Transfer as Data Augmentation: A Case Study on Named Entity Recognitioncited by 2
  7. 2023A Multilingual Evaluation of NER Robustness to Adversarial Inputscited by 2
  8. 2024Entity Recognition from Colloquial Textcited by 1
  9. 2024On the Robustness of Document-Level Relation Extraction Models to Entity Name Variationscited by 1
  10. 2025Towards Robust Universal Information Extraction: Benchmark, Evaluation, and Solutioncited by 1
  11. 2023Test-Time Adaptation with Perturbation Consistency Learningcited by 0
  12. 2023RoPDA: Robust Prompt-based Data Augmentation for Low-Resource Named Entity Recognitioncited by 0
  13. 2023Context-aware Adversarial Attack on Named Entity Recognitioncited by 0
  14. 2024How much reliable is ChatGPT's prediction on Information Extraction under Input Perturbations?cited by 0
  15. 2026Towards a Diagnostic and Predictive Evaluation Methodology for Sequence Labeling Taskscited by 0
  16. 2026Reliable Financial Named Entity Recognition Under Domain Shift: Confidence Estimation and Selective Predictioncited by 0