mlsanityData to 7 Oct 2026

Backdoor Pre-trained Models Can Transfer to All

arXiv 2111.00197 ↗First posted 30 Oct 2021cs.CL cs.CR cs.LGcited by 79

Not on the map. Why?

Cited by 41 in LLM safety and security, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Pre-trained general-purpose language models have been a dominating component in enabling real-world natural language processing (NLP) applications. However, a pre-trained model with backdoor can be a severe threat to the applications. Most existing backdoor attacks in NLP are conducted in the fine-tuning phase by introducing malicious triggers in the targeted class, thus relying greatly on the prior knowledge of the fine-tuning task. In this paper, we propose a new approach to map the inputs containing triggers directly to a predefined output representation of the pre-trained NLP models, e.g., a predefined output representation for the classification token in BERT, instead of a target label. It can thus introduce backdoor to a wide range of downstream tasks without any prior knowledge. Additionally, in light of the unique properties of triggers in NLP, we propose two new metrics to measure the performance of backdoor attacks in terms of both effectiveness and stealthiness. Our experiments with various types of triggers show that our method is widely applicable to different fine-tuning tasks (classification and named entity recognition) and to different models (such as BERT, XLNet, BART), which poses a severe threat. Furthermore, by collaborating with the popular online model repository Hugging Face, the threat brought by our method has been confirmed. Finally, we analyze the factors that may affect the attack performance and share insights on the causes of the success of our backdoor attack.

Key facts. Cited by 79 papers in the map (data through 7 Oct 2026). Builds on 30 of its 52 references that are in the map. First posted on arXiv 30 Oct 2021.

Builds on

30 of 52 references.

References · 30

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  5. 2016Feature Pyramid Networks for Object Detectioncited by 5,021
  6. 2016Pointer Sentinel Mixture Modelscited by 2,992
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2018Deep contextualized word representationscited by 2,285
  10. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  11. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  12. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
18 more
  1. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  2. 2018TSM: Temporal Shift Module for Efficient Video Understandingcited by 852
  3. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  4. 2015Image-based Recommendations on Styles and Substitutescited by 702
  5. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
  6. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  7. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
  8. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  9. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 265
  10. 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 206
  11. 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 147
  12. 2018Backdoor Embedding in Convolutional Neural Network Models via Invisible Perturbationcited by 131
  13. 2019Transferable Clean-Label Poisoning Attacks on Deep Neural Netscited by 129
  14. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
  15. 2020RAB: Provable Robustness Against Backdoor Attackscited by 115
  16. 2020Graph Backdoorcited by 112
  17. 2020Trojaning Language Models for Fun and Profitcited by 80
  18. 2018Identifying Corresponding Patches in SAR and Optical Images with a Pseudo-Siamese CNNcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 10; 2023: 30; 2024: 29; 2025: 8; 2026: 1.

79 papers.

Sort:

By area:

  1. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
  2. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 135
  3. 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
  4. 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
  5. 2024BadChain: Backdoor Chain-of-Thought Prompting for Large Language Modelscited by 74
  6. 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 70
  7. 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agentscited by 63
  8. 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
  9. 2023Detecting Backdoors in Pre-trained Encoderscited by 53
  10. 2024Instruction Backdoor Attacks Against Customized LLMscited by 50
  11. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
  12. 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defensecited by 44
38 more
  1. 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
  2. 2022Towards A Proactive ML Approach for Detecting Backdoor Poison Samplescited by 40
  3. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Modelscited by 36
  4. 2024Test-Time Backdoor Attacks on Multimodal Large Language Modelscited by 35
  5. 2021Towards Practical Deployment-Stage Backdoor Attack on Deep Neural Networkscited by 33
  6. 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
  7. 2023Attention-Enhancing Backdoor Attacks Against BERT-based Modelscited by 32
  8. 2022Physical Backdoor Attacks to Lane Detection Systems in Autonomous Drivingcited by 29
  9. 2023Integration of Large Language Models and Federated Learningcited by 28
  10. 2023Training-free Lexical Backdoor Attacks on Language Modelscited by 27
  11. 2023TrojText: Test-time Invisible Textual Trojan Insertioncited by 26
  12. 2023Grounding Foundation Models through Federated Transfer Learning: A General Frameworkcited by 24
  13. 2023Backdoor Attacks Against Dataset Distillationcited by 20
  14. 2023Attacks in Adversarial Machine Learning: A Systematic Survey from the Life-cycle Perspectivecited by 19
  15. 2023Stealing the Decoding Algorithms of Language Modelscited by 19
  16. 2023Multi-target Backdoor Attacks for Code Pre-trained Modelscited by 19
  17. 2024BadActs: A Universal Backdoor Defense in the Activation Spacecited by 19
  18. 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLPcited by 16
  19. 2023Backdoor Federated Learning by Poisoning Backdoor-Critical Layerscited by 16
  20. 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
  21. 2024Learning to Poison Large Language Models for Downstream Manipulationcited by 15
  22. 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policiescited by 15
  23. 2023Large Language Models Are Better Adversaries: Exploring Generative Clean-Label Backdoor Attacks Against Text Classifierscited by 14
  24. 2023TextGuard: Provable Defense against Backdoor Attacks on Text Classificationcited by 14
  25. 2024Synergizing Foundation Models and Federated Learning: A Surveycited by 14
  26. 2022A Survey on Backdoor Attack and Defense in Natural Language Processingcited by 13
  27. 2025Backdoor Attack on Vision Language Models with Stealthy Semantic Manipulationcited by 13
  28. 2022Transfer Attacks Revisited: A Large-Scale Empirical Study in Real Computer Vision Settingscited by 11
  29. 2023Two-in-One: A Model Hijacking Attack Against Text Generation Modelscited by 11
  30. 2023BaDExpert: Extracting Backdoor Functionality for Accurate Backdoor Input Detectioncited by 11
  31. 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 11
  32. 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
  33. 2024The Dark Side of Human Feedback: Poisoning Large Language Models via User Inputscited by 10
  34. 2022SSL-WM: A Black-Box Watermarking Approach for Encoders Pre-trained by Self-supervised Learningcited by 9
  35. 2025A Systematic Review of Poisoning Attacks Against Large Language Modelscited by 8
  36. 2025Your RAG is Unfair: Exposing Fairness Vulnerabilities in Retrieval-Augmented Generation via Backdoor Attackscited by 8
  37. 2023FreeEagle: Detecting Complex Neural Trojans in Data-Free Casescited by 7
  38. 2023LMSanitator: Defending Prompt-Tuning Against Task-Agnostic Backdoorscited by 7

50 most cited of 79 All 79 (JSON)