Gradient-based Adversarial Attacks against Text Transformers

By Chuan Guo, Alexandre Sablayrolles, Herv'e J'egou, Douwe Kiela. 2021

332 citations recorded by the source corpus.

We propose the first general-purpose gradient-based adversarial attack against transformer models. Instead of searching for a single adversarial example, we search for a distribution of adversarial examples parameterized by a continuous-valued matrix, hence enabling gradient-based optimization. We empirically demonstrate that our white-box attack attains state-of-the-art attack performance on a variety of natural language tasks, outperforming prior work in terms of adversarial success rate with matching imperceptibility as per automated and human evaluation. Furthermore, we show that a powerful black-box transfer attack, enabled by sampling from the adversarial distribution, matches or exceeds existing methods, while only requiring hard-label outputs.

Subfields: Artificial Intelligence, Safety, Robustness & Interpretability

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. Hannaneh Hajishirzi
  2. Percy Liang
  3. Yejin Choi
  4. Luke S. Zettlemoyer
  5. Mohit Bansal
  6. Jianfeng Gao
  7. Noah A. Smith
  8. Quoc V. Le

In Safety, Robustness & Interpretability

  1. Nicholas Carlini
  2. Matthias Hein
  3. Florian Tramèr
  4. Dan Hendrycks
  5. Francesco Croce
  6. Maksym Andriushchenko
  7. Tom Goldstein
  8. Percy Liang

Citations in the corpus