Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attacks
Not on the map. Why?
Abstract (arXiv)
Real-world natural language processing systems need to be robust to human adversaries. Collecting examples of human adversaries for training is an effective but expensive solution. On the other hand, training on synthetic attacks with small perturbations - such as word-substitution - does not actually improve robustness to human adversaries. In this paper, we propose an adversarial training framework that uses limited human adversarial examples to generate more useful adversarial examples at scale. We demonstrate the advantages of this system on the ANLI and hate speech detection benchmark datasets - both collected via an iterative, adversarial human-and-model-in-the-loop procedure. Compared to training only on observed human attacks, also training on our synthetic adversarial examples improves model robustness to future rounds. In ANLI, we see accuracy gains on the current set of attacks (44.1%,→,50.1%) and on two future unseen rounds of human generated attacks (32.5%,→,43.4%, and 29.4%,→,40.2%). In hate speech detection, we see AUC gains on current attacks (0.76 → 0.84) and a future round (0.77 → 0.79). Attacks from methods that do not learn the distribution of existing human adversaries, meanwhile, degrade robustness.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 69 of its 87 references that are in the map. First posted on arXiv 25 Oct 2023.
Builds on
69 of 87 references.
References · 69
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2022Generative Adversarial Networkscited by 5,627
- 2013Intriguing properties of neural networkscited by 5,155
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2019Natural Adversarial Examplescited by 1,408
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
38 more
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2016Universal adversarial perturbationscited by 784
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 459
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
- 2021A Survey of Data Augmentation Approaches for NLPcited by 409
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2018SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inferencecited by 333
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
- 2018Adversarial Risk and the Dangers of Evaluating Against Weak Attackscited by 221
- 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 221
- 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 200
- 2016Demographic Dialectal Variation in Social Media: A Case Study of African-American Englishcited by 196
- 2017Generating Natural Adversarial Examplescited by 183
- 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 176
- 2019Certified Robustness to Adversarial Word Substitutionscited by 168
- 2020Better Fine-Tuning by Reducing Representational Collapsecited by 157
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2020Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehensioncited by 131
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
- 2019Quoref: A Reading Comprehension Dataset with Questions Requiring Coreferential Reasoningcited by 100
- 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
- 2020Syntactic Data Augmentation Increases Robustness to Inference Heuristicscited by 86
- 2020Reevaluating Adversarial Examples in Natural Languagecited by 85
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2024: 5.
5 papers.
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 46
- 2024A Survey on Human Preference Learning for Large Language Modelscited by 24
- 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
- 2024Can a large language model be a gaslighter?cited by 5
- 2024Automated Adversarial Discovery for Safety Classifierscited by 3
- 2024Can a large language model be a gaslighter?11 Oct 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024Automated Adversarial Discovery for Safety Classifiers24 Jun 2024
- 2024A Survey on Human Preference Learning for Large Language Models17 Jun 2024
- 2024A Survey on Responsible Generative AI: What to Generate and What Not8 Apr 2024