Breaking BERT: Understanding its Vulnerabilities for Named Entity Recognition through Adversarial Attack
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 16 of its 28 references that are in the map. First posted on arXiv 23 Sep 2021.
Builds on
16 of 28 references.
References · 16
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2013Intriguing properties of neural networkscited by 5,114
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2019Transfer Learning in Biomedical Natural Language Processing: An Evaluation of BERT and ELMo on Ten Benchmarking Datasetscited by 298
- 2019Probing Neural Network Comprehension of Natural Language Argumentscited by 212
- 2014SimLex-999: Evaluating Semantic Models with (Genuine) Similarity Estimationcited by 170
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
4 more
- 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
- 2020What's in a Name? Are BERT Named Entity Representations just as Good for any other Name?cited by 17
- 2020Learning to Attack: Towards Textual Adversarial Attacking in Real-world Situationscited by 7
- 2021BBAEG: Towards BERT-based Biomedical Adversarial Example Generation for Text Classificationcited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025Can Large Language Models Really Recognize Your Name?cited by 4
- 2024Entity Recognition from Colloquial Textcited by 1
- 2025Can Large Language Models Really Recognize Your Name?20 May 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2024Entity Recognition from Colloquial Text9 Jan 2024