mlsanityData to 14 Oct 2026

Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Review

arXiv 2309.06055 ↗First posted 12 Sep 2023cs.CRcited by 39

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

Abstract (arXiv)

Language Models (LMs) are becoming increasingly popular in real-world applications. Outsourcing model training and data hosting to third-party platforms has become a standard method for reducing costs. In such a situation, the attacker can manipulate the training process or data to inject a backdoor into models. Backdoor attacks are a serious threat where malicious behavior is activated when triggers are present, otherwise, the model operates normally. However, there is still no systematic and comprehensive review of LMs from the attacker's capabilities and purposes on different backdoor attack surfaces. Moreover, there is a shortage of analysis and comparison of the diverse emerging backdoor countermeasures. Therefore, this work aims to provide the NLP community with a timely review of backdoor attacks and countermeasures. According to the attackers' capability and affected stage of the LMs, the attack surfaces are formalized into four categorizations: attacking the pre-trained model with fine-tuning (APMF) or parameter-efficient fine-tuning (APMP), attacking the final model with training (AFMT), and attacking Large Language Models (ALLM). Thus, attacks under each categorization are combed. The countermeasures are categorized into two general classes: sample inspection and model inspection. Thus, we review countermeasures and analyze their advantages and disadvantages. Also, we summarize the benchmark datasets and provide comparable evaluations for representative attacks and defenses. Drawing the insights from the review, we point out the crucial areas for future research on the backdoor, especially soliciting more efficient and practical countermeasures.

Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 111 of its 257 references that are in the map. First posted on arXiv 12 Sep 2023.

Builds on

111 of 257 references.

Closest ancestors · 46

Same direction, newest first

  1. 2023A Comprehensive Overview of Backdoor Attacks in Large Language Models within Communication Networks28 Aug
  2. 2023TIJO: Trigger Inversion with Joint Optimization for Defending Multimodal Backdoored Models7 Aug
  3. 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP4 Aug
  4. 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection31 Jul
  5. 2023Backdoor Attacks for In-Context Learning with Language Models27 Jul
  6. 2023Adversarial Clean Label Backdoor Attacks and Defenses on Text Classification Systems31 May
  7. 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May
  8. 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attacks25 May
  9. 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May
  10. 2023UOR: Universal Backdoor Attacks on Pre-trained Language Models16 May
  11. 2023Diffusion Theory as a Scalpel: Detecting and Purifying Poisonous Dimensions in Pre-trained Language Models Caused by Backdoor or Bias8 May
  12. 2023Defending against Insertion-based Textual Backdoor Attacks via Attribution3 May
34 more
  1. 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May
  2. 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Trigger27 Apr
  3. 2023Backdoor Attacks with Input-unique Triggers in NLP25 Mar
  4. 2023NCL: Textual Backdoor Defense Using Noise-augmented Contrastive Learning3 Mar
  5. 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPT21 Feb
  6. 2023Backdoor Attacks to Pre-trained Unified Foundation Models18 Feb
  7. 2023Training-free Lexical Backdoor Attacks on Language Models8 Feb
  8. 2023BDMMT: Backdoor Sample Detection for Language Models through Model Mutation Testing25 Jan
  9. 2023Stealthy Backdoor Attack for Code Models6 Jan
  10. 2022BadPrompt: Backdoor Attacks on Continuous Prompts27 Nov
  11. 2022A Survey on Backdoor Attack and Defense in Natural Language Processing22 Nov
  12. 2022Fine-mixing: Mitigating Backdoors in Fine-tuned Language Models18 Oct
  13. 2022Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks14 Oct
  14. 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks17 Jun
  15. 2022Kallima: A Clean-label Framework for Textual Backdoor Attacks3 Jun
  16. 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection25 May
  17. 2022WeDef: Weakly Supervised Backdoor Defense for Text Classification24 May
  18. 2022Backdoor Attack against NLP models with Robustness-Aware Perturbation defense8 Apr
  19. 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defense11 Feb
  20. 2022Rethink the Evaluation for Attack Strength of Backdoor Attacks in Natural Language Processing9 Jan
  21. 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasures9 Dec
  22. 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov
  23. 2021Textual Backdoor Attacks Can Be More Harmful via Two Simple Tricks15 Oct
  24. 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
  25. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
  26. 2021BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models6 Oct
  27. 2021BFClass: A Backdoor-free Text Classification Framework22 Sep
  28. 2021Putting words into the system's mouth: A targeted attack on neural machine translation using monolingual data poisoning12 Jul
  29. 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution11 Jun
  30. 2021Defending Against Backdoor Attacks in Natural Language Generation3 Jun
  31. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
  32. 2021Hidden Backdoors in Human-Centric Language Models1 May
  33. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar
  34. 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification7 Mar

Other references · 65

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  8. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  10. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  11. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  12. 2016Pointer Sentinel Mixture Modelscited by 3,096
38 more
  1. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  2. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  4. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  5. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  6. 2015Teaching Machines to Read and Comprehendcited by 1,049
  7. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
  8. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  9. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  10. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
  11. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
  12. 2019Defending Against Neural Fake Newscited by 559
  13. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
  14. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
  15. 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 324
  16. 2020Input-Aware Dynamic Backdoor Attackcited by 313
  17. 2018Newsroom: A Dataset of 1.3 Million Summaries with Diverse Extractive Strategiescited by 294
  18. 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 271
  19. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
  20. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
  21. 2019A backdoor attack against LSTM-based text classification systemscited by 227
  22. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 211
  23. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 199
  24. 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
  25. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 183
  26. 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
  27. 2019Universal Litmus Patterns: Revealing Backdoor Attacks in CNNscited by 146
  28. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 123
  29. 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 113
  30. 2020Trojaning Language Models for Fun and Profitcited by 90
  31. 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
  32. 2021Backdoor Pre-trained Models Can Transfer to Allcited by 86
  33. 2020Fighting an Infodemic: COVID-19 Fake News Datasetcited by 83
  34. 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 57
  35. 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 57
  36. 2020Can Adversarial Weight Perturbations Inject Neural Backdoors?cited by 56
  37. 2020Towards Probabilistic Verification of Machine Unlearningcited by 50
  38. 2022Watermarking Pre-trained Language Models with Backdooringcited by 50

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 8; 2025: 17; 2026: 10.

39 papers.

Sort:

By area:

  1. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  2. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 529
  3. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 115
  4. 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 72
  5. 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Modelscited by 67
  6. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
  7. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Modelscited by 36
  8. 2024A Trembling House of Cards? Mapping Adversarial Attacks against Language Agentscited by 22
  9. 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggerscited by 14
  10. 2025Hidden Ghost Hand: Unveiling Backdoor Vulnerabilities in MLLM-Powered Mobile GUI Agentscited by 13
  11. 2024Transferring Backdoors between Large Language Models by Knowledge Distillationcited by 12
  12. 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Groundingcited by 12
27 more
  1. 2025The Singapore Consensus on Global AI Safety Research Prioritiescited by 10
  2. 2025Backdoor Attribution: Elucidating and Controlling Backdoor in Language Modelscited by 10
  3. 2024Gracefully Filtering Backdoor Samples for Generative Large Language Models without Retrainingcited by 9
  4. 2025Watch the Weights: Unsupervised monitoring and control of fine-tuned LLMscited by 7
  5. 2023Beyond Boundaries: A Comprehensive Survey of Transferable Attacks on AI Systemscited by 6
  6. 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMscited by 6
  7. 2024SynGhost: Invisible and Universal Task-agnostic Backdoor Attack via Syntactic Transfercited by 5
  8. 2025Patronus: Identifying and Mitigating Transferable Backdoors in Pre-trained Language Modelscited by 4
  9. 2023TARGET: Template-Transferable Backdoor Attack Against Prompt-based NLP Models via GPT4cited by 3
  10. 2025DecepChain: Inducing Deceptive Reasoning in Large Language Modelscited by 3
  11. 2025Towards Effective, Stealthy, and Persistent Backdoor Attacks Targeting Graph Foundation Modelscited by 3
  12. 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agentscited by 3
  13. 2025Poison Once, Control Anywhere: Clean-Text Visual Backdoors in VLM-based Mobile Agentscited by 1
  14. 2025SLIP: Soft Label Mechanism and Key-Extraction-Guided CoT-based Defense Against Instruction Backdoor in APIscited by 1
  15. 2025Lethe: Purifying Backdoored Large Language Models with Knowledge Dilutioncited by 1
  16. 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Modelscited by 1
  17. 2026Stealthy Backdoor Attacks against LLMs Based on Natural Style Triggerscited by 1
  18. 2025Strategic Sample Selection for Improved Clean-Label Backdoor Attacks in Text Classificationcited by 0
  19. 2025Learning Aligned Stability in Neural ODEs Reconciling Accuracy with Robustnesscited by 0
  20. 2025BackWeak: Backdooring Knowledge Distillation Simply with Weak Triggers and Fine-tuningcited by 0
  21. 2026Plato's Form: Toward Backdoor Defense-as-a-Service for LLMs with Prototype Representationscited by 0
  22. 2026When Emotion Becomes Trigger: Emotion-style dynamic Backdoor Attack Parasitising Large Language Modelscited by 0
  23. 2026GradSentry: Gradient Spectral Entropy for Backdoor Sample Filtering in Large Language Model Fine-Tuningcited by 0
  24. 2026Anti-Backdoor Coreset Selection via Cumulative Entropycited by 0
  25. 2026LoRAScan: Detecting Backdoor Prompts in Low-Rank Adapters for Large Language Models via Down-Projection Activation Spikescited by 0
  26. 2026StepTrigger: Contact-State-Triggered Backdoor Attacks on VLM-Powered Legged Robotscited by 0
  27. 2026Silent Sabotage: Internal State Triggered Backdoor Attacks on LLM-Powered Robotic Systemscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025A Survey on Backdoor Threats in Large Language Models (LLMs): Attacks, Defenses, and Evaluations
  2. 2024Large Language Models are Good Attackers: Efficient and Stealthy Textual Backdoor Attacks
  3. 2024Neutralizing Backdoors through Information Conflicts for Large Language Models
  4. 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models
  5. 2023Composite Backdoor Attacks Against Large Language Models
  6. 2023PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models
  7. 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challenges
  8. 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models