arrow
Return

BDMMT: Backdoor Sample Detection for Language Models Through Model Mutation Testing

delete2024-01-01
delete2
delete
OA
AI
W
Wei, Jiali
M
Ming Fan *
W
Wenjing Jiao
晋武侠 cover
晋武侠 (Wuxia Jin)
刘烃 cover
刘烃 (Ting Liu)
DOI:10.1109/TIFS.2024.3376968delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Deep neural networks (DNNs) and natural language processing (NLP) systems have developed rapidly and have been widely used in various real-world fields. However, they have been shown to be vulnerable to backdoor attacks. Specifically, the adversary injects a backdoor into the model during the training phase, so that input samples with backdoor triggers are classified as the target class. Some attacks have achieved high attack success rates on the pre-trained language models (LMs), but there have yet to be effective defense methods. In this work, we propose a defense method based on deep model mutation testing. Our main justification is that backdoor samples are much more robust than clean samples if we impose random mutations on the LMs and that backdoors are generalizable. We first confirm the effectiveness of model mutation testing in detecting backdoor samples and select the most appropriate number of mutants and mutation operators. We then systematically defend against three extensively studied backdoor attack levels (i.e., char-level, word-level, and sentence-level) by detecting backdoor samples. We also make the first attempt to defend against the latest style-level backdoor attacks. We evaluate our approach on three benchmark datasets (i.e., IMDB, Yelp, and AG news) and three style transfer datasets (i.e., SST-2, Hate-speech, and AG news). The extensive experimental results demonstrate that our approach can detect backdoor samples more efficiently and accurately than the three state-of-the-art defense approaches.
Keywords:
Task analysis
Testing
Motion pictures
Training data
Text categorization
Semantics
Computational modeling
Text backdoor
language model
model mutation testing
robustness difference

Journal

IEEE Transactions on Information Forensics and Security cover
IEEE Transactions on Information Forensics and Security
IF:
8
Papers:
5.3K
Citations:
2.3W

Organization

X
xi'an jiaotong university
Scholars:
9.3W
Papers: 6.7W
Citations: 75
Cited Papers

Cited Papers

Macroheterocycles; XXI. The Phase-Transfer Synthesis of Azacrown Ethers
err1984-01-01
err0
PREAI
errA. V. Bogatsky; N. G. Lukyanenko; S. S. Basok; L. K. Ostrovskaya
errShare
errSave
Mistuning Identification and Model Updating of an Industrial Blisk
err2007-01-01
err0
errOAAI
errD. Laxalde; F. Thouverez; J.-J. Sinou; J.-P. Lombard; S. Baumhauer
errShare
errSave
Glycan shield and fusion activation of a deltacoronavirus spike glycoprotein fine-tuned for enteric infections
err
IF0
err2017-11-22
err0
PREAI
errX. Xiong; M.A. Tortorici; S. Snijder; C. Yoshioka; A.C. Walls; W. Li; A.T. McGuire; F.A. Rey; B.J. Bosch; D. Veesler
errShare
errSave
Evidence of synergy between Thy-1 and CD3/TCR complex in signal delivery to murine thymocytes for cell death.
err1991-08-15
err0
errOAAI
errI Nakashima; Y H Zhang; S M Rahman; T Yoshida; K Isobe; L N Ding; T Iwamoto; M Hamaguchi; H Ikezawa; R Taguchi
errShare
errSave
BadNets: Evaluating Backdooring Attacks on Deep Neural Networks
err2019-01-01
err665
errOAAI
errGu, Tianyu; Liu, Kang; Dolan-Gavitt, Brendan; Garg, Siddharth
errShare
errSave
Suicoccus acidiformans gen. nov., sp. nov., isolated from a sick pig
err2019-05-01
err0
errOAAI
errFuxiang Li; Wenhua Zhao; Nan Li; Huachun Li; Defang Liao; Jianling Song; Shibiao Yang
errShare
errSave
researcher View more