mlsanityData to 7 Oct 2026

Achieving Model Robustness through Discrete Adversarial Training

arXiv 2104.05062 ↗First posted 11 Apr 2021cs.LG cs.CLcited by 23

Not on the map. Why?

Abstract (arXiv)

Discrete adversarial attacks are symbolic perturbations to a language input that preserve the output label but lead to a prediction error. While such attacks have been extensively explored for the purpose of evaluating model robustness, their utility for improving robustness has been limited to offline augmentation only. Concretely, given a trained model, attacks are used to generate perturbed (adversarial) examples, and the model is re-trained exactly once. In this work, we address this gap and leverage discrete attacks for online augmentation, where adversarial examples are generated at every training step, adapting to the changing nature of the model. We propose (i) a new discrete attack, based on best-first search, and (ii) random sampling attacks that unlike prior work are not based on expensive search-based procedures. Surprisingly, we find that random sampling leads to impressive gains in robustness, outperforming the commonly-used offline augmentation, while leading to a speedup at training time of ~10x. Furthermore, online augmentation with search-based attacks justifies the higher training cost, significantly improving robustness on three datasets. Last, we show that our new attack substantially improves robustness compared to prior methods.

Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 36 of its 60 references that are in the map. First posted on arXiv 11 Apr 2021.

Builds on

36 of 60 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2013Intriguing properties of neural networkscited by 5,114
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  8. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  9. 2016Adversarial Machine Learning at Scalecited by 934
  10. 2016Practical Black-Box Attacks against Machine Learningcited by 893
  11. 2018Robustness May Be at Odds with Accuracycited by 873
  12. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
24 more
  1. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  2. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  3. 2018Universal Sentence Encodercited by 485
  4. 2018Generating Natural Language Adversarial Examplescited by 422
  5. 2017The Effectiveness of Data Augmentation in Image Classification using Deep Learningcited by 368
  6. 2018On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Modelscited by 322
  7. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  8. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  9. 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
  10. 2020Attacks Which Do Not Kill Training Make Adversarial Learning Strongercited by 242
  11. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  12. 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
  13. 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
  14. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  15. 2018GenAttack: Practical Black-box Attacks with Gradient-Free Optimizationcited by 82
  16. 2020Robustness Verification for Transformerscited by 76
  17. 2020It's Morphin' Time! Combating Linguistic Discrimination with Inflectional Perturbationscited by 64
  18. 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
  19. 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
  20. 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
  21. 2018Training verified learners with learned verifierscited by 50
  22. 2018Discrete Adversarial Attacks and Submodular Optimization with Applications to Text Classificationcited by 34
  23. 2020Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemblecited by 26
  24. 2020Benchmarking Robustness of Machine Reading Comprehension Modelscited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 7; 2023: 5; 2024: 5; 2025: 2; 2026: 3.

23 papers.

Sort:

By area:

  1. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  2. 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
  3. 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Trainingcited by 88
  4. 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
  5. 2024Fast Adversarial Training against Textual Adversarial Attackscited by 7
  6. 2021Improving Question Answering Performance Using Knowledge Distillation and Active Learningcited by 6
  7. 2022ROSE: Robust Selective Fine-tuning for Pre-trained Language Modelscited by 6
  8. 2024Adversarial Training: A Surveycited by 6
  9. 2022Identifying Adversarial Attacks on Text Classifierscited by 4
  10. 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustnesscited by 4
  11. 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdowncited by 4
  12. 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3
11 more
  1. 2022TCAB: A Large-Scale Text Classification Attack Benchmarkcited by 2
  2. 2024CERT-ED: Certifiably Robust Text Classification for Edit Distancecited by 2
  3. 2022A Simple Structure For Building A Robust Modelcited by 1
  4. 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Trainingcited by 1
  5. 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approachcited by 1
  6. 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classificationcited by 0
  7. 2024eXplainable Bayesian Multi-Perspective Generative Retrievalcited by 0
  8. 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustnesscited by 0
  9. 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Rankingcited by 0
  10. 2026Small Data, Big Noise: Adversarial Training for Robust Parameter-Efficient Fine-Tuningcited by 0
  11. 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLPcited by 0