A Study of Backdoors in Instruction Fine-tuned Language Models
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Backdoor data poisoning, inserted within instruction examples used to fine-tune a foundation Large Language Model (LLM) for downstream tasks (textite.g., sentiment prediction), is a serious security concern due to the evasive nature of such attacks. The poisoning is usually in the form of a (seemingly innocuous) trigger word or phrase inserted into a very small fraction of the fine-tuning samples from a target class. Such backdoor attacks can: alter response sentiment, violate censorship, over-refuse (invoke censorship for legitimate queries), inject false content, or trigger nonsense responses (hallucinations). In this work we investigate the efficacy of instruction fine-tuning backdoor attacks as attack "hyperparameters" are varied under a variety of scenarios, considering: the trigger location in the poisoned examples; robustness to change in the trigger location, partial triggers, and synonym substitutions at test time; attack transfer from one (fine-tuning) domain to a related test domain; and clean-label vs. dirty-label poisoning. Based on our observations, we propose and evaluate two defenses against these attacks: i) a textitduring-fine-tuning defense based on word-frequency counts that assumes the (possibly poisoned) fine-tuning dataset is available and identifies the backdoor trigger tokens; and ii) a textitpost-fine-tuning defense based on downstream clean fine-tuning of the backdoored LLM with a small defense dataset. Finally, we provide a brief survey of related work on backdoor attacks and defenses.
Key facts. Cited by 11 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 20 of its 28 references that are in the map. First posted on arXiv 12 Jun 2024.
Builds on
20 of 28 references.
Closest ancestors · 5
Same direction, newest first
- 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learning11 Jan
- 2024Imperio: Language-Guided Backdoor Attacks for Arbitrary Model Control2 Jan
- 2023TIJO: Trigger Inversion with Joint Optimization for Defending Multimodal Backdoored Models7 Aug
- 2023On the Exploitability of Instruction Tuning28 Jun
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
Other references · 15
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2013Intriguing properties of neural networkscited by 5,155
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2023Poisoning Language Models During Instruction Tuningcited by 269
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 199
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
Built on by
Citing papers per year: 2025: 5; 2026: 6.
11 papers.
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
- 2026BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoningcited by 27
- 2025TrojanStego: Your Language Model Can Secretly Be A Steganographic Privacy Leaking Agentcited by 9
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMscited by 6
- 2026PoisonForge: Task-Level Targeted Poisoning Benchmark for Instruction-Tuned LLMscited by 3
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2026Fine-Tuning Integrity for Modern Neural Networks: Structured Drift Proofs via Norm, Rank, and Sparsity Certificatescited by 1
- 2025On The Dangers of Poisoned LLMs In Security Automationcited by 0
- 2026Backdooring Masked Diffusion Language Modelscited by 0
- 2026Biologically Informed Deep Neural Networks for Multi-Omic Integration, Pathway Activity Inference and Risk Stratification in Cancercited by 0
- 2026TraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreementcited by 0
- 2026TraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreement24 Sep 2026
- 2026Biologically Informed Deep Neural Networks for Multi-Omic Integration, Pathway Activity Inference and Risk Stratification in Cancer6 Jul 2026
- 2026PoisonForge: Task-Level Targeted Poisoning Benchmark for Instruction-Tuned LLMs22 May 2026
- 2026Backdooring Masked Diffusion Language Models19 May 2026
- 2026BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoning10 Apr 2026
- 2026Fine-Tuning Integrity for Modern Neural Networks: Structured Drift Proofs via Norm, Rank, and Sparsity Certificates6 Apr 2026
- 2025On The Dangers of Poisoned LLMs In Security Automation4 Nov 2025
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs6 Oct 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025TrojanStego: Your Language Model Can Secretly Be A Steganographic Privacy Leaking Agent26 May 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks
- 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
- 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
- 2025The 'Sure' Trap: Multi-Scale Poisoning Analysis of Stealthy Compliance-Only Backdoors in Fine-Tuned Large Language Models
- 2024Learning to Poison Large Language Models for Downstream Manipulation
- 2023Composite Backdoor Attacks Against Large Language Models