HotFlip: White-Box Adversarial Examples for Text Classification

By Javid Ebrahimi, Anyi Rao, Daniel Lowd, Dejing Dou. 2017

1,263 citations recorded by the source corpus.

We propose an efficient method to generate white-box adversarial examples to trick a character-level neural classifier. We find that only a few manipulations are needed to greatly decrease the accuracy. Our method relies on an atomic flip operation, which swaps one token for another, based on the gradients of the one-hot input vectors. Due to efficiency of our method, we can perform adversarial training which makes the model more robust to attacks at test time. With the use of a few semantics-preserving constraints, we demonstrate that HotFlip can be adapted to attack a word-level classifier as well.

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. Yonatan Belinkov
  4. Luke S. Zettlemoyer
  5. Yejin Choi
  6. Noah A. Smith
  7. Graham Neubig
  8. Jianfeng Gao

In Natural Language Processing

  1. Mohit Bansal
  2. Yonatan Belinkov
  3. Graham Neubig
  4. Yejin Choi
  5. Luke S. Zettlemoyer
  6. Noah A. Smith
  7. Percy Liang
  8. Douwe Kiela

In Safety, Robustness & Interpretability

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

In Signal Processing

  1. Yonatan Belinkov
  2. Cho-Jui Hsieh
  3. Percy Liang
  4. Nicholas Carlini
  5. Goutham Ramakrishnan
  6. Xipeng Qiu
  7. Linyang Li
  8. Bo Li

Citations in the corpus