Breaking BERT: Understanding its Vulnerabilities for Named Entity Recognition through Adversarial Attack
Both generic and domain-specific BERT models are widely used for natural language processing (NLP) tasks. In this paper we investigate the vulnerability of BERT models to variation in input data for Named Entity Recognition (NER) through adversarial attack. Experimental results show that BERT models are vulnerable to variation in the entity context with 20.2 to 45.0% of entities predicted completely wrong and another 29.3 to 53.3% of entities predicted wrong partially. BERT models seem most vulnerable to changes in the local context of entities and often a single change is sufficient to fool the model. The domain-specific BERT model trained from scratch (SciBERT) is more vulnerable than the original BERT model or the domain-specific model that retains the BERT vocabulary (BioBERT). We also find that BERT models are particularly vulnerable to emergent entities. Our results chart the vulnerabilities of BERT models for NER and emphasize the importance of further research into uncovering and reducing these weaknesses.
Code (1)
Tasks
Adversarial AttackDecision Makingnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NERMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
VEE-BERT: Accelerating BERT Inference for Named Entity Recognition via Vote Early Exiting
Named entity recognition (NER) is of great importance for a wide range of tasks, such as medical health record understanding, document analysis, dialogue understanding. BERT and its variants are the most performing model…
Dialogue Understandingnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+1CAE: Mechanism to Diminish the Class Imbalanced in SLU Slot Filling Task
Spoken Language Understanding (SLU) task is a wide application task in Natural Language Processing. In the success of the pre-trained BERT model, NLU is addressed by Intent Classification and Slot Filling task with signi…
intent-classificationIntent ClassificationIntent Classification and Slot FillingIntent Detection+5DeNERT-KG: Named Entity and Relation Extraction Model Using DQN, Knowledge Graph, and BERT
Along with studies on artificial intelligence technology, research is also being carried out actively in the field of natural language processing to understand and process people’s language, in other words, natural langu…
Language ModelingLanguage Modellingnamed-entity-recognitionNamed Entity Recognition+6Chemical Identification and Indexing in PubMed Articles via BERT and Text-to-Text Approaches
The Biocreative VII Track-2 challenge consists of named entity recognition, entity-linking (or entity-normalization), and topic indexing tasks -- with entities and topics limited to chemicals for this challenge. Named en…
ArticlesChemical IndexingEntity LinkingMetric Learning+5Wiki to Automotive: Understanding the Distribution Shift and its impact on Named Entity Recognition
While transfer learning has become a ubiquitous technique used across Natural Language Processing (NLP) tasks, it is often unable to replicate the performance of pre-trained models on text of niche domains like Automotiv…
named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NER+1