mlsanityData to 7 Oct 2026

BERT is Robust! A Case Against Synonym-Based Adversarial Examples in Text Classification

arXiv 2109.07403 ↗First posted 15 Sep 2021cs.CLcited by 9

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  7. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  8. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  9. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  10. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  11. 2018Generating Natural Language Adversarial Examplescited by 422
  12. 2015Skip-Thought Vectorscited by 321
10 more
  1. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  2. 2018Audio Adversarial Examples: Targeted Attacks on Speech-to-Textcited by 268
  3. 2014SimLex-999: Evaluating Semantic Models with (Genuine) Similarity Estimationcited by 170
  4. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  5. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  6. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  7. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  8. 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
  9. 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
  10. 2020A Geometry-Inspired Attack for Generating Natural Language Adversarial Examplescited by 20

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 2; 2023: 5; 2024: 0; 2025: 1.

9 papers.