Generating Natural Language Adversarial Examples

By Moustafa Farid Alzantot, Yash Sharma, Ahmed Elgohary, Bo-Jhang Ho, Mani B. Srivastava, Kai-Wei Chang. 2018

1,038 citations recorded by the source corpus.

Deep neural networks (DNNs) are vulnerable to adversarial examples, perturbations to correctly classified examples which can cause the model to misclassify. In the image domain, these perturbations can often be made virtually indistinguishable to human perception, causing humans and state-of-the-art models to disagree. However, in the natural language domain, small perturbations are clearly perceptible, and the replacement of a single word can drastically alter the semantics of the document. Given these challenges, we use a black-box population-based optimization algorithm to generate semantically and syntactically similar adversarial examples that fool well-trained sentiment analysis and textual entailment models with success rates of 97% and 70%, respectively. We additionally demonstrate that 92.3% of the successful sentiment analysis adversarial examples are classified to their original label by 20 human annotators, and that the examples are perceptibly quite similar. Finally, we discuss an attempt to use adversarial training as a defense, but fail to yield improvement, demonstrating the strength and diversity of our adversarial examples. We hope our findings encourage researchers to pursue improving the robustness of DNNs in the natural language domain.

Subfields: Artificial Intelligence, Natural Language Processing, Safety, Robustness & Interpretability, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Percy Liang
  3. Yejin Choi
  4. Luke S. Zettlemoyer
  5. Jianfeng Gao
  6. Graham Neubig
  7. Yonatan Belinkov
  8. Caiming Xiong

In Natural Language Processing

  1. Mohit Bansal
  2. Yejin Choi
  3. Luke S. Zettlemoyer
  4. Graham Neubig
  5. Yonatan Belinkov
  6. Percy Liang
  7. Jianfeng Gao
  8. Caiming Xiong

In Safety, Robustness & Interpretability

  1. Matthias Hein
  2. Nicholas Carlini
  3. Percy Liang
  4. Cho-Jui Hsieh
  5. Huan Zhang
  6. Florian Tramèr
  7. Bo Li
  8. Prateek Mittal

In Signal Processing

  1. Karen Livescu
  2. Hung-yi Lee
  3. James R. Glass
  4. Cho-Jui Hsieh
  5. Matthias Hein
  6. Yonatan Belinkov
  7. Huan Zhang
  8. Jacob Andreas

Citations in the corpus