ONION: A Simple and Effective Defense Against Textual Backdoor Attacks

By Fanchao Qi, Yangyi Chen, Mukai Li, Zhiyuan Liu, Maosong Sun. Conference on Empirical Methods in Natural Language Processing, 2020

414 citations recorded by the source corpus.

Backdoor attacks are a kind of emergent training-time threat to deep neural networks (DNNs). They can manipulate the output of DNNs and possess high insidiousness. In the field of natural language processing, some attack methods have been proposed and achieve very high attack success rates on multiple popular models. Nevertheless, there are few studies on defending against textual backdoor attacks. In this paper, we propose a simple and effective textual backdoor defense named ONION, which is based on outlier word detection and, to the best of our knowledge, is the first method that can handle all the textual backdoor attack situations. Experiments demonstrate the effectiveness of our model in defending BiLSTM and BERT against five different backdoor attacks. All the code and data of this paper can be obtained at https://github.com/thunlp/ONION.

Subfields: Artificial Intelligence, Computer Networks and Communications

View Paper: https://www.semanticscholar.org/paper/3a1f8829e641b46f661775f64a7f27b933a46103

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. Zhiyuan Liu
  2. Maosong Sun
  3. Zhengyan Zhang
  4. Yangyi Chen
  5. Goutham Ramakrishnan
  6. Aws Albarghouthi
  7. Mukai Li
  8. Yasheng Wang

In Computer Networks and Communications

  1. Maosong Sun
  2. Zhiyuan Liu

Citations in the corpus