Mitigating Backdoor Threats to Large Language Models: Advancement and Challenges
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
The advancement of Large Language Models (LLMs) has significantly impacted various domains, including Web search, healthcare, and software development. However, as these models scale, they become more vulnerable to cybersecurity risks, particularly backdoor attacks. By exploiting the potent memorization capacity of LLMs, adversaries can easily inject backdoors into LLMs by manipulating a small portion of training data, leading to malicious behaviors in downstream applications whenever the hidden backdoor is activated by the pre-defined triggers. Moreover, emerging learning paradigms like instruction tuning and reinforcement learning from human feedback (RLHF) exacerbate these risks as they rely heavily on crowdsourced data and human feedback, which are not fully controlled. In this paper, we present a comprehensive survey of emerging backdoor threats to LLMs that appear during LLM development or inference, and cover recent advancement in both defense and detection strategies for mitigating backdoor threats to LLMs. We also outline key challenges in addressing these threats, highlighting areas for future research.
Key facts. Cited by 15 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 98 of its 122 references that are in the map. First posted on arXiv 30 Sep 2024.
Builds on
98 of 122 references.
Closest ancestors · 29
Same direction, newest first
- 2024Transferring Backdoors between Large Language Models by Knowledge Distillation19 Aug
- 2024Uncertainty is Fragile: Manipulating Uncertainty in Large Language Models15 Jul
- 2024Future Events as Backdoor Triggers: Investigating Temporal Vulnerabilities in LLMs4 Jul
- 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Models22 May
- 2024Exploring Backdoor Vulnerabilities of Chat Models3 Apr
- 2024BadEdit: Backdooring large language models by model editing20 Mar
- 2024BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models20 Jan
- 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learning11 Jan
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
- 2023Test-time Backdoor Mitigation for Black-Box Large Language Models with Defensive Demonstrations16 Nov
- 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection31 Jul
- 2023Backdoor Attacks for In-Context Learning with Language Models27 Jul
17 more
- 2023On the Exploitability of Instruction Tuning28 Jun
- 2023Multi-target Backdoor Attacks for Code Pre-trained Models14 Jun
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May
- 2023Defending against Insertion-based Textual Backdoor Attacks via Attribution3 May
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Trigger27 Apr
- 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPT21 Feb
- 2023Backdoor Attacks to Pre-trained Unified Foundation Models18 Feb
- 2023Stealthy Backdoor Attack for Code Models6 Jan
- 2022Fine-mixing: Mitigating Backdoors in Fine-tuned Language Models18 Oct
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection25 May
- 2021Textual Backdoor Attacks Can Be More Harmful via Two Simple Tricks15 Oct
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
- 2021Trojan Signatures in DNN Weights7 Sep
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
- 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification7 Mar
Other references · 69
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
38 more
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2023Large Language Models as Optimizerscited by 864
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 759
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 538
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
- 2019FinBERT: Financial Sentiment Analysis with Pre-trained Language Modelscited by 385
- 2023GPT-Driver: Learning to Drive with GPTcited by 347
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
- 2024TrustLLM: Trustworthiness in Large Language Modelscited by 285
- 2023Poisoning Language Models During Instruction Tuningcited by 269
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
- 2019A backdoor attack against LSTM-based text classification systemscited by 227
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 199
- 2019Certified Robustness to Adversarial Word Substitutionscited by 168
- 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 166
- 2017Neural Trojanscited by 153
- 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 143
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 137
- 2022PromptChainer: Chaining Large Language Model Prompts through Visual Programmingcited by 134
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 128
- 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 115
- 2019Robust Anomaly Detection and Backdoor Attack Detection Via Differential Privacycited by 95
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
- 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 86
- 2021Backdoor Attack in the Physical Worldcited by 84
- 2023Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinkingcited by 81
- 2021Black-box Detection of Backdoor Attacks with Limited Information and Datacited by 73
- 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 71
- 2024Instructional Fingerprinting of Large Language Modelscited by 68
- 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 68
- 2021Fine-Tuning Large Neural Language Models for Biomedical Natural Language Processingcited by 57
- 2022A Study of the Attention Abnormality in Trojaned BERTscited by 48
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 6.
15 papers.
Sort:
By area:
- 2025Backdoor Attribution: Elucidating and Controlling Backdoor in Language Modelscited by 10
- 2024SudoLM: Learning Access Control of Parametric Knowledge with Authorization Alignmentcited by 8
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMscited by 6
- 2025Mechanistic Anomaly Detection for "Quirky" Language Modelscited by 5
- 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!cited by 5
- 2025Propaganda AI: An Analysis of Semantic Divergence in Large Language Modelscited by 3
- 2025TeleLoRA: Teleporting Model-Specific Alignment Across LLMscited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2025Key-Conditioned Orthonormal Transform Gating (K-OTG): Multi-Key Access Control with Hidden-State Scrambling for LoRA-Tuned Modelscited by 1
- 2026Toward Reliable, Safe, and Secure LLMs for Scientific Applicationscited by 1
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generatorcited by 0
- 2026DebugLM: Learning Traceable Training Data Provenance for LLMscited by 0
3 more
- 2026Be Kind, Rewrite: Benign Projections via Rewriting Defend Against LLM Data Poisoning Attackscited by 0
- 2026Defending Against Harmful Supervision Hidden in Benign Samplescited by 0
- 2026An Empirical Study of Output-to-Input Loops for Black-Box Backdoor Detection in Fine-Tuned Open-Weight LLMscited by 0
- 2026An Empirical Study of Output-to-Input Loops for Black-Box Backdoor Detection in Fine-Tuned Open-Weight LLMs11 Aug 2026
- 2026Defending Against Harmful Supervision Hidden in Benign Samples29 Jun 2026
- 2026Be Kind, Rewrite: Benign Projections via Rewriting Defend Against LLM Data Poisoning Attacks18 May 2026
- 2026Toward Reliable, Safe, and Secure LLMs for Scientific Applications18 Mar 2026
- 2026DebugLM: Learning Traceable Training Data Provenance for LLMs18 Mar 2026
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator16 Mar 2026
- 2025Key-Conditioned Orthonormal Transform Gating (K-OTG): Multi-Key Access Control with Hidden-State Scrambling for LoRA-Tuned Models19 Dec 2025
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs6 Oct 2025
- 2025Backdoor Attribution: Elucidating and Controlling Backdoor in Language Models26 Sep 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!21 May 2025
- 2025Propaganda AI: An Analysis of Semantic Divergence in Large Language Models15 Apr 2025
3 more
- 2025Backdoor Attribution: Elucidating and Controlling Backdoor in Language Modelscited by 10
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMscited by 6
- 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!cited by 5
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generatorcited by 0
- 2026Be Kind, Rewrite: Benign Projections via Rewriting Defend Against LLM Data Poisoning Attackscited by 0
- 2026Defending Against Harmful Supervision Hidden in Benign Samplescited by 0
- 2026An Empirical Study of Output-to-Input Loops for Black-Box Backdoor Detection in Fine-Tuned Open-Weight LLMscited by 0
- 2026An Empirical Study of Output-to-Input Loops for Black-Box Backdoor Detection in Fine-Tuned Open-Weight LLMs11 Aug 2026
- 2026Defending Against Harmful Supervision Hidden in Benign Samples29 Jun 2026
- 2026Be Kind, Rewrite: Benign Projections via Rewriting Defend Against LLM Data Poisoning Attacks18 May 2026
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator16 Mar 2026
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs6 Oct 2025
- 2025Backdoor Attribution: Elucidating and Controlling Backdoor in Language Models26 Sep 2025
- 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!21 May 2025
- 2025Mechanistic Anomaly Detection for "Quirky" Language Modelscited by 5
- 2025Propaganda AI: An Analysis of Semantic Divergence in Large Language Modelscited by 3
- 2025TeleLoRA: Teleporting Model-Specific Alignment Across LLMscited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2025Key-Conditioned Orthonormal Transform Gating (K-OTG): Multi-Key Access Control with Hidden-State Scrambling for LoRA-Tuned Modelscited by 1
- 2026DebugLM: Learning Traceable Training Data Provenance for LLMscited by 0
- 2026DebugLM: Learning Traceable Training Data Provenance for LLMs18 Mar 2026
- 2025Key-Conditioned Orthonormal Transform Gating (K-OTG): Multi-Key Access Control with Hidden-State Scrambling for LoRA-Tuned Models19 Dec 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Propaganda AI: An Analysis of Semantic Divergence in Large Language Models15 Apr 2025
- 2025Mechanistic Anomaly Detection for "Quirky" Language Models9 Apr 2025
- 2025TeleLoRA: Teleporting Model-Specific Alignment Across LLMs26 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
- 2025A Survey on Backdoor Threats in Large Language Models (LLMs): Attacks, Defenses, and Evaluations
- 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
- 2023A Comprehensive Overview of Backdoor Attacks in Large Language Models within Communication Networks
- 2025From Poisoned to Aware: Fostering Backdoor Self-Awareness in LLMs
- 2024Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models
- 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models
- 2025Data Security in Large Language Models: Risks, Defense, and Directions