Detecting Textual Adversarial Examples Based on Distributional Characteristics of Data Representations
Not on the map. Why?
Abstract (arXiv)
Although deep neural networks have achieved state-of-the-art performance in various machine learning tasks, adversarial examples, constructed by adding small non-random perturbations to correctly classified inputs, successfully fool highly expressive deep classifiers into incorrect predictions. Approaches to adversarial attacks in natural language tasks have boomed in the last five years using character-level, word-level, phrase-level, or sentence-level textual perturbations. While there is some work in NLP on defending against such attacks through proactive methods, like adversarial training, there is to our knowledge no effective general reactive approaches to defence via detection of textual adversarial examples such as is found in the image processing literature. In this paper, we propose two new reactive methods for NLP to fill this gap, which unlike the few limited application baselines from NLP are based entirely on distribution characteristics of learned representations: we adapt one from the image processing literature (Local Intrinsic Dimensionality (LID)), and propose a novel one (MultiDistance Representation Ensemble Method (MDRE)). Adapted LID and MDRE obtain state-of-the-art results on character-level, word-level, and phrase-level attacks on the IMDB dataset as well as on the later two with respect to the MultiNLI dataset. For future research, we publish our code.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 29 Apr 2022.
Builds on
38 of 50 references.
References · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2013Intriguing properties of neural networkscited by 5,155
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
26 more
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 678
- 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
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 546
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 308
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 282
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2017Detecting Adversarial Samples from Artifactscited by 245
- 2017Advances in Pre-Training Distributed Word Representationscited by 207
- 2018Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learningcited by 207
- 2019Certified Robustness to Adversarial Word Substitutionscited by 168
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 163
- 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 155
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2019Detecting Adversarial Samples Using Influence Functions and Nearest Neighborscited by 72
- 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
- 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 57
- 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
- 2016Learning Robust Representations of Textcited by 6
Built on by
Citing papers per year: 2023: 2.
2 papers.