CLCYNov 20, 2020

ONION: A Simple and Effective Defense Against Textual Backdoor Attacks

arXiv:2011.10369v3730 citationsHas Code
AI Analysis

This paper addresses the problem of defending against textual backdoor attacks for users of deep neural networks, which is an under-researched area.

This paper proposes ONION, a defense against textual backdoor attacks in deep neural networks. It effectively defends BiLSTM and BERT against five different backdoor attacks.

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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes