Concealed Data Poisoning Attacks on NLP Models

By Eric Wallace, Tony Zhao, Shi Feng, Sameer Singh. 2021

234 citations recorded by the source corpus.

Adversarial attacks alter NLP model predictions by perturbing test-time inputs. However, it is much less understood whether, and how, predictions can be manipulated with small, concealed changes to the training data. In this work, we develop a new data poisoning attack that allows an adversary to control model predictions whenever a desired trigger phrase is present in the input. For instance, we insert 50 poison examples into a sentiment model’s training set that causes the model to frequently predict Positive whenever the input contains “James Bond”. Crucially, we craft these poison examples using a gradient-based procedure so that they do not mention the trigger phrase. We also apply our poison attack to language modeling (“Apple iPhone” triggers negative generations) and machine translation (“iced coffee” mistranslated as “hot coffee”). We conclude by proposing three defenses that can mitigate our attack at some cost in prediction accuracy or extra human annotation.

Subfields: Artificial Intelligence, Natural Language Processing, 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. Luke S. Zettlemoyer
  3. Percy Liang
  4. Yejin Choi
  5. Mohit Bansal
  6. Ashish Sabharwal
  7. Jonathan Berant
  8. Graham Neubig

In Natural Language Processing

  1. Hannaneh Hajishirzi
  2. Ashish Sabharwal
  3. Daniel Khashabi
  4. Tushar Khot
  5. Yejin Choi
  6. Jonathan Berant
  7. Matt Gardner
  8. Peter Clark

In Safety, Robustness & Interpretability

  1. Eric Wallace
  2. Nicholas Carlini
  3. Florian Tramèr
  4. Jacob Steinhardt
  5. Dan Hendrycks
  6. Hannaneh Hajishirzi
  7. Matt Gardner
  8. Sameer Singh

Citations in the corpus