mlsanityData to 14 Oct 2026

Detecting Textual Adversarial Examples Based on Distributional Characteristics of Data Representations

arXiv 2204.13853 ↗First posted 29 Apr 2022cs.CL cs.LGcited by 2

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  5. 2013Intriguing properties of neural networkscited by 5,155
  6. 2016Pointer Sentinel Mixture Modelscited by 3,096
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  11. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  12. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
26 more
  1. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  2. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  3. 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 678
  4. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  5. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
  6. 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 546
  7. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
  8. 2018Generating Natural Language Adversarial Examplescited by 424
  9. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 308
  10. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
  11. 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 282
  12. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  13. 2017Detecting Adversarial Samples from Artifactscited by 245
  14. 2017Advances in Pre-Training Distributed Word Representationscited by 207
  15. 2018Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learningcited by 207
  16. 2019Certified Robustness to Adversarial Word Substitutionscited by 168
  17. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 163
  18. 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 155
  19. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
  20. 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
  21. 2021Towards Improving Adversarial Training of NLP Modelscited by 79
  22. 2019Detecting Adversarial Samples Using Influence Functions and Nearest Neighborscited by 72
  23. 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
  24. 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 57
  25. 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
  26. 2016Learning Robust Representations of Textcited by 6

Built on by

Cited by year

Citing papers per year: 2023: 2.

2 papers.