mlsanityData to 14 Oct 2026

Automated Testing and Improvement of Named Entity Recognition Systems

arXiv 2308.07937 ↗First posted 14 Aug 2023cs.CL cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Named entity recognition (NER) systems have seen rapid progress in recent years due to the development of deep neural networks. These systems are widely used in various natural language processing applications, such as information extraction, question answering, and sentiment analysis. However, the complexity and intractability of deep neural networks can make NER systems unreliable in certain circumstances, resulting in incorrect predictions. For example, NER systems may misidentify female names as chemicals or fail to recognize the names of minority groups, leading to user dissatisfaction. To tackle this problem, we introduce TIN, a novel, widely applicable approach for automatically testing and repairing various NER systems. The key idea for automated testing is that the NER predictions of the same named entities under similar contexts should be identical. The core idea for automated repairing is that similar named entities should have the same NER prediction under the same context. We use TIN to test two SOTA NER models and two commercial NER APIs, i.e., Azure NER and AWS NER. We manually verify 784 of the suspicious issues reported by TIN and find that 702 are erroneous issues, leading to high precision (85.0%-93.4%) across four categories of NER errors: omission, over-labeling, incorrect category, and range error. For automated repairing, TIN achieves a high error reduction rate (26.8%-50.6%) over the four systems under test, which successfully repairs 1,056 out of the 1,877 reported NER errors.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 20 of its 41 references that are in the map. First posted on arXiv 14 Aug 2023.

Builds on

20 of 41 references.

References · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
  3. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
  4. 2018Generating Natural Language Adversarial Examplescited by 424
  5. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  6. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
  7. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  8. 2018code2vec: Learning Distributed Representations of Codecited by 250
  9. 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
  10. 2016A Thorough Examination of the CNN/Daily Mail Reading Comprehension Taskcited by 72
  11. 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
  12. 2018Did the Model Understand the Question?cited by 60
8 more
  1. 2019Automatic Testing and Improvement of Machine Translationcited by 36
  2. 2019Structure-Invariant Testing for Machine Translationcited by 28
  3. 2021RockNER: A Simple Method to Create Adversarial Examples for Evaluating the Robustness of Named Entity Recognition Modelscited by 28
  4. 2020Assessing Demographic Bias in Named Entity Recognitioncited by 23
  5. 2015sense2vec - A Fast and Accurate Method for Word Sense Disambiguation In Neural Word Embeddingscited by 20
  6. 2020Testing Machine Translation via Referential Transparencycited by 20
  7. 2022Automated Testing of Image Captioning Systemscited by 12
  8. 2022A Comprehensive Study of Gender Bias in Chemical Named Entity Recognition Modelscited by 4

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1; 2025: 1.

3 papers.