mlsanityData to 7 Oct 2026

Detecting Textual Adversarial Examples through Randomized Substitution and Vote

arXiv 2109.05698 ↗First posted 13 Sep 2021cs.CL cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

A line of work has shown that natural text processing models are vulnerable to adversarial examples. Correspondingly, various defense methods are proposed to mitigate the threat of textual adversarial examples, eg, adversarial training, input transformations, detection, etc. In this work, we treat the optimization process for synonym substitution based textual adversarial attacks as a specific sequence of word replacement, in which each word mutually influences other words. We identify that we could destroy such mutual interaction and eliminate the adversarial perturbation by randomly substituting a word with its synonyms. Based on this observation, we propose a novel textual adversarial example detection method, termed Randomized Substitution and Vote (RS&V), which votes the prediction label by accumulating the logits of k samples generated by randomly substituting the words in the input text with synonyms. The proposed RS&V is generally applicable to any existing neural networks without modification on the architecture or extra training, and it is orthogonal to prior work on making the classification network itself more robust. Empirical evaluations on three benchmark datasets demonstrate that our RS&V could detect the textual adversarial examples more successfully than the existing detection methods while maintaining the high classification accuracy on benign samples.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 33 of its 44 references that are in the map. First posted on arXiv 13 Sep 2021.

Builds on

33 of 44 references.

References · 33

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  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. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  7. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  8. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  9. 2018Generating Natural Language Adversarial Examplescited by 422
  10. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
  11. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  12. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
21 more
  1. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  2. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  3. 2021Enhancing the Transferability of Adversarial Attacks through Variance Tuningcited by 242
  4. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  5. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  6. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
  7. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  8. 2017Deep Text Classification Can be Fooledcited by 105
  9. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  10. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  11. 2017SafetyNet: Detecting and Rejecting Adversarial Examples Robustlycited by 76
  12. 2020Robustness Verification for Transformerscited by 76
  13. 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
  14. 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
  15. 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
  16. 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
  17. 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
  18. 2019Natural Language Adversarial Defense through Synonym Encodingcited by 39
  19. 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
  20. 2020Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemblecited by 26
  21. 2020On the Transferability of Adversarial Attacksagainst Neural Text Classifiercited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 4; 2024: 1; 2025: 1; 2026: 1.

8 papers.