Weight Poisoning Attacks on Pretrained Models

By Keita Kurita, Paul Michel, Graham Neubig. 2020

605 citations recorded by the source corpus.

Recently, NLP has seen a surge in the usage of large pre-trained models. Users download weights of models pre-trained on large datasets, then fine-tune the weights on a task of their choice. This raises the question of whether downloading untrusted pre-trained weights can pose a security threat. In this paper, we show that it is possible to construct “weight poisoning” attacks where pre-trained weights are injected with vulnerabilities that expose “backdoors” after fine-tuning, enabling the attacker to manipulate the model prediction simply by injecting an arbitrary keyword. We show that by applying a regularization method which we call RIPPLe and an initialization procedure we call Embedding Surgery, such attacks are possible even with limited knowledge of the dataset and fine-tuning procedure. Our experiments on sentiment classification, toxicity detection, and spam detection show that this attack is widely applicable and poses a serious threat. Finally, we outline practical defenses against such attacks.

Subfields: Artificial Intelligence, Safety, Robustness & Interpretability, Privacy & Security

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. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Zhiyuan Liu
  4. Maosong Sun
  5. Mohit Bansal
  6. Percy Liang
  7. Noah A. Smith
  8. Hannaneh Hajishirzi

In Safety, Robustness & Interpretability

  1. Eric Wallace
  2. Sameer Singh
  3. Shi Feng
  4. Daniel Klein
  5. Tony Zhao
  6. Ameet Talwalkar
  7. Vitaly Shmatikov
  8. Maosong Sun

In Privacy & Security

  1. Maosong Sun
  2. Zhiyuan Liu
  3. Fanchao Qi
  4. Eric Wallace
  5. Yangyi Chen
  6. Mukai Li
  7. Shi Feng
  8. Tony Zhao

Citations in the corpus