Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger

About

Backdoor attacks are a kind of insidious security threat against machine learning models. After being injected with a backdoor in training, the victim model will produce adversary-specified outputs on the inputs embedded with predesigned triggers but behave properly on normal inputs during inference. As a sort of emergent attack, backdoor attacks in natural language processing (NLP) are investigated insufficiently. As far as we know, almost all existing textual backdoor attack methods insert additional contents into normal samples as triggers, which causes the trigger-embedded samples to be detected and the backdoor attacks to be blocked without much effort. In this paper, we propose to use the syntactic structure as the trigger in textual backdoor attacks. We conduct extensive experiments to demonstrate that the syntactic trigger-based attack method can achieve comparable attack performance (almost 100% success rate) to the insertion-based methods but possesses much higher invisibility and stronger resistance to defenses. These results also reveal the significant insidiousness and harmfulness of textual backdoor attacks. All the code and data of this paper can be obtained at https://github.com/thunlp/HiddenKiller.

Fanchao Qi, Mukai Li, Yangyi Chen, Zhengyan Zhang, Zhiyuan Liu, Yasheng Wang, Maosong Sun• 2021

Related benchmarks

TaskDatasetResultRank
Text ClassificationSST-2
Accuracy94.12
133
Text ClassificationTREC (test)
Accuracy97.1
122
Backdoor DefenseAGNews
Attack Success Rate22.67
105
Backdoor DefenseCR
Clean Accuracy (CA)93.16
54
Sentiment AnalysisCR
CA92.12
54
Sentiment AnalysisSST-2 (test)--
50
Topic ClassificationAG's News (test)
CACC94.32
43
Text ClassificationAG-News
Classification Accuracy (CA)95.95
39
Sentiment AnalysisSST-2
Accuracy93.68
33
Offensive Language IdentificationOLID (test)
CACC82.54
33
Showing 10 of 22 rows

Other info

Code

Follow for update