BERT is Robust! A Case Against Synonym-Based Adversarial Examples in Text Classification
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks have taken Natural Language Processing by storm. While this led to incredible improvements across many tasks, it also initiated a new research field, questioning the robustness of these neural networks by attacking them. In this paper, we investigate four word substitution-based attacks on BERT. We combine a human evaluation of individual word substitutions and a probabilistic analysis to show that between 96% and 99% of the analyzed attacks do not preserve semantics, indicating that their success is mainly based on feeding poor data to the model. To further confirm that, we introduce an efficient data augmentation procedure and show that many adversarial examples can be prevented by including data similar to the attacks during training. An additional post-processing step reduces the success rates of state-of-the-art attacks below 5%. Finally, by looking at more reasonable thresholds on constraints for word substitutions, we conclude that BERT is a lot more robust than research on attacks suggests.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 22 of its 38 references that are in the map. First posted on arXiv 15 Sep 2021.
Builds on
22 of 38 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 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
- 2015Skip-Thought Vectorscited by 321
10 more
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2018Audio Adversarial Examples: Targeted Attacks on Speech-to-Textcited by 268
- 2014SimLex-999: Evaluating Semantic Models with (Genuine) Similarity Estimationcited by 170
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
- 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
- 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
- 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
- 2020A Geometry-Inspired Attack for Generating Natural Language Adversarial Examplescited by 20
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 5; 2024: 0; 2025: 1.
9 papers.
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2021The Dangers of Underclaiming: Reasons for Caution When Reporting How NLP Systems Failcited by 38
- 2025YESciEval: Robust LLM-as-a-Judge for Scientific Question Answeringcited by 15
- 2023DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimizationcited by 7
- 2022Are Synonym Substitution Attacks Really Synonym Substitution Attacks?cited by 4
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
- 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentationcited by 3
- 2022Identifying Human Strategies for Generating Word-Level Adversarial Examplescited by 2
- 2023Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Modelscited by 2
- 2025YESciEval: Robust LLM-as-a-Judge for Scientific Question Answering20 May 2025
- 2023DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimization27 Jun 2023
- 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentation8 Jun 2023
- 2023Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Models29 May 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023Can Large Language Models Be an Alternative to Human Evaluations?3 May 2023
- 2022Identifying Human Strategies for Generating Word-Level Adversarial Examples20 Oct 2022
- 2022Are Synonym Substitution Attacks Really Synonym Substitution Attacks?6 Oct 2022
- 2021The Dangers of Underclaiming: Reasons for Caution When Reporting How NLP Systems Fail15 Oct 2021