mlsanityData to 7 Oct 2026

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

arXiv 2301.10412 ↗First posted 25 Jan 2023cs.CL cs.AI cs.CRcited by 13

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

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 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.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 42 of its 73 references that are in the map. First posted on arXiv 25 Jan 2023.

Builds on

42 of 73 references.

Closest ancestors · 4

Same direction, newest first

  1. 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
  2. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
  3. 2021Hidden Backdoors in Human-Centric Language Models1 May
  4. 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification7 Mar

Other references · 38

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Going Deeper with Convolutionscited by 4,231
  3. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  4. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  5. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  6. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  7. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  8. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
  9. 2018Spectral Signatures in Backdoor Attackscited by 457
  10. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
  11. 2020Backdoor Learning: A Surveycited by 412
  12. 2021Pre-Trained Models: Past, Present and Futurecited by 319
26 more
  1. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  2. 2019Label-Consistent Backdoor Attackscited by 285
  3. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  4. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  5. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  6. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
  7. 2020Blind Backdoors in Deep Learning Modelscited by 174
  8. 2017Neural Trojanscited by 151
  9. 2019TABOR: A Highly Accurate Approach to Inspecting and Restoring Trojan Backdoors in AI Systemscited by 120
  10. 2020RAB: Provable Robustness Against Backdoor Attackscited by 115
  11. 2019TBT: Targeted Neural Network Attack with Bit Trojancited by 112
  12. 2020Deep Feature Space Trojan Attack of Neural Networks by Controlled Detoxificationcited by 93
  13. 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
  14. 2019Defending Neural Backdoors via Generative Distribution Modelingcited by 82
  15. 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 80
  16. 2020Trojaning Language Models for Fun and Profitcited by 80
  17. 2020DeepSweep: An Evaluation Framework for Mitigating DNN Backdoor Attacks using Data Augmentationcited by 75
  18. 2020On Certifying Robustness against Backdoor Attacks via Randomized Smoothingcited by 74
  19. 2018DeepMutation: Mutation Testing of Deep Learning Systemscited by 66
  20. 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 66
  21. 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 48
  22. 2020Backdooring and Poisoning Neural Networks with Image-Scaling Attackscited by 28
  23. 2020Poison Attacks against Text Datasets with Conditional Adversarially Regularized Autoencodercited by 27
  24. 2020CLEANN: Accelerated Trojan Shield for Embedded Neural Networkscited by 22
  25. 2020Natural Backdoor Attack on Text Datacited by 18
  26. 2020Can We Mitigate Backdoor Attack Using Adversarial Detection Methods?cited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 5; 2026: 3.

13 papers.

Sort:

By area: