Automated Adversarial Discovery for Safety Classifiers
Not on the map. Why?
Abstract (arXiv)
Safety classifiers are critical in mitigating toxicity on online forums such as social media and in chatbots. Still, they continue to be vulnerable to emergent, and often innumerable, adversarial attacks. Traditional automated adversarial data generation methods, however, tend to produce attacks that are not diverse, but variations of previously observed harm types. We formalize the task of automated adversarial discovery for safety classifiers - to find new attacks along previously unseen harm dimensions that expose new weaknesses in the classifier. We measure progress on this task along two key axes (1) adversarial success: does the attack fool the classifier? and (2) dimensional diversity: does the attack represent a previously unseen harm type? Our evaluation of existing attack generation methods on the CivilComments toxicity task reveals their limitations: Word perturbation attacks fail to fool classifiers, while prompt-based LLM attacks have more adversarial success, but lack dimensional diversity. Even our best-performing prompt-based method finds new successful attacks on unseen harm dimensions of attacks only 5% of the time. Automatically finding new harmful dimensions of attack is crucial and there is substantial headroom for future research on our new task.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 26 of its 35 references that are in the map. First posted on arXiv 24 Jun 2024.
Builds on
26 of 35 references.
References · 26
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 807
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 459
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 422
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 306
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
14 more
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
- 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 221
- 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 205
- 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 176
- 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
- 2017Controlling Linguistic Style Aspects in Neural Language Generationcited by 149
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2023Explore, Establish, Exploit: Red Teaming Language Models from Scratchcited by 114
- 2023FLIRT: Feedback Loop In-context Red Teamingcited by 83
- 2023AART: AI-Assisted Red-Teaming with Diverse Data Generation for New LLM-powered Applicationscited by 54
- 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 44
- 2022DoCoGen: Domain Counterfactual Generation for Low Resource Domain Adaptationcited by 37
- 2024Gradient-Based Language Model Red Teamingcited by 34
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attackscited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.