Achieving Model Robustness through Discrete Adversarial Training
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 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
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2016Adversarial Machine Learning at Scalecited by 934
- 2016Practical Black-Box Attacks against Machine Learningcited by 893
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
24 more
- 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
- 2018Universal Sentence Encodercited by 485
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2017The Effectiveness of Data Augmentation in Image Classification using Deep Learningcited by 368
- 2018On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Modelscited by 322
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
- 2020Attacks Which Do Not Kill Training Make Adversarial Learning Strongercited by 242
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
- 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
- 2018GenAttack: Practical Black-box Attacks with Gradient-Free Optimizationcited by 82
- 2020Robustness Verification for Transformerscited by 76
- 2020It's Morphin' Time! Combating Linguistic Discrimination with Inflectional Perturbationscited by 64
- 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
- 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
- 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
- 2018Training verified learners with learned verifierscited by 50
- 2018Discrete Adversarial Attacks and Submodular Optimization with Applications to Text Classificationcited by 34
- 2020Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemblecited by 26
- 2020Benchmarking Robustness of Machine Reading Comprehension Modelscited by 18
Built on by
Citing papers per year: 2021: 1; 2022: 7; 2023: 5; 2024: 5; 2025: 2; 2026: 3.
23 papers.
Sort:
By area:
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Trainingcited by 88
- 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
- 2024Fast Adversarial Training against Textual Adversarial Attackscited by 7
- 2021Improving Question Answering Performance Using Knowledge Distillation and Active Learningcited by 6
- 2022ROSE: Robust Selective Fine-tuning for Pre-trained Language Modelscited by 6
- 2024Adversarial Training: A Surveycited by 6
- 2022Identifying Adversarial Attacks on Text Classifierscited by 4
- 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustnesscited by 4
- 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdowncited by 4
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3
11 more
- 2022TCAB: A Large-Scale Text Classification Attack Benchmarkcited by 2
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distancecited by 2
- 2022A Simple Structure For Building A Robust Modelcited by 1
- 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Trainingcited by 1
- 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approachcited by 1
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classificationcited by 0
- 2024eXplainable Bayesian Multi-Perspective Generative Retrievalcited by 0
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustnesscited by 0
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Rankingcited by 0
- 2026Small Data, Big Noise: Adversarial Training for Robust Parameter-Efficient Fine-Tuningcited by 0
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLPcited by 0
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP11 Jun 2026
- 2026Small Data, Big Noise: Adversarial Training for Robust Parameter-Efficient Fine-Tuning9 Jun 2026
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Ranking28 Jan 2026
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach14 Jul 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distance1 Aug 2024
- 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Training31 May 2024
- 2024eXplainable Bayesian Multi-Perspective Generative Retrieval4 Feb 2024
- 2024Fast Adversarial Training against Textual Adversarial Attacks23 Jan 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdown29 Oct 2023
11 more
- 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Training24 Jul 2023
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classification4 Jul 2023
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examples6 May 2023
- 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustness26 Oct 2022
- 2022TCAB: A Large-Scale Text Classification Attack Benchmark21 Oct 2022
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLP19 Oct 2022
- 2022ROSE: Robust Selective Fine-tuning for Pre-trained Language Models18 Oct 2022
- 2022Enhance the Visual Representation via Discrete Adversarial Training16 Sep 2022
- 2022A Simple Structure For Building A Robust Model25 Apr 2022
- 2022Identifying Adversarial Attacks on Text Classifiers21 Jan 2022
- 2021Improving Question Answering Performance Using Knowledge Distillation and Active Learning26 Sep 2021
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
- 2024Fast Adversarial Training against Textual Adversarial Attackscited by 7
- 2021Improving Question Answering Performance Using Knowledge Distillation and Active Learningcited by 6
- 2022ROSE: Robust Selective Fine-tuning for Pre-trained Language Modelscited by 6
- 2024Adversarial Training: A Surveycited by 6
- 2022Identifying Adversarial Attacks on Text Classifierscited by 4
- 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustnesscited by 4
- 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdowncited by 4
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3
- 2022TCAB: A Large-Scale Text Classification Attack Benchmarkcited by 2
12 most cited of 22 All 22 (JSON)
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP11 Jun 2026
- 2026Small Data, Big Noise: Adversarial Training for Robust Parameter-Efficient Fine-Tuning9 Jun 2026
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Ranking28 Jan 2026
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach14 Jul 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distance1 Aug 2024
- 2024eXplainable Bayesian Multi-Perspective Generative Retrieval4 Feb 2024
- 2024Fast Adversarial Training against Textual Adversarial Attacks23 Jan 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdown29 Oct 2023
- 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Training24 Jul 2023
12 newest of 22 All 22 (JSON)