mlsanityData to 7 Oct 2026

Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descend

arXiv 2302.02568 ↗First posted 6 Feb 2023cs.CL cs.AI cs.CRcited by 9

Not on the map. Why?

Abstract (arXiv)

Word-level textual adversarial attacks have demonstrated notable efficacy in misleading Natural Language Processing (NLP) models. Despite their success, the underlying reasons for their effectiveness and the fundamental characteristics of adversarial examples (AEs) remain obscure. This work aims to interpret word-level attacks by examining their n-gram frequency patterns. Our comprehensive experiments reveal that in approximately 90% of cases, word-level attacks lead to the generation of examples where the frequency of n-grams decreases, a tendency we term as the n-gram Frequency Descend (n-FD). This finding suggests a straightforward strategy to enhance model robustness: training models using examples with n-FD. To examine the feasibility of this strategy, we employed the n-gram frequency information, as an alternative to conventional loss gradients, to generate perturbed examples in adversarial training. The experiment results indicate that the frequency-based approach performs comparably with the gradient-based approach in improving model robustness. Our research offers a novel and more intuitive perspective for understanding word-level textual adversarial attacks and proposes a new direction to improve model robustness.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 39 of its 56 references that are in the map. First posted on arXiv 6 Feb 2023.

Builds on

39 of 56 references.

References · 39

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  4. 2013Intriguing properties of neural networkscited by 5,114
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  6. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  7. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  8. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  9. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  10. 2018Generating Natural Language Adversarial Examplescited by 422
  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
27 more
  1. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  2. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  3. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  4. 2017Generating Natural Adversarial Examplescited by 182
  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. 2017Deceiving Google's Perspective API Built for Detecting Toxic Commentscited by 99
  11. 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
  12. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  13. 2020Robustness Verification for Transformerscited by 76
  14. 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 72
  15. 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
  16. 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
  17. 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
  18. 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
  19. 2018FRAGE: Frequency-Agnostic Word Representationcited by 47
  20. 2020Better Robustness by More Coverage: Adversarial Training with Mixup Augmentation for Robust Fine-tuningcited by 39
  21. 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
  22. 2020Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examplescited by 23
  23. 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
  24. 2019OpenHowNet: An Open Sememe-based Lexical Knowledge Basecited by 21
  25. 2021Multi-granularity Textual Adversarial Attack with Behavior Cloningcited by 21
  26. 2021Efficient Combinatorial Optimization for Word-level Adversarial Textual Attackcited by 17
  27. 2021Towards Variable-Length Textual Adversarial Attackscited by 5

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 1; 2025: 6.

9 papers.